Is there anyone out there who can help me with the problems I am having. See above.
If not what package do you recommend to replace 1.4.1 as 1.5 doesn't appear to work. Do I just wait for 1.5.1?
To quote from the changelog:
To quote from the changelog:
Do you realize config.php has about 1000000000000 options? I rather get an answer whether everything that isn't in the GUI is taken from config.php.
I still like to know whether non GUI items are taken from config.php.
I still like to know whether non GUI items are taken from config.php.
Before you go any further, please open siteconfig.php and double check your paths! Bad paths, or typos in the paths, will cause all sorts of errors in Geeklog.
When you get an error message, please read it carefully. Even if you're not familiar with PHP, it will give you a hint about what is wrong. Pay special attention at the paths contained in the error message. As mentioned before, wrong paths are the most common cause for problems.
If you get more than one error message, always start with the very first error - the others will often go away automatically once you've fixed the first one.
Common errors (Line numbers will vary):Error: Parse error: parse error in /path/to/your/siteconfig.php
on line 20
Answer: A parse error usually hints at a typo you've made. Check the file at the given line (the actual error may be in the line preceding the one mentioned in the error message).
Common problems are:
Joe's
Site
as Joe\'s Site
, escaping the extra quote)Error: Warning: main(some/path/to/system/databases/mysql.class.php):
failed to open stream: No such file or directory in
/path/to/your/system/lib-database.php on line 100
Fatal error: main(): Failed opening required
'some/path/to/system/databases/mysql.class.php' (include_path='.:/some/other/path/')
in /some/path/to/system/lib-database.php on line 100
Answer: The path that you've entered for the $_CONF['path']
variable in siteconfig.php is not correct. Make sure you typed it correctly.
Also make sure it uses an absolute path, i.e. one that starts at
the root of your file system (and that it starts with a / under Unix/Linux
or a drive letter under Windows).
Error: 1050: Table 'gl_access' already exists
Answer: You must have run the install script once before (possibly unsuccessfully). To be on the safe side, drop the database and create a new, empty database and try running the install script again.
Error: Parse error: parse error in ../../lib-common.php
on line 2231
Fatal error: Cannot instantiate non-existent class: template in
../../lib-common.php on line 335
Or:
Parse error: parse error in /path/to/geeklog/public_html/lib-common.php
on line 3036
Fatal error: Call to undefined function: plg_showcenterblock() in
/path/to/geeklog/public_html/index.php on line 67
Or:
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in
/path/to/geeklog/public_html/lib-common.php on line 3815
Fatal error: Cannot instantiate non-existent class: template in
/path/to/geeklog/public_html/lib-common.php on line 709
Answer: All of the above cases (and similar "parse
error" messages you may get for lib-common.php, typically with a line
number in the 3000 or 4000 range) indicate a corrupted lib-common.php
file.
As noted at the top of this document this is usually caused by one of the following:
Error: Warning: mysql_connect(): Access denied for
user: 'username@localhost' (Using password: YES) in /path/to/geeklog/system/databases/mysql.class.php
on line 104
Cannnot connect to DB server
Answer: First of all, make sure the database settings in
siteconfig.php
are correct, specifically the name and password
of your MySQL user, the name of your database, and the name of your MySQL
server.
If you're running your own server, you may need to give your MySQL user proper permissions. Log in to MySQL as the MySQL root user and issue these commands:
GRANT ALL PRIVILEGES ON [database_name] TO [user@host]
IDENTIFIED BY '[password]';
FLUSH PRIVILEGES;
Replace the [lower-case] strings with the actual values.
If you want (or need) to be more restrictive with database permissions: You will need to at least grant the ALTER, CREATE, DELETE, INSERT, SELECT, and UPDATE permissions to your database user. ALTER and CREATE permissions are only needed for installing and upgrading Geeklog, as well as for installing plugins and other add-ons.
Error: Warning: fopen("/some/path/logs/error.log",
"a" - Permission denied in /some/path/public_html/lib-common.php
on line 1440
Answer: Make sure that the logs/ directory AND the files
in it have permissions of at least 775. You may need to make the permissions
777 if 775 isn't working for you. For good measure, make sure the public_html/backend
directory and the geeklog.rss file have the same 775 or 777 permissions.
Tip: Use the script that is located at http://yourgeeklogsite/admin/install/check.php
to test if all the permissions have been set up correctly.
Whenever someone tries to log in or out, the following error is produced:
Cannot add header information - headers already sent by (output
started at /usr###/home/<userid>/public_html/geeklog/siteconfig.php:589)
in /usr###/home/<userid>/public_html/geeklog/system/lib-sessions.php
on line 133
Answer: Make sure that your siteconfig.php file does not
contain any "whitespace" after the closing ?>
at
the end of the file. I.e. there should not be anything (not even blanks or
empty lines) after those two characters.
If you still have problems, please do one or more of the following:
Go to http://www.geeklog.net and check out the Support section. The Support section includes a FAQ and a search system (try searching for the error message, if you get one).
Visit the mailing list archives at http://lists.geeklog.net/pipermail/geeklog-users/. You can also subscribe to the mailing list and post your question to the Geeklog community.
Try the chat room at irc.freenode.net, channel #geeklog
.
Please have all your path information in siteconfig.php and lib-common.php
readily available.
Try entering the text of the error message on Google. Chances are you will find someone else who had the same problem and fixed it. And sometimes searching for a specific error will cause Google to bring up broken pages that have the same error.
Let me rephrase - when I click the "upgrade" button, are all non GUI items taken from config.php, while all GUI items are taken from the defaults?
Although the GUI values are defaults, I can can confirm non GUI items ARE taken from config.php (for example, notification settings), so what gives?