Author Topic: Invalid argument supplied for foreach()  (Read 3729 times)

0 Members and 1 Guest are viewing this topic.

Offline mariohaehni

  • Pre-Newbie
  • Posts: 5
    • View Profile
Invalid argument supplied for foreach()
« on: August 27, 2007, 11:14:42 AM »
Guten Tag

Seite etwa drei Jahren habe ich  4images im Einsatz. Nun erscheitn plötzlich eine Fehlermeldung zuoberst auf der Seite.

Warning: Invalid argument supplied for foreach() in /home/gantrisc/public_html/4images/global.php on line 33

Dies sowohl auf der normalen Seite, wie auch beim Login für den Adminbereich. Seh rkomisch ist, dass auf dieser Seite seit mind. einem Jahren von mir nichts geändert wurde!! Einzig bei der Server-Konfiguration selber könnte etwas gamacht worden sein. Der Server ist nicht von uns.

Der Fehler führt dazu, dass die Galerie nicht mher funktioniert. Es können keine Kategorien merhr geöffnet werden. Bilder können nicht angeschaut werden. Ich kann nicht einlogen, etc...

Kennt jemand dieses Problem? Weiss jamand eine Lösung?

Besten Dank und Gruss
mario

Offline mariohaehni

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: Invalid argument supplied for foreach()
« Reply #1 on: November 19, 2007, 04:48:43 PM »
Kennt niemand dieses Problem oder könnte mir irgendwie helfen?

Kann dies an PHP 5 liegen?

Gruss Mario

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Invalid argument supplied for foreach()
« Reply #2 on: November 19, 2007, 05:19:20 PM »
Kann dies an PHP 5 liegen?

... bei 4images Version < 1.7.4 ... ggf. ... JA ...
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Invalid argument supplied for foreach()
« Reply #3 on: November 19, 2007, 09:07:50 PM »
Try this for PHP 5 for foreach error:

http://www.4homepages.de/forum/index.php?topic=19288.0
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?