Hello all
just upgraded to 1.4.3 and then I have a error 500 when trying to access the admin panel
My error log contains a lot of .htaccess error :
Invalid command 'IndexIgnore', perhaps misspelled or defined by a module not included in the server configuration, referer:
http://www.annesofilms.com/zenphoto/zp-core/setup.php?autorun=adminwhat should I do ?
thx
regards
Comments
1) I have deleted the .htaccess
2) I have started the upgrade process
3) at a certain time, the upgrade process asks me to recreate the .htaccess file, I say yes
4) I then have the same 500 error
apache log : (it seems to create a tést.jpg file which I had deleted, but is recreated again... the e with an accent seems to be one of the problem)
120.148.226.202 - - [03/Jul/2012:03:14:38 +0200] "GET /zenphoto/zp-core/admin.php HTTP/1.1" 302 496 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20100101 Firefox/14.0"
120.148.226.202 - - [03/Jul/2012:03:14:39 +0200] "GET /zenphoto/zp-core/setup.php?autorun=admin HTTP/1.1" 200 6785 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20100101 Firefox/14.0"
120.148.226.202 - - [03/Jul/2012:03:14:41 +0200] "GET /zenphoto/zp-core/admin.css HTTP/1.1" 200 7836 "http://www.annesofilms.com/zenphoto/zp-core/setup.php?autorun=admin" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20100101 Firefox/14.0"
120.148.226.202 - - [03/Jul/2012:03:14:41 +0200] "GET /zenphoto/zp-core/js/zenphoto.js HTTP/1.1" 200 994 "http://www.annesofilms.com/zenphoto/zp-core/setup.php?autorun=admin" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20100101 Firefox/14.0"
120.148.226.202 - - [03/Jul/2012:03:14:41 +0200] "GET /zenphoto/zp-core/images/zen-logo.png HTTP/1.1" 200 2026 "http://www.annesofilms.com/zenphoto/zp-core/setup.php?autorun=admin" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20100101 Firefox/14.0"
120.148.226.202 - - [03/Jul/2012:03:14:41 +0200] "GET /zenphoto/zp-core/images/warn.png HTTP/1.1" 200 968 "http://www.annesofilms.com/zenphoto/zp-core/setup.php?autorun=admin" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20100101 Firefox/14.0"
120.148.226.202 - - [03/Jul/2012:03:14:41 +0200] "GET /zenphoto/zp-core/setup/setup.css HTTP/1.1" 200 1628 "http://www.annesofilms.com/zenphoto/zp-core/setup.php?autorun=admin" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20100101 Firefox/14.0"
120.148.226.202 - - [03/Jul/2012:03:14:41 +0200] "GET /zenphoto/zp-core/locale/sv_SE/flag.png HTTP/1.1" 200 3312 "http://www.annesofilms.com/zenphoto/zp-core/setup.php?autorun=admin" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20100101 Firefox/14.0"
120.148.226.202 - - [03/Jul/2012:03:14:41 +0200] "GET /zenphoto/zp-core/js/jquery.js HTTP/1.1" 200 33615 "http://www.annesofilms.com/zenphoto/zp-core/setup.php?autorun=admin" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20100101 Firefox/14.0"
120.148.226.202 - - [03/Jul/2012:03:14:42 +0200] "GET /zenphoto/zp-core/locale/es_ES/flag.png HTTP/1.1" 200 3176 "http://www.annesofilms.com/zenphoto/zp-core/setup.php?autorun=admin" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20100101 Firefox/14.0"
120.148.226.202 - - [03/Jul/2012:03:14:42 +0200] "GET /zenphoto/zp-core/locale/ja_JP/flag.png HTTP/1.1" 200 3414 "http://www.annesofilms.com/zenphoto/zp-core/setup.php?autorun=admin" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20100101 Firefox/14.0"
120.148.226.202 - - [03/Jul/2012:03:14:42 +0200] "GET /zenphoto/zp-core/locale/pl_PL/flag.png HTTP/1.1" 200 3160 "http://www.annesofilms.com/zenphoto/zp-core/setup.php?autorun=admin" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20100101 Firefox/14.0"
120.148.226.202 - - [03/Jul/2012:03:14:42 +0200] "GET /zenphoto/zp-core/locale/sk_SK/flag.png HTTP/1.1" 200 3649 "http://www.annesofilms.com/zenphoto/zp-core/setup.php?autorun=admin" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20100101 Firefox/14.0"
120.148.226.202 - - [03/Jul/2012:03:14:42 +0200] "GET /zenphoto/zp-core/locale/it_IT/flag.png HTTP/1.1" 200 3191 "http://www.annesofilms.com/zenphoto/zp-core/setup.php?autorun=admin" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20100101 Firefox/14.0"
120.148.226.202 - - [03/Jul/2012:03:14:42 +0200] "GET /zenphoto/zp-core/locale/he_IL/flag.png HTTP/1.1" 200 880 "http://www.annesofilms.com/zenphoto/zp-core/setup.php?autorun=admin" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20100101 Firefox/14.0"
120.148.226.202 - - [03/Jul/2012:03:14:42 +0200] "GET /zenphoto/zp-core/locale/de_DE/flag.png HTTP/1.1" 200 3145 "http://www.annesofilms.com/zenphoto/zp-core/setup.php?autorun=admin" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20100101 Firefox/14.0"
120.148.226.202 - - [03/Jul/2012:03:14:42 +0200] "GET /zenphoto/zp-core/locale/gl_ES/flag.png HTTP/1.1" 200 3690 "http://www.annesofilms.com/zenphoto/zp-core/setup.php?autorun=admin" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20100101 Firefox/14.0"
120.148.226.202 - - [03/Jul/2012:03:14:42 +0200] "GET /zenphoto/zp-core/locale/fr_FR/flag.png HTTP/1.1" 200 3160 "http://www.annesofilms.com/zenphoto/zp-core/setup.php?autorun=admin" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20100101 Firefox/14.0"
120.148.226.202 - - [03/Jul/2012:03:14:42 +0200] "GET /zenphoto/zp-core/locale/en_US/flag.png HTTP/1.1" 200 3510 "http://www.annesofilms.com/zenphoto/zp-core/setup.php?autorun=admin" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20100101 Firefox/14.0"
120.148.226.202 - - [03/Jul/2012:03:14:42 +0200] "GET /zenphoto/zp-core/locale/nl_NL/flag.png HTTP/1.1" 200 3172 "http://www.annesofilms.com/zenphoto/zp-core/setup.php?autorun=admin" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20100101 Firefox/14.0"
120.148.226.202 - - [03/Jul/2012:03:14:42 +0200] "GET /zenphoto/zp-core/locale/zh_TW/flag.png HTTP/1.1" 200 3359 "http://www.annesofilms.com/zenphoto/zp-core/setup.php?autorun=admin" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20100101 Firefox/14.0"
120.148.226.202 - - [03/Jul/2012:03:14:42 +0200] "GET /zenphoto/zp-core/locale/zh_CN/flag.png HTTP/1.1" 200 3364 "http://www.annesofilms.com/zenphoto/zp-core/setup.php?autorun=admin" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20100101 Firefox/14.0"
120.148.226.202 - - [03/Jul/2012:03:14:42 +0200] "GET /zenphoto/zp-data/t%C3%A9st.jpg HTTP/1.1" 500 566 "http://www.annesofilms.com/zenphoto/zp-core/setup.php?autorun=admin" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20100101 Firefox/14.0"
120.148.226.202 - - [03/Jul/2012:03:14:42 +0200] "POST /zenphoto/zp-core/setup/setup_permissions_changer.php HTTP/1.1" 200 276 "http://www.annesofilms.com/zenphoto/zp-core/setup.php?autorun=admin" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20100101 Firefox/14.0"
120.148.226.202 - - [03/Jul/2012:03:14:42 +0200] "POST /zenphoto/zp-core/setup/setup_permissions_changer.php HTTP/1.1" 200 276 "http://www.annesofilms.com/zenphoto/zp-core/setup.php?autorun=admin" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20100101 Firefox/14.0"
120.148.226.202 - - [03/Jul/2012:03:14:42 +0200] "POST /zenphoto/zp-core/setup/setup_permissions_changer.php HTTP/1.1" 200 276 "http://www.annesofilms.com/zenphoto/zp-core/setup.php?autorun=admin" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20100101 Firefox/14.0"
120.148.226.202 - - [03/Jul/2012:03:14:42 +0200] "POST /zenphoto/zp-core/setup/setup_permissions_changer.php HTTP/1.1" 200 276 "http://www.annesofilms.com/zenphoto/zp-core/setup.php?autorun=admin" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20100101 Firefox/14.0"
120.148.226.202 - - [03/Jul/2012:03:14:56 +0200] "GET /zenphoto/zp-core/setup.php?delete_extra HTTP/1.1" 200 5430 "http://www.annesofilms.com/zenphoto/zp-core/setup.php?autorun=admin" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20100101 Firefox/14.0"
120.148.226.202 - - [03/Jul/2012:03:14:58 +0200] "GET /zenphoto/zp-data/t%C3%A9st.jpg HTTP/1.1" 500 566 "http://www.annesofilms.com/zenphoto/zp-core/setup.php?delete_extra" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20100101 Firefox/14.0"
120.148.226.202 - - [03/Jul/2012:03:15:12 +0200] "GET /zenphoto/zp-core/setup.php?copyhtaccess HTTP/1.1" 200 5133 "http://www.annesofilms.com/zenphoto/zp-core/setup.php?delete_extra" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20100101 Firefox/14.0"
120.148.226.202 - - [03/Jul/2012:03:15:14 +0200] "GET /zenphoto/zp-data/t%C3%A9st.jpg HTTP/1.1" 500 566 "http://www.annesofilms.com/zenphoto/zp-core/setup.php?copyhtaccess" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20100101 Firefox/14.0"
120.148.226.202 - - [03/Jul/2012:03:15:18 +0200] "GET /zenphoto/zp-core/setup.php?delete_extra HTTP/1.1" 500 566 "http://www.annesofilms.com/zenphoto/zp-core/setup.php?copyhtaccess" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20100101 Firefox/14.0"
You can also try running setup directly: `http://www.annesofilms.com/zenphoto/zp-core/setup.php` to avoid any issues that the auto run might be masking.
However, all my php.ini settings are at 360 seconds for timeouts...
Edit: Repeatedly, though it changes if I start the setup script over again, but still ends up pointing at setup.php just different steps of it.
DoubleEdit:
Apparently the control panel I use (VirtualMin) had a setting in the control panel that limited execution time not taking into account the php.ini settings.
The error log only displays a lot of elements like those :
zenphoto/zp-data/.htaccess: Invalid command 'IndexIgnore', perhaps misspelled or defined by a module not included in the server configuration, referer: http://www.annesofilms.com/zenphoto/zp-core/setup.php?autorun=admin
So I have deleted the .htaccess file as acrylian suggested, and rerun the process, but the bug happened again...
A quick WEB search did find this comment:
"You need to check whether your httpd.conf file allows overrides of directory permissions. Look for lines containing 'AllowOverride All' or 'AllowOverride None'. Mine is setup with All on the html directories, 'None' on the icon directory and 'AuthConfig' on the cgi-bins. Which I think is a standard sort of setup." perhaps that will help.
Deleting the file will just allow setup to re-create it.
I commented this line, and it works now.
Now, IndexIgnore requires the mod_autoindex to be on, which is not a usually widely used extention. It was off, then producing this error.
So I suggest you make a test on this mode when generating the .htaccess file, in order to prevent an unnecessary 500 error..
Thanks
Serge
Editing my vhost config, `AllowOverride FileInfo` to `AllowOverride All` solved my problem.
Thanks.