ZenphotoCMS Forum
PHP Errors - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: PHP Errors (/thread-1228.html)



PHP Errors - slidenby - 2007-03-01

Hi all - I get the following errors upon trying to descend in to albums. The web error is 500, the server logs reveal these errors:

[Thu Mar 1 15:52:09 2007] [error] PHP Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/SITE/zen/functions-db.php on line 53
[Thu Mar 1 15:52:09 2007] [error] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/SITE/zen/functions-db.php:31) in /home/SITE/index.php on line 9

Administration etc all works fine. The albums show up, but with links rather than thumbnails, and clicking the links result in the 500 error. I assume this is a PHP configuration issue on my part - just not sure what. Currently using PHP 5.2 with ZP 1.0.8




PHP Errors - slidenby - 2007-03-01

Oh - and my point was this is my first install using PHP 5.2 wondering if anyone has had experience or issues running on 5.2




PHP Errors - slidenby - 2007-03-01

It ended up being an .htaccess issue - I had thought due to the way my site was setup in a quasi-virtual sub-domain that I needed to include that folder in the mod rewrite path... but I didn't.