Home arrow Forum
Mambohacks had headers sent error??
  Welcome, Guest. Please login or register.
January 07, 2009, 11:49:04 PM
Home New Posts Search Calendar


Login with username, password and session length
Forum  |  MamboHacks.com  |  Mambo-SMF Forum 1.3.0 Support  |  Topic: Mambohacks had headers sent error?? « previous next »
Pages: [1] Go Down Print
Author Topic: Mambohacks had headers sent error??  (Read 3620 times)
Scott
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 13


View Profile
Mambohacks had headers sent error??
« on: July 25, 2005, 06:05:11 AM »

Cowboy,

Tried to access the forum this morning to find that the site was displaying headers already sent errors.

Looked a lot like the problem I was having. Can you share how you fixed it??

Thanks

Scott
Logged
cowboy
Administrator
Hero Member
*****

Karma: +30/-0
Offline Offline

Posts: 663



View Profile WWW
Re: Mambohacks had headers sent error??
« Reply #1 on: July 25, 2005, 10:48:00 AM »

My hosting provider upgraded PHP to 4.4.0.
You need to upgrade your SMF.

http://www.simplemachines.org/community/index.php?topic=41955.0

It's just simple... edit Subs.php and look for
= &mysql_query

remove &
= mysql_query

Also....
edit mambo's index.php, look fot header(... and add the condition "if (!headers_sent())"

if (!headers_sent()) {
header( 'Expires: Mon, 26 Jul 1997 05:00:00 GMT' );
header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' );
header( 'Cache-Control: no-store, no-cache, must-revalidate' );
header( 'Cache-Control: post-check=0, pre-check=0', false );
header( 'Pragma: no-cache' );
}
« Last Edit: July 25, 2005, 10:50:34 AM by cowboy » Logged
Scott
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 13


View Profile
Re: Mambohacks had headers sent error??
« Reply #2 on: July 26, 2005, 06:54:18 AM »

Cowboy,

I've done the upgrade. I'll give the fix another try. Fingers crossed!!

Thanks

Scott
Logged
Scott
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 13


View Profile
Re: Mambohacks had headers sent error??
« Reply #3 on: July 26, 2005, 07:08:38 AM »

Nope, no good... back to the drawing board. This time a whole heap of different login errors and one headers sent error from SMF  Sad

Scott
Logged
Pages: [1] Go Up Print 
Forum  |  MamboHacks.com  |  Mambo-SMF Forum 1.3.0 Support  |  Topic: Mambohacks had headers sent error?? « previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Forum | Powered by SMF 1.0.5 & Mambo-SMF.
© 2001-2005, Lewis Media. All Rights Reserved.
Valid XHTML 1.0! Valid CSS!
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