chop Posted January 24, 2012 Share Posted January 24, 2012 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 More sharing options...
chop Posted January 24, 2012 Author Share Posted January 24, 2012 I figured out the answer to this question but I couldn't figure how to delete the post. SO, I guess that's my updated question.. how to delete a post. I went to edit but didn't see that option. thanks Link to comment Share on other sites More sharing options...
Larry Posted January 25, 2012 Share Posted January 25, 2012 You shouldn't delete a post. What you should do is post the solution so that others might benefit from the experience. If everyone deleted their post once they solved the problem, this forum would be almost useless. Link to comment Share on other sites More sharing options...
chop Posted January 28, 2012 Author Share Posted January 28, 2012 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 More sharing options...
Larry Posted January 30, 2012 Share Posted January 30, 2012 Great. Thanks for sharing! Link to comment Share on other sites More sharing options...
Recommended Posts