Member
Member
gwmbox   2011-01-20, 08:15
#1

Hi guys

I have been reading many posts here on the header error issues but everything I have tried (so far) has not resulted in a fix.

What I was testing is the 404 error messages on the site by just typing anything in to get the 404 result. The first just shows the error message of the not existent page I was just trying out to get the 404 message, but I do not want that message showing either.

Using: version 1.4 [6528]
'mysite' and 'mytheme' have been substituted where necessary to secure the real values.

Notice: Zenphoto processed a 404 error on /ijhgjg. See the debug log for details. in /home/mysite/public_html/zp-core/functions.php on line 2097

Warning: Cannot modify header information - headers already sent by (output started at /home/mysite/public_html/zp-core/functions.php:2097) in /home/mysite/public_html/index.php on line 179

Warning: Cannot modify header information - headers already sent by (output started at /home/mysite/public_html/zp-core/functions.php:2097) in /home/mysite/public_html/index.php on line 180

Warning: Cannot modify header information - headers already sent by (output started at /home/mysite/public_html/zp-core/functions.php:2097) in /home/mysite/public_html/themes/mytheme/404.php on line 3

Thanks

GW

Administrator
Administrator
acrylian   2011-01-20, 11:05
#2

You should disable error display/reporting on your site. Normally a theme should redirect to the 404 page of the theme or the general one ZP provides.

If you output error messages, of course you get also the header error.

Member
Member
sbillard   2011-01-20, 21:34
#3

These errors are generated only for "test" zenphoto builds. I suggest you use the nightly builds rather than the SVN repository.

Member
Member
n20capri   2011-01-21, 15:17
#4

I'm getting the same issue with the latest version (1.4) - not a test build. I downloaded it just 2 days ago. I'd rather just figure out the problem but how do you disable reporting?

Member
Member
sbillard   2011-01-21, 20:16
#5

Locate the golbal-definitions.php script and change the define for DEBUG_404 to false. That is the value it should have for a released version of Zenphoto. Have to figure out why it does not have same.

Member
Member
gwmbox   2011-01-23, 07:22
#6

Oh and sBillard, the errors were being generated from nightly builds not SVN, I never use the SVN ever, only the nightly builds.

GW

Member
Member
n20capri   2011-01-24, 19:58
#7

Awesome thanks!

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.