Fatal error: Allowed memory size of 8388608 bytes exhausted
Verfasst: 04.12.2007 11:36
Hallo,
habe das Forum schon danach durchsucht aber keine Lösung gefunden das Problem grundlegend behebt.
Das der PHP-Memory-Limit von 8Mb überschritten ist, ist mir klar.
Fehlermeldung kommt beim aufrufen des Scriptes "album_upload.php?cat_id=52" des Smartor Photoalbum.
Die Datenbank des Forums hat ca. 275MB.
Betroffene Funktion in public_html/db/mysql.php on line 375:
habe das Forum schon danach durchsucht aber keine Lösung gefunden das Problem grundlegend behebt.
Das der PHP-Memory-Limit von 8Mb überschritten ist, ist mir klar.
Fehlermeldung kommt beim aufrufen des Scriptes "album_upload.php?cat_id=52" des Smartor Photoalbum.
Die Datenbank des Forums hat ca. 275MB.
Betroffene Funktion in public_html/db/mysql.php on line 375:
Jemand einen Lösungvorschlag?function sql_fetchrow($query_id = 0)
{
$mtime = microtime();
$mtime = explode(" ",$mtime);
$mtime = $mtime[1] + $mtime[0];
$starttime = $mtime;
if(!$query_id)
{
$query_id = $this->query_result;
}
if($query_id)
{
$this->row[$query_id] = @mysql_fetch_array($query_id);
$mtime = microtime();
$mtime = explode(" ",$mtime);
$mtime = $mtime[1] + $mtime[0];
$endtime = $mtime;
$this->sql_time += $endtime - $starttime;
return $this->row[$query_id];
}
else
{
$mtime = microtime();
$mtime = explode(" ",$mtime);
$mtime = $mtime[1] + $mtime[0];
$endtime = $mtime;
$this->sql_time += $endtime - $starttime;
return false;
}
}