ZenphotoCMS Forum
Getting these strange errors for the past 2 days. - 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: Getting these strange errors for the past 2 days. (/thread-7921.html)



Getting these strange errors for the past 2 days. - Gods - 2010-12-05

There is this line of these errors above the gallery in every page :

http://gods.co.in/gallery/


Notice: Undefined index: Y in /home6/godscoin/public_html/gallery/zp-core/zp-config.php on line 38

Notice: Undefined index: Y in /home6/godscoin/public_html/gallery/zp-core/zp-config.php on line 39

Notice: Undefined index: Y in /home6/godscoin/public_html/gallery/zp-core/zp-config.php on line 40

Notice: Undefined index: Y in /home6/godscoin/public_html/gallery/zp-core/zp-config.php on line 41

Warning: Cannot modify header information - headers already sent by (output started at /home6/godscoin/public_html/gallery/zp-core/zp-config.php:38) in /home6/godscoin/public_html/gallery/zp-core/functions.php on line 1772

Warning: Cannot modify header information - headers already sent by (output started at /home6/godscoin/public_html/gallery/zp-core/zp-config.php:38) in /home6/godscoin/public_html/gallery/index.php on line 25

Warning: Cannot modify header information - headers already sent by (output started at /home6/godscoin/public_html/gallery/zp-core/zp-config.php:38) in /home6/godscoin/public_html/gallery/zp-core/functions.php on line 1772

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home6/godscoin/public_html/gallery/zp-core/zp-config.php:38) in /home6/godscoin/public_html/gallery/zp-core/admin-functions.php on line 9

Warning: Cannot modify header information - headers already sent by (output started at /home6/godscoin/public_html/gallery/zp-core/zp-config.php:38) in /home6/godscoin/public_html/gallery/index.php on line 112

Warning: Cannot modify header information - headers already sent by (output started at /home6/godscoin/public_html/gallery/zp-core/zp-config.php:38) in /home6/godscoin/public_html/gallery/index.php on line 113


What could be causing this error?

-Thanks




Getting these strange errors for the past 2 days. - kagutsuchi - 2010-12-05

From the first four notices, I would assume that zp-config.php is malformed, causing the headers to be sent before they should be.




Getting these strange errors for the past 2 days. - sbillard - 2010-12-05

Something has corrupted your zp-config.php file. Best to remove it and re-run setup. (Ofcourse, be sure you know your MySQL user, password, etc. before removing the file.)

It would be interesting to see what the file looked like. Again, if you post, remove sensitive data first.