ZenphotoCMS Forum
Multilingual site - Header information - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html)
+--- Thread: Multilingual site - Header information (/thread-11236.html)



Multilingual site - Header information - Soleil - 03-08-2013

Hello,

I updated to ZP 1.4.5 and use ZenPage. When using the links to different languages on my navigation, I gett the following information.

Cannot modify header information - headers already sent by (output started at /homez.65/XXX/www/albums/zp-core/zp-extensions/tiny_mce/config/zenphoto-default-with-customdatafield.js.php:47) in /homez.65/XXX/www/albums/zp-core/functions-common.php on line 489

Could you tell me how to get rid of the message? I could not figure it out. Thanks a lot in advance.




Multilingual site - Header information - acrylian - 03-08-2013

There must be more errors in the log. This error is the result of other errors, so we need to know those.




Multilingual site - Header information - Soleil - 04-08-2013

Thank you acrylian for replying so quickly.

Apart of this message (dated 18.07 !!!), I don't find anything else.{

"2306:Thu, 18 Jul 2013 18:03:04 GMT} Zenphoto v1.4.6-DEV[5cffbe455efd7b3c2579eaaaf8e6fac91dd878c7]
NOTICE: Use of undefined constant PAGES - assumed 'PAGES' in /homez.65/patrician/www/albums/zp-core/rewrite.php(104) : eval()'d code on line 1
eval called from rewriteHandler (rewrite.php [104])
from require_once (rewrite.php [112])
from include (index.php [22])
from index.php [15]
{2306:Thu, 18 Jul 2013 18:03:04 GMT}
NOTICE: Use of undefined constant PAGE - assumed 'PAGE' in /homez.65/patrician/www/albums/zp-core/rewrite.php(104) : eval()'d code on line 1
eval called from rewriteHandler (rewrite.php [104])
from require_once (rewrite.php [112])
from include (index.php [22])
from index.php [15]
{2306:Thu, 18 Jul 2013 18:03:04 GMT}
NOTICE: Use of undefined constant NEWS - assumed 'NEWS' in /homez.65/patrician/www/albums/zp-core/rewrite.php(104) : eval()'d code on line 1
eval called from rewriteHandler (rewrite.php [104])
from require_once (rewrite.php [112])
from include (index.php [22])
from index.php [15]..."

My (self-made) navigation bar contains the following code:

`
[*]"> 

      [*]);][i]Français[/i]
        [*]);][i]English[/i]
        [*]);][i]Deutsch[/i]

`




Multilingual site - Header information - acrylian - 04-08-2013

That constant issue should not appear and I never saw it recently. I wouldn't recommend to use the 1.4.6 dev build although it is still close to the current 1.4.5 build. That is work in progress of the release due in half a year! Best try the 1.4.5 support build instead.

(Btw, in English it is "Turkey" :-))




Multilingual site - Header information - Soleil - 05-08-2013

Hello acrylian,

I changed in the meantime for the version 1.4.5.1, but I get the same warning:

Warning: Cannot modify header information - headers already sent by (output started at /homez.65/XXX/www/albums/zp-core/zp-extensions/tiny_mce/config/zenphoto-default-with-customdatafield.js.php:43) in /homez.65/patrician/www/albums/zp-core/functions-common.php on line 488

(Thanks for the BTW. I n fact I had it right on my site)




Multilingual site - Header information - acrylian - 05-08-2013

What theme? If it is not one of the official ones please try that.




Multilingual site - Header information - Soleil - 06-08-2013

The theme is Zenpage with a few modifications.




Multilingual site - Header information - acrylian - 06-08-2013

Sorry, I cannot reproduce any related issue with the Zenpage theme and that TinyMCE config file chosen.

Try a standard theme please.




Multilingual site - Header information - sbillard - 06-08-2013

Quick analysis would indicate that your theme is trying to store a cookie, but that must be done before any output is sent to the browser, hence the error message.

A complete stack trace would tell you where the call on setting the cookie is happening.