G2/Mambo -- Cannot modify header information - headers ...

tassos

Joined: 2005-07-22
Posts: 4
Posted: Fri, 2005-07-22 18:36

Dear all,

I am playing around with G2 and Mambo independently since quite some time and today I found the time to attempt to integrate the two. However I came across an issue that I couldn't solve.

Below some data about my configuration:
I have upgraded to Gallery 2 beta 4

Gallery-Version = 2.0-beta-4 Kern 0.9.32
PHP-Version = 4.3.10 apache2handler
Webserver = Apache/2.0.53 (Linux/SUSE)
Datenbank = mysql 4.1.10a
Werkzeuge = Exif, ImageMagick, NetPBM, Gd, ArchiveUpload, Dcraw
Betriebssystem = Linux playstation 2.6.11.4-21.7-default #1 Thu Jun 2 14:23:14 UTC 2005 i686
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6

I am using MamboV4.5.2.3-stable and the gallery2 component 2.0.6

I am getting the following warnings if I create a link to the gallery component in Mambo.

Warning: Cannot modify header information - headers already sent in /srv/www/htdocs/mambo/index.php on line 194

Warning: Cannot modify header information - headers already sent in /srv/www/htdocs/mambo/index.php on line 195

Warning: Cannot modify header information - headers already sent in /srv/www/htdocs/mambo/index.php on line 196

Warning: Cannot modify header information - headers already sent in /srv/www/htdocs/mambo/index.php on line 197

Warning: Cannot modify header information - headers already sent in /srv/www/htdocs/mambo/index.php on line 198

This warning appears frequenty in various php related developments and the cause could be the one described in http://de.php.net/header

I checked already the advice about no blank line after <?php ... ?> in some of the files that I would suspect, but all seem OK.

Has anyone had the same warning? And even more interesting has anyone a solution?

Many thanks
Tasos

 
kdizzle

Joined: 2005-07-06
Posts: 27
Posted: Fri, 2005-07-22 21:41

We are looking into in the last pages of the g2 embedding thread. Page 28 I think.

Join the fun!

Here:
http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=25979&start=405

 
blisswhisper

Joined: 2005-07-04
Posts: 3
Posted: Sat, 2005-07-23 23:16

Just wanted to add that I have the exact same problem upgrading from Beta 3 to Beta 4 in Mambo (2.0.6 component in Mambo 4.5.2.3). The error messages only appear in the component version and not in the stand-alone version or even a wrapped version.

As I recall, I had a very similar problem with Simple Machines Forum when I upgraded to PHP 4.4.0. The fix was a simple change to the syntax of the sources/subs.php file (removing the ampersand from ' = &mysql_query '). I don't know if this is a similar issue, but I thought I would mention it.

JER

 
michiel_1981

Joined: 2005-05-19
Posts: 430
Posted: Mon, 2005-07-25 11:42

blisswhisper,

thxs and join on main topic.

regards,
Michiel