ZenphotoCMS Forum
Error at top of page... - 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: Error at top of page... (/thread-2051.html)



Error at top of page... - tomm - 2008-01-09

An error printed at the top of my gallery:

Notice: Constant DEBUG already defined in C:\Apache\htdocs\tmwebworks\zenphoto\zp-core\functions.php on line 32

Do I need to fix this somehow? Thanks.




Error at top of page... - sbillard - 2008-01-10

You probably are using an older version of zp-config.php which has defined DEBUG. It is not really a problem. You can delete line 32 of functions.php or find the define in zp-config.php and delete it.

Or you can change the line in functions.php to if (!defined('DEBUG')) { define('DEBUG', false); }