beim anlegen einer neuen Kategorie (auf einem neu aufgesetzeten Contenido system). Es ist der erste Kategorie-Baum, den ich anlegen möchte. Ich bekomme allerdings folgende meldung:
Fatal error: Allowed memory size of 8388608 bytes exhausted at (null):0 (tried to allocate 4623 bytes) in /htdocs/contenido/includes/functions.str.php on line 207
in besagten Zeile steht:
Code: Alles auswählen
$poststring = $poststring.",".$tmp_idcat;
Code: Alles auswählen
function strOrderedPostTreeList ($idcat, $poststring) {
global $db;
global $client;
global $lang;
global $cfg;
$sql = "SELECT idcat FROM ".$cfg["tab"]["cat"]." WHERE parentid=0 AND preid='$idcat'";
$db->query($sql);
if ( $db->next_record() ) {
$tmp_idcat = $db->f("idcat");
$poststring = $poststring.",".$tmp_idcat;
$poststring = strOrderedPostTreeList($tmp_idcat, $poststring);
}
return $poststring;
}
Wer kann mir helfen?
Grüße
Jan