Get XOOPS XOOPSXOOPS FAQFAQ ForumsForums NewsNews ThemesThemes ModulesModules
Submit a Q&A Request a Q&A Open Questions

Search

Donat-O-Meter

Make donations with PayPal!
Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $65.00
Net Balance: $61.80
Left to go: $38.20

Donations
studioC  ($25)May-17
Anonymous ($15)May-16
Anonymous ($25)May-4

Learn XOOPS Core

Local Support

Advertisement

XOOPS Code hosted on SourceForge

How do I...

Reactivate a closed site via database access?

Answer here!

Did you know ?

You can set your own signature to be displayed at the bottom of your posts.

More details...

Random question

What is the reason for clearing cache?

Answer here!

Recent Q&A List

Cumulus Tag Cloud

2 2.5 2.6 3.0 90 2013 Abuse admin AntiHarvesting AntiMalUser AntiSpam API Beats billige black Blocks blue Captcha capture Casual cell Checksum Christmas chronolabs content Conversion Debauchosity demo docek download Dresses editor ELB evden eve facebook floor free games herre Honeypot Human IP jQuery kantor lamps log logger Marquee mobile module modules Monster MyAlbum-p newbb news newsletter online oxygen PageRank Payment Permissions pink Plugin portal Prevention profile project Protector publisher Rights rmcommon Room sale security Server site Smarty Spam stem Studio support tag tags tdmcreate Theme themes txmod Umfrage upgrade User userlog website Whitepaper WSDL xoops XOOPS2 Xortify XPayment ZendFramework

New Users

Registering user

# 136023

qinxian123

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

Question
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
Answer
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.

Requested and Answered by Carnuke on 2004/12/30 8:10:53 (16354 reads) 1 Comment(s) Print Q&A Send Q&A

The comments are owned by the author. We aren't responsible for their content.
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??
Published: 2005/9/10 3:09 • Updated: 2005/9/10 3:09