Jump to content
Larry Ullman's Book Forums

Recommended Posts

I am getting this as an error when running a php script:

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

 

The catch is that everything works fine on my local server but not on the remote server. To be sure, I deleted all the files from the remote and made a mirror of it from my local. Is there a difference (in terms of headers) whenn working locally than on a remote server?

 

Here are the first few lines of editText.php:

 

<?php # Script 9.4 - #4
session_start();
// This script retrieves all the records from a table.
// This version paginates the query results.[/b]
[b]//ini_set('display_errors', 1);// displaying errors = true
//error_reporting(E_ALL);// show all types of errors
$page_title = 'View your Images';
include ('includes/header.html');
require_once (CONNECTION);

 

thank you

Link to comment
Share on other sites

Good point.

 

To answer this post: I deleted all the files on the remote once again and uploaded them once again. This time, however, I picked only the files I needed to have there rather than make a mirror. It worked fine. So, all I know is that there was a file there that shouldn'thave been there rather than there being a missing file. Wish I had something more definitive for you.

Link to comment
Share on other sites

 Share

×
×
  • Create New...