Warning: Cannot modify header information - headers already sent by (output started at .....\forum\Sources\Load.php(1040) : eval()'d code:455) in ....\forum\Sources\Subs.php on line 1725
Warning: Cannot modify header information - headers already sent by (output started at ......\forum\Sources\Load.php(1040) : eval()'d code:455) in ....\forum\Sources\Subs.php on line 1726
Logged
..::Il genio è la punta estrema del senso pratico::..
The full errors appearing at the head of the home page, visible to the user..
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/forum/Sources/Load.php(1040) : eval()'d code:462) in /var/www/html/site/includes/mambo.php on line 302
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/forum/Sources/Load.php(1040) : eval()'d code:462) in /var/www/html/site/index.php on line 214
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/forum/Sources/Load.php(1040) : eval()'d code:462) in /var/www/html/site/index.php on line 215
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/forum/Sources/Load.php(1040) : eval()'d code:462) in /var/www/html/site/index.php on line 216
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/forum/Sources/Load.php(1040) : eval()'d code:462) in /var/www/html/site/index.php on line 217
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/forum/Sources/Load.php(1040) : eval()'d code:462) in /var/www/html/site/index.php on line 218
I changed the code as you said and the error has now become that shown below and the page fails to load all together??
Scott
The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
Yes this error has only occured once installing Mambo-SMF component. I can create the error by installing the component. Uninstall and the error diappears and the page loads ok.
I have been running SMF (now version 1.0.5)for a while with another SMF bridge (you know the one I mean). It was working Ok but I also run Mambo-phpShop which was recently upgraded to the latest version. The "other bridge" hack would not work with the new phpShop.
I found this on google. Try this... ----- This means that the first file name mentioned has a space either before the opening php or after the closing php. You will need to open that file and make sure <?php is the first line with no spaces before it, and ?> is the very last line with no spaces after it. -----
Thanks for the feedback. I should have searched the net myself.
For some reason there was an extra line after the ?> in index.php.
So the homepage loads fine now and the bridge works. I now get the following error when clicking on the forum menu item. The error appears in the body of the forum page.
An error has occured!
Cannot modify header information - headers already sent by (output started at /var/www/html/forum/Sources/Load.php(1040) : eval()'d code:462)
Does this require a similar code twick that the index.php file required?
Just tried logging out. The bridge will log out of mambo but the forum page comes up with the following error.
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/forum/Sources/Load.php(1040) : eval()'d code:462) in /var/www/html/forum/Sources/Subs.php on line 1725
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/forum/Sources/Load.php(1040) : eval()'d code:462) in /var/www/html/forum/Sources/Subs.php on line 1726
I found the header calls in both Load.php and Subs.php and added the !headers_sent() logic to disable them if the header had been sent already.
Now doing this has allowed the forum to kind of work. The login and logout work but during the process a forum error page (displaying a header already sent error) flashes up and then the home page will load.
This does not sound correct and is very noticable on 28.8k dial up.. yep very slow working over snail dial up.
I did modify the index.php file as you said. This solved the problem except for when trying to login or logout of the forum. The headers sent error would then reoccur???
None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by MamboHacks.com. Powered by Mambo. All rights reserved. TERMS OF USE