#1 (permalink)  
Alt 16.12.2004, 09:54
Benutzerbild von snopy23  
Registriert seit: 16.05.2004
Beiträge: 36
Standard

Hallo,

habe alles laut Anleitung gemacht, doch nun bekomme ich folgenden Fehler beim Aufruf der Startseite:
Zitat:
Warning: Invalid argument supplied for foreach() in /usr/local/apache/htdocs/shop1/includes/modules/whats_new.php on line 78
der betroffene Teil lautet wie folgt:
Zitat:
# get a random part of it
$rand_keys = array_rand($tmp_content, $how_much_entries);
foreach ($rand_keys as $key=>$value)
{
$box_content[] = $tmp_content[$value];
}
Die Zeile 78 ist folgende:
Zitat:
foreach ($rand_keys as $key=>$value)
Da ich nicht der PHP Profi bin br?uchte ich mal kurz hilfe.

Danke
snopy23
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
Antwort

Lesezeichen

Stichworte
error, modul, php, whatsnew

Themen-Optionen
Ansicht

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are aus
Pingbacks are aus
Refbacks are aus



Alle Zeitangaben in WEZ +1. Es ist jetzt 17:47 Uhr.

Copyright © 2011 xt:Commerce GmbH / xt:Commerce International Ltd. - All Rights Reserved

xt:Commerce is a SafeCharge brand