Is anyone else having a problem with /zp-core/admin-edit.php throwing 500 Errors?
I contacted my host and they offered the following:
What is causing the issue is "Premature end of script headers: admin-edit.php" the only thing I can recommend is trying to check the zenphoto support forums
Any help is most appreciated.
Comments
http://www.zenphoto.org/news/general-contributor-guidelines#reporting-bugs
Here is the page in question: http://www.many-roads.com/galleries/zp-core/admin-edit.php
I am using the current release of ZenPhoto
The error occurs in both Chrome and Firefox (current releases). It occurs in my current theme and all default ZenPhoto themes.
I am running Manjaro Linux 0.8.8 version 3.12 of the Linux kernel and v 2.2 of Cinnamon.
The following is from the site error log:
[11-Jan-2014 14:19:57] PHP Warning: PHP Startup: Unable to load dynamic library '/opt/php53/lib/php/extensions/no-debug-non-zts-20090626/pdo_mysql.so' - libmysqlclient.so.16: cannot open shared object file: No such file or directory in Unknown on line 0
[11-Jan-2014 13:19:58] PHP Parse error: syntax error, unexpected '<' in /home1/rabideau/public_html/galleries/themes/ManyRoads_Zenpage/footer.php on line 5
[11-Jan-2014 14:20:11] PHP Warning: PHP Startup: PDO: Unable to initialize module
Module compiled with module API=20090626, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
[11-Jan-2014 14:20:11] PHP Warning: PHP Startup: SQLite: Unable to initialize module
Module compiled with module API=20090626, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
[11-Jan-2014 14:20:11] PHP Warning: PHP Startup: Unable to load dynamic library '/opt/php53/lib/php/extensions/no-debug-non-zts-20090626/pdo_mysql.so' - libmysqlclient.so.16: cannot open shared object file: No such file or directory in Unknown on line 0
[11-Jan-2014 13:20:11] PHP Parse error: syntax error, unexpected '<' in /home1/rabideau/public_html/galleries/themes/ManyRoads_Zenpage/footer.php on line 5
[11-Jan-2014 14:20:29] PHP Warning: PHP Startup: PDO: Unable to initialize module
Module compiled with module API=20090626, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
[11-Jan-2014 14:20:29] PHP Warning: PHP Startup: SQLite: Unable to initialize module
Module compiled with module API=20090626, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
[11-Jan-2014 14:20:29] PHP Warning: PHP Startup: Unable to load dynamic library '/opt/php53/lib/php/extensions/no-debug-non-zts-20090626/pdo_mysql.so' - libmysqlclient.so.16: cannot open shared object file: No such file or directory in Unknown on line 0
[11-Jan-2014 13:20:31] PHP Parse error: syntax error, unexpected '<' in /home1/rabideau/public_html/galleries/themes/ManyRoads_Zenpage/footer.php on line 5
Server 500 errors are usually caused by some kind of security
issue. It could be file/folder permissions that the site does not like or it could be that you are trying to access the back end via SSL and your site does not support that.
Maybe there is some other more useful error in the server error logs. But it may be difficult to find until your hosting service fixes the problems causing the above errors.
BTW, there is one error that seems to be a problem with your theme customization: This would have nothing to do with accessing the back end, though.
////////////////////////////////////////////////////////////////////////////////
// Database Information
////////////////////////////////////////////////////////////////////////////////
$conf['db_software'] = "MySQLi";
/** for historical reasons these fields reference mysql even though the database **
** might be a different software **/
$conf['mysql_user']
As for folder permissions... which folder(s) are likely the problem? All of my top level folders are 755 except for the data folder which is 700.
After my php.ini fixes here are my remaining errors:
[11-Jan-2014 19:13:59] PHP Warning: PHP Startup: Unable to load dynamic library '/opt/php53/lib/php/extensions/no-debug-non-zts-20090626/pdo_mysql.so' - libmysqlclient.so.16: cannot open shared object file: No such file or directory in Unknown on line 0
[11-Jan-2014 19:14:02] PHP Warning: PHP Startup: Unable to load dynamic library '/opt/php53/lib/php/extensions/no-debug-non-zts-20090626/pdo_mysql.so' - libmysqlclient.so.16: cannot open shared object file: No such file or directory in Unknown on line 0
[11-Jan-2014 19:14:05] PHP Warning: PHP Startup: Unable to load dynamic library '/opt/php53/lib/php/extensions/no-debug-non-zts-20090626/pdo_mysql.so' - libmysqlclient.so.16: cannot open shared object file: No such file or directory in Unknown on line 0
[11-Jan-2014 19:14:12] PHP Warning: PHP Startup: Unable to load dynamic library '/opt/php53/lib/php/extensions/no-debug-non-zts-20090626/pdo_mysql.so' - libmysqlclient.so.16: cannot open shared object file: No such file or directory in Unknown on line 0
WARNING: Cannot modify header information - headers already sent by (output started at /home1/rabideau/public_html/galleries/zp-core/zp-extensions/static_html_cache.php:210) in /home1/rabideau/public_html/galleries/zp-core/404.php on line 24
header called from include (404.php [24])
from include (index.php [127])
from index.php [21]
{31441:Sat, 11 Jan 2014 21:46:15 GMT}
WARNING: Cannot modify header information - headers already sent by (output started at /home1/rabideau/public_html/galleries/zp-core/zp-extensions/static_html_cache.php:210) in /home1/rabideau/public_html/galleries/zp-core/404.php on line 25
header called from include (404.php [25])
from include (index.php [127])
from index.php [21]
{31441:Sat, 11 Jan 2014 21:46:15 GMT}
WARNING: Cannot modify header information - headers already sent by (output started at /home1/rabideau/public_html/galleries/zp-core/zp-extensions/static_html_cache.php:210) in /home1/rabideau/public_html/galleries/zp-core/404.php on line 26
header called from include (404.php [26])
from include (index.php [127])
from index.php [21]
By editting php.ini to contain the following:
;;extension=pdo.so
;;extension=sqlite.so
;;extension=pdo_sqlite.so
;;extension=pdo_mysql.so
;;extension=uploadprogress.so
My error log is now empty but the 500 error on admin-edit.php continues. Arrghh....
You say you are running the "latest" version of Zenphoto, but be sure that you are. You have disabled the version reporting in your theme, so we cannot check for you.
So, download and install the support build from GitHub to be sure that we know what you are running.
Zenphoto version 1.4.5.7 [59c22b2fba] (Official build)
Current locale setting: C
Server path: /home1/rabideau/public_html/galleries
WEB path: /galleries
Current gallery theme: Copy of zenpage
PHP version: 5.3.27
Graphics support: PHP GD library bundled (2.1.0 compatible)
supporting: gif, jpg, jpeg, png, bmp
PHP memory limit: 128M (Note: Your server might allocate less!)
MySQLi version: 5.5.33
Database name: rabideau_znph1
Table prefix: zenphoto_
Spam filter: No spam filter configured
CAPTCHA generator: zpCaptcha
Site status: The site is opened
The 500 Error went away (with upgrade to 5.3 of php) and now I have obe remaining problem, changes to mt Gallery pages (text via editting) do not take.
Stop by and visit if you like history & genealogy & maps.
http://many-roads.com/galleries (is the zenphoto area).
Install the latest as I requested!
I must say your behavior is most discourteous and unprofessional. I was simply inaccurate and mistaken. My problems are educable, I hope yours are as well.
Perhaps you should read the forum rules and follow some of the general suggestions. We ask these things to aid us in helping. When someone disregards the request we waste our time, for instance with people running older versions.
You may think this insubstantial, but it is MY time you are wasting. If you want help, try not to waste the time of those who might help you. We think it not unreasonable that people asking for help be running on the latest version since we do not support older ones. Besides maybe the problem you have has already been fixed. Why waste our time then with when you choose not to explore the obvious.
If you think my behavior unprofessional and discourteous that is your prerogative. But note that you did ask for my help. I did not ask you to run an out of date version.