warning on 404 page with static_html_cache on

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 !

Comments

  • Looks like it is handling a 404 error. You should add the 404.php page to the exclude list.
  • 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 ?
  • acrylian Administrator, Developer
    Try removing the slash, that is only need to exclude pages or images by name. The ones you liste never have that.
  • Hi Acrylian,
    Already done : same result.
  • Can't you reproduce it ?
  • 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.
  • Hi guys,
    this is fixed with zenphoto version 1.4.0.2 [6746].

    Good work, thank you !

    Cheers !
Sign In or Register to comment.