Premature end of script headers: index.php
Posted: Mon Apr 08, 2013 4:43 pm
What is this?
I'm being told this is one thing causing our site to run slow or crash.
It would really help if it gave me a line number in that file.
At the very top we have
And use to have a
This script would only be used by Administrators tho, which doesn't explain why it's happening via a referred product page. But could it be that it's calling this countless times, with no reason?
Also, what is this:
The referring is one of our web pages, and yes it does use facebox for some popups. But it works - so why does something not exist? The folder certainly does.
And finally, we are seeing this too:
There is nowhere in my code that states '/graphics'. So why is it something looking for it. I guarantee you my code doesn't look for it.
I'm being told this is one thing causing our site to run slow or crash.
It would really help if it gave me a line number in that file.
At the very top we have
Code: Select all
<?php session_start();
?>Code: Select all
if(isset($_REQUEST['itemtype']))
{
$itemtype = $_REQUEST['itemtype'];
$_SESSION['itemtype']=$itemtype;
} else { $itemtype=$_SESSION['itemtype'];
}
if ($itemtype == NULL) { $itemtype = "Shirts";}
if(isset($_REQUEST['sort']))
{
$sort = $_REQUEST['sort'];
$_SESSION['sort']=$sort;
} else { $sort=$_SESSION['sort'];
}
if($sort == NULL) { $sort=title; }Also, what is this:
Code: Select all
[Sat Mar 16 17:45:10 2013] [error] [client 2.218.254.138] File does not exist: /home/site/public_html/facebox, referer:And finally, we are seeing this too:
Code: Select all
[Sat Mar 16 17:58:47 2013] [error] [client 86.151.101.59] File does not exist: /home/site/public_html/graphics, referer: