SmartFAQ is developed by The SmartFactory (http://www.smartfactory.ca), a division of InBox Solutions (http://www.inboxsolutions.net)

EXPLAIN: Warning [PHP]: Cannot modify header information - headers already sent by (output started at /home/myname/public_html/mainfile.php:101) in file user.php line 59
  Requested and Answered by Carnuke on 2004/12/30 14:10:53     21848  reads 
When I click on View Account in the User Menu, I'm getting a blank page. Turning on php degugging gives me this error:

Quote:
Warning [PHP]: Cannot modify header information - headers already sent by (output started at /home/myname/public_html/mainfile.php:101) in file user.php line 59


I have no idea what is wrong. I looked in mainfile.php and user.php and I can't tell what is wrong.

NOTE mainfile.php information, ie the bit that says 'myname' in the above should not be posted publicaly!

Remedy

The cause of this error is usually due to some blank lines added to the end of the php script referenced by the "output started at..." part of the message.

So, in this case make sure that there is nothing after the closing ?> in mainfile.php. No empty lines, no carriage returns, nothing. Then save, reupload (make sure mainfile.php is writable on the server before you reupload), chmod to 444 and you're set to go.


This fault happened to me after making some changes to mainfile.php using the cpanel editor, even though I am certain I did not add any extra spaces or characters after the closing tag.


The comments are owned by the author. We aren't responsible for their content.
user

 And?? Who Has An Other İdea


Who Has An Other İdea?? A lot of have this problem.. I looked at xoopsturkish site ..and there are also a lo of who has thes problem??

i think 2.0.13 has this problem??

Who knows how to solve??

 


Login

Who's Online

77 user(s) are online (1 user(s) are browsing XOOPS FAQ)


Members: 0


Guests: 77


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Did you know ?

The basic structure of a XOOPS theme is similar to that of any other static website template. The primary difference is the addition of Smarty variables that interact with XOOPS to output your dynamic content.

Random question

Hi,
here is my problem:
The search option works for the administrator profile, but not with the anonymous profile.

Can anyone let me know what I must tick/untick & where?

Thanks in advance,