Some errors and problems are fixable just by doing a few simple things. The most common errors and how to fix them are listed below:
Bad HTTP_REFERER. If you have moved these forums from one location to another or switched domains, you need to update the Base URL manually in the database (look for o_base_url in the config table) and then clear the cache by deleting all .php files in the /cache directory.
This happens when the URL of your forum changes to the URL in the database. To fix this:
UPDATE config SET conf_value = '<url to your forum>' WHERE conf_name = 'o_base_url';/cache directory.Error: Unable to write configuration cache file to cache directory. Please make sure PHP has write access to the directory 'cache'.
The forum needs write access to create files on your server. On FTP clients you can right click and set the permissions for the Cache folder. They need to be set to 777 so all the boxes (read, write, execute) are ticked.
1.2.x:
To turn off maintenance mode, copy/upload the script turn_off_maintenance_mode.php from the directory extras/ into the forum root directory and run it through your browser. A message will appear when the operation has completed. Don't forget to remove the script from the forum root directory when finished.
1.3:
Add the following line to config.php:
define('FORUM_TURN_OFF_MAINT', 1);This will allow you to login and disable maintenance in the admin panel. You should remember to remove or comment out FORUM_TURN_OFF_MAINT again afterwards.
If you change the Style or language settings in the admin panel, this does not effect your (and all the current registered members) language or style settings. Members are set with the forum default style/language setting when they register and changing the forum default will not change this. To change this you must go into the profile and change the style or language settings there.
Variations:
Warning: require(./include/dblayer/mysql.php) [function.require]: failed to open stream: No such file or directory in /www/******/htdocs/install.php on line 335
The file does not exist in that location.