The error_pages_1.2 file misses a .$table_prefix. at the very beginning. Because of this error.php shows the "can't open flags table".
Once I corrected this error.php does work - of some sorts.
Even with my .htaccess file being the same as the one mentioned above in thes thread, whenever I enter a nonexistant url I still keep getting the apache server error messages. Why?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The newest version of the error.php addin is for 0.82 and up as it looks for the flags table. If are not running the latest version, you should download the previous version of error.php which should work fine for you.
Ed
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
error.php add-on won't work
I got this error meesage:
Can't open flags table
please help....
for more info...my .htaccess contain like this:
php_flag display_errors Off
php_flag register_globals On
php_flag track_vars On
ErrorDocument 401 /error.php?error=401
ErrorDocument 403 /error.php?error=403
ErrorDocument 404 /error.php?error=404
ErrorDocument 500 /error.php?error=500
The error_pages_1.2 file misses a .$table_prefix. at the very beginning. Because of this error.php shows the "can't open flags table".
Once I corrected this error.php does work - of some sorts.
Even with my .htaccess file being the same as the one mentioned above in thes thread, whenever I enter a nonexistant url I still keep getting the apache server error messages. Why?
Which version of error.php are you using?
Michael
The newest version of the error.php addin is for 0.82 and up as it looks for the flags table. If are not running the latest version, you should download the previous version of error.php which should work fine for you.
Ed
Also, I uploaded the package again, it was missing the sample .htaccess file. If you've downloaded version 1.2, redownload it.
Ed
Uii, figured it out myself ;-)
For error.php to work properly set in Apache httpd server config or in <virtual host> container the AllowOverride directive from "None" to:
AllowOverride FileInfo Options
Then it works. Hopefully no security feature is compromised by this setting.