Log in

View Full Version : vba Gallery error on index page!


Snoop-It
12-13-2005, 12:00 AM
Ok so i ran the upgrade for 3.5.2 - went smoothly...

i had inserted a code that will show the latest 4 images uploaded on the index page... but now it just gives me an error... however the actual gallery works fine.

how do i fix this error??

Warning: Invalid argument supplied for foreach() in /index.php(470) : eval()'d code on line 80

Warning: array_keys(): The first argument should be an array in /includes/functions_gallery.php on line 427

Warning: Invalid argument supplied for foreach() in /includes/functions_gallery.php on line 427

Warning: Division by zero in /includes/functions_gallery.php on line 1134

KW802
12-13-2005, 12:07 AM
Best to ask over at http://www.photopost.com ;)

Zachariah
12-13-2005, 01:36 AM
vBa Gallery - Forum Home

- Re add the file edits.
https://vborg.vbsupport.ru/showthread.php?s=&threadid=96152


Ok so i ran the upgrade for 3.5.2 - went smoothly...

i had inserted a code that will show the latest 4 images uploaded on the index page... but now it just gives me an error... however the actual gallery works fine.

how do i fix this error??


Warning: Invalid argument supplied for foreach() in /index.php(470) : eval()'d code on line 80

Warning: array_keys(): The first argument should be an array in /includes/functions_gallery.php on line 427

Warning: Invalid argument supplied for foreach() in /includes/functions_gallery.php on line 427

Warning: Division by zero in /includes/functions_gallery.php on line 1134

Snoop-It
12-13-2005, 04:20 PM
oh yeh duh, i forgot to edit the index.php file.. sorry guys..