Bir arkadaşım onun sitede bir sıralama sistemi inşa ve WordPress ve Go Daddy aracılığı ile mayın üzerinde barındırmak için çalışıyorum. Onun için günceller ama benim siteye yüklediğinizde, kısa sürede yeniden, bu hataları meydana gerekiyordu gibi 6 saat çalışır, ancak ben bir 500 zaman aşımı hatası alıyorum.
Jeremynoeljohnson .com / yakezieclub: Onun sayfasıdır
Benim sayfa http://sweatingthebigstuff.com/yakezieclub şu anda ama ?reload=1 bu hatayı verecektir zaman.
Neden herhangi bir fikir oluyor olabilir? Ben değiştirmeniz gerekebilir herhangi bir ayar?
İşte index.php dosyasının üst olduğunu. Ben herhangi bir parçası karışıklık hangi emin değilim. Ben tam anlamıyla onun gibi aynı kodu yükledi.
Burada yeniden kısmı:
$cachefile = "rankings.html";
$daycachefile = "rankings_history.xml";
$cachetime = (60 * 60) * 6; // every 6 hours, the cache refreshes
$daycachetime = (60 * 60) * 24;
// every 24 hours, the history will be written to
// - or whenever the page is requested after 24 hours has passed
$writenewdata = false;
if (!empty($_GET['reload']))
{
if ($_GET['reload']== 1)
{
$cachetime = 1;
}
}
if (!empty($_GET['reloadhistory']))
{
if ($_GET['reloadhistory'] == 1)
{
$daycachetime = 1;
$cachetime = 1;
}
}
if (file_exists($daycachefile) &&
(time() - $daycachetime < filemtime($daycachefile)))
{
// Do nothing
}
else
{
$writenewdata = true;
$cachetime = 1;
}
// Serve from the cache if it is younger than $cachetime
if (file_exists($cachefile) && (time() - $cachetime < filemtime($cachefile)))
{
include($cachefile);
echo "<!-- Cached ".date('jS F Y H:i', filemtime($cachefile))." -->";
exit;
}
ob_start(); // start the output buffer
?>