Login   Register  
PHP Classes
elePHPant
Icontem

foreach() error

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      GImageGallery  >  All threads  >  foreach() error  >  (Un) Subscribe thread alerts  
Subject:foreach() error
Summary:Getting an php error when i try to access the galleries.
Messages:5
Author:stig oslo
Date:2005-04-04 17:29:04
Update:2005-04-14 02:30:47
 

  1. foreach() error   Reply   Report abuse  
Picture of stig oslo
stig oslo
2005-04-04 17:29:04
Great package, but i-m not getting it to work, this error occures when i try to access an album:

----------------------------------------------------------------------
Warning: Invalid argument supplied for foreach() in /usr/home/myweb/public_html/gimage/GImageGallery.class.php on line 91

Warning: Invalid argument supplied for foreach() in /usr/home/myweb/public_html/gimage/GImageGallery.class.php on line 107
----------------------------------------------------------------------

Any ideas on how to fix this?

  2. Re: foreach() error   Reply   Report abuse  
Picture of stig oslo
stig oslo
2005-04-04 17:34:38 - In reply to message 1 from stig oslo
Ah, crap, forget this thread. I just forgoyt to label the mail containing the images.

  3. Re: foreach() error   Reply   Report abuse  
Picture of Luis I. Larrateguy
Luis I. Larrateguy
2005-04-05 04:21:56 - In reply to message 1 from stig oslo
=P
ok.. I'll be looking to throw a tip instead of the ugly PHP error... like "Check to label the emails"
thanks for noticing me...

  4. Re: foreach() error   Reply   Report abuse  
Picture of Celio Ocaņa
Celio Ocaņa
2005-04-13 15:17:04 - In reply to message 3 from Luis I. Larrateguy
since yesterday, there are an error like that, even in your own page of example:
Warning: Invalid argument supplied for foreach() in /home/ro000078/public_html/testGIG/libgmailer.php on line 1187

Warning: Invalid argument supplied for foreach() in /home/ro000078/public_html/testGIG/libgmailer.php on line 1187

Warning: Invalid argument supplied for foreach() in /home/ro000078/public_html/testGIG/libgmailer.php on line 1187

Warning: Invalid argument supplied for foreach() in /home/ro000078/public_html/testGIG/GImageGallery.class.php on line 107


  5. Re: foreach() error   Reply   Report abuse  
Picture of Luis I. Larrateguy
Luis I. Larrateguy
2005-04-14 02:30:47 - In reply to message 4 from Celio Ocaņa
The error is in

Warning: Invalid argument supplied for foreach() in /home/ro000078/public_html/testGIG/libgmailer.php on line 1187

libgmailer class.
Due it's a GPL class.. let's look inside it, or contact the author.
May be GMAIL changed some in its query string.