ZenphotoCMS Forum
Cannot modify header information - 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: Cannot modify header information (/thread-9557.html)



Cannot modify header information - nicolafw - 2012-02-01

Hi,

I wanted to upgrade from 1.4.1.6 to 1.4.2. Everythiing went fine until I followed the recommendation to change from strict to very strict file access. I cannot access the site any more getting this error message:

Parse error: syntax error, unexpected '/' in /home/e/s/estherschmid.ch/htdocs/portfolio/zp-core/functions-basic.php(48) : eval()'d code on line 64

Warning: Cannot modify header information - headers already sent by (output started at /home/e/s/estherschmid.ch/htdocs/portfolio/zp-core/functions-basic.php(48) : eval()'d code:64) in /home/e/s/estherschmid.ch/htdocs/portfolio/zp-core/functions-basic.php on line 1538

http://www.estherschmid.ch/portfolio/

I tried to change the rights back, but it did not help.

Please help!




Cannot modify header information - acrylian - 2012-02-01

try a standard theme if you haven't already. If the error does not appear you need you work on your custom theme.

Or try to re-upload the file in question as sometime for weird reasons files can get broken via FTP.




Cannot modify header information - nicolafw - 2012-02-01

I cannot change the theme, because I cannot login. Or can I change it somewhere else?

I have already uploaded files twice.

The problem occured after changing the file-permissions. I've changed all file permissions to 775, but it did not help.




Cannot modify header information - nicolafw - 2012-02-01

I have even deleted my cusrtom theme, but I still get the same error.




Cannot modify header information - nicolafw - 2012-02-01

I used my backup-files and did the setup again. This time I ignored the recommendation for very strict access and everything is fine.

Thanks for your help acrylian!




Cannot modify header information - acrylian - 2012-02-01

Ok, the strictest permissions do not work on every server (incl. mine) but "strict" should really be the lowest to use. Maybe talk to your host about that.