PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
kittyprrrs
Regular
Regular


Joined: Jun 08, 2007
Posts: 54

PostPosted: Fri Jun 22, 2007 7:48 am Reply with quote Back to top

A user posted this in my pm and all he was trying to do was login using FireFox.

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/content/xxxx/modules/Your_Account/language/lang-english.php:262) in /home/content/xxxx/includes/gfx_check.php on line 106

Warning: Cannot modify header information - headers already sent by (output started at /home/content/xxxx/modules/Your_Account/language/lang-english.php:262) in /home/content/xxxx/modules/Your_Account/index.php on line 1026

Warning: Cannot modify header information - headers already sent by (output started at /home/content/xxxx/modules/Your_Account/language/lang-english.php:262) in /home/content/xxxx/modules/Your_Account/index.php on line 1084

Would cleaning out his cookies, history and such clear all of the problems or do I have to modify my htaccess file (as hitwalker suggests in post:
Only registered users can see links on this board!
Get registered or login to the forums!
Can someone explain why this is happening? Is it a FireFox issue and if so, is there a fix that I can apply?

Thanks in advance....I'll have him clean out everything in the meantime.
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Sat Jun 23, 2007 9:54 am Reply with quote Back to top

kittyprrrs, be careful about posting your root path - it can be used against you by attackers (I removed it).

I'd normally suggest searching the forums for answers to this, but it seems you've already done that. I'd verify the php.ini settings and modify .htaccess if necessary.

Which version of RN are you using?
View user's profile Send private message
Gremmie
Former Moderator in Good Standing


Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Sat Jun 23, 2007 3:46 pm Reply with quote Back to top

Do you have $display_errors turned on or something? I get similar messages too, but they only appear in the server logs.
View user's profile Send private message
technocrat
Life Cycles Becoming CPU Cycles


Joined: Jul 07, 2005
Posts: 511

PostPosted: Mon Jun 25, 2007 10:52 am Reply with quote Back to top

Do you have a space or new line after the ?> in modules/Your_Account/language/lang-english.php
View user's profile Send private message
kittyprrrs
Regular
Regular


Joined: Jun 08, 2007
Posts: 54

PostPosted: Tue Jun 26, 2007 7:28 am Reply with quote Back to top

Sorry...I've had my face shoved in php books....I've now just emerged! Did I mention, I'm even more confused now then I was before!? hahahahaha!

Kguske, thank you! I must have been really tired to post everything like that. I know when I have been working on stuff so long, I just can't see straight and I do stupid things like that. Thank you so much!

I'm using RN 2.10 and loving it so far. As far as the php.ini file, what would I be looking for? As for htaccess, what should I look to change?

Gremmie, yes I did, I changed it back to FALSE so, hopefully that will fix it.

technocrat...omg...yes! why would such a little thing like that cause such chaos?

Thank you all, very much. Let's all sit back and see it this fixed it!
View user's profile Send private message
Gremmie
Former Moderator in Good Standing


Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Tue Jun 26, 2007 8:45 am Reply with quote Back to top

Good one technocrat, I should have read the error message more carefully.

I see a lot of that stuff in my log files, mainly from the forums.
View user's profile Send private message
technocrat
Life Cycles Becoming CPU Cycles


Joined: Jul 07, 2005
Posts: 511

PostPosted: Tue Jun 26, 2007 9:14 am Reply with quote Back to top

Anything after the ?> gets treated as HTML. I am going to guess your using DreamWeaver?
View user's profile Send private message
kittyprrrs
Regular
Regular


Joined: Jun 08, 2007
Posts: 54

PostPosted: Tue Jun 26, 2007 9:53 am Reply with quote Back to top

Hey technocrat, no...I only use DW for HTML/CSS....I use EditPad Pro for all my other stuff (php, sql....etc.)....I might have forgotten to delete it when I was trying to insert that "private message" code.

Thank you, this is just another notch on my "learning" belt. I will forever, remember that anything after the ?> will get treated as an HTML tag.

Thank you everyone again! Seriously...I learn something new everyday from reading this forum.
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9136
Location: Arizona

PostPosted: Wed Jun 27, 2007 7:05 am Reply with quote Back to top

kittyprrrs, again, just for your "learning process", it really only becomes a problem when it is a script that is included prior to the normal HTTP headers are sent (which is done in header.php). This can vary slightly by module BTW.

What is happening is that if any HTML is returned back to the browser before the "real headers", PHP passes a default header to the browser. Since the headers have already been "sent", once the normal headers are sent back in header.php, you get the "headers already sent" error.
View user's profile Send private message Visit poster's website
kittyprrrs
Regular
Regular


Joined: Jun 08, 2007
Posts: 54

PostPosted: Fri Jun 29, 2007 10:10 am Reply with quote Back to top

Thanks montego, I think I actually understood that (for a change!). I swear, if I read this from day one (back 1 year ago) I don't think I would have understood this.

So basically, just triple check all my previous "altered" versions of xxxx.php that I was working on and make sure that all spaces or hard enters are removed or this error will 'pop' up. I never thought such a tiny thing like a 'hard return' would wreck havoc with header issues.

I think I need to get a bigger belt soon! Razz
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9136
Location: Arizona

PostPosted: Sat Jun 30, 2007 12:58 pm Reply with quote Back to top

Quote:

So basically, just triple check all my previous "altered" versions of xxxx.php that I was working on and make sure that all spaces or hard enters are removed or this error will 'pop' up


kittyprrrs, if you are now working just fine, I would not worry about it. It really is not EVERY file, only those that are included up before header.php.

Just now that when you see this error, you will know what to do. Wink
View user's profile Send private message Visit poster's website
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum