Member
Member
flu   2011-02-17, 17:58
#1
Hi,
I'm using ZP 1.4.0.2 [6736] (Official Build) and I've noticed that when I enable the static_html_cache extension a warning appears on my 404 page even if I exclude 404.php in the option panel :
`
Warning: Cannot modify header information - headers already sent by (output started at /***/***/***/zp-core/zp-extensions/static_html_cache.php:229) in /***/***/***/index.php on line 179

Warning: Cannot modify header information - headers already sent by (output started at /***/***/***/zp-core/zp-extensions/static_html_cache.php:229) in /***/***/***/index.php on line 180
`
There's no more warning when I disable the extension.

Do you have an idea about it ?

Cheers !
Member
Member
sbillard   2011-02-17, 20:21
#2
Looks like it is handling a 404 error. You should add the 404.php page to the exclude list.
Member
Member
flu   2011-02-17, 21:06
#3
Thank you for your answer, Stephen,
but I added already the page to the exclude list.
Here it is :
search.php/,contact.php/,register.php/,index.php/,404.php/

Strangely, it doesn't seem to work and I still get the same warnings.

Inspiration ?
Administrator
Administrator
acrylian   2011-02-17, 21:11
#4
Try removing the slash, that is only need to exclude pages or images by name. The ones you liste never have that.
Member
Member
flu   2011-02-17, 21:20
#5
Hi Acrylian,
Already done : same result.
Member
Member
flu   2011-02-17, 21:21
#6
Can't you reproduce it ?
Member
Member
sbillard   2011-02-17, 22:47
#7
I have an idea of what is wrong. I have made a change that will show up in tonights nightly build. Please give it a try.
Member
Member
flu   2011-02-18, 17:10
#8
Hi guys,
this is fixed with zenphoto version 1.4.0.2 [6746].

Good work, thank you !

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