LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-15-2007, 09:30 AM   #1
jim_cliff11
LQ Newbie
 
Registered: Jan 2004
Posts: 21

Rep: Reputation: 0
Migrated New Server Error = Warning: session_start() [function.session-start]:.......


Ive just moved my website to a new server running fedora 5 that ive just set up.

It reads from the databases fine, however im getting the following error:

Warning: Cannot modify header information - headers already sent by (output started at /wwwroot/petercliff/admin/reload.php:10) in /wwwroot/petercliff/admin/reload.php on line 11

Now i read somewhere that it could be due to a setting in the php.ini called session.save_path and that it cant write the session to a directory or something.

Could anyone clarify this for me or help me find a solution?

I never had this error on my old server running exactly the same setup.
 
Old 02-16-2007, 08:04 AM   #2
trevelluk
Member
 
Registered: Nov 2003
Location: Bristol, UK
Distribution: Debian Lenny, Gentoo (at work)
Posts: 388

Rep: Reputation: 32
What this means is that something on line 10 of /wwwroot/petercliff/admin/reload.php is sending output to the browser, but something after this is trying to modify the page headers. This isn't allowed.

This may be being caused by whitespace (or other characters) outside of the <?php ... ?> tags in reload.php.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
login error can's start session due to internal error wiisikke Fedora 3 05-11-2010 01:29 AM
start qt error show session management error... wylhistory Linux - Software 2 05-04-2009 04:32 AM
Error while trying to start a program on a local X session. Vorik Linux - Software 0 01-28-2005 01:50 PM
can't start remote X session PAM error felkin Linux - General 6 08-25-2004 08:27 PM
PHP: Call to undefined function: session_start() wellmt Linux - Newbie 2 06-01-2004 05:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration