PHP 5.3 errors with sessions

Status
Not open for further replies.

artfulme28

New Member
Messages
10
Reaction score
0
Points
0
So after the PHP update on the servers, my website (http://www.artfulme.net) has been giving me this error:
-----

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/artfulme/public_html/index.php:1) in /home/artfulme/public_html/index.php on line 1

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/artfulme/public_html/index.php:1) in /home/artfulme/public_html/index.php on line 1

-----
(It includes the empty line before the error)
-----
Here's the first few lines of my homepage (index.php):
-----
PHP:
<?php session_start(); $_SESSION['loginreturn']="../index.php";  include("scripts/mysql.php"); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
...(more html and assorted scripts)...
-----
I never had any errors before the update, and I've already checked that Dreamweaver hasn't added any whitespace by opening the file in Notepad++. I'm at a loss. Help please?

---------- Post added at 06:39 PM ---------- Previous post was at 04:55 PM ----------

Sorry for double post, I accidentally closed my browser on the first one, and was not sure if it went through.
 
Status
Not open for further replies.
Top