Welcome, Guest. Please login or register.
Did you miss your activation email?

 
Advanced search

18669 Posts in 5538 Topics- by 9351 Members - Latest Member: Judith76

May 25, 2013, 05:48:53 PM
JOOM::GALLERY::FORUMJoomGallery 2.x ACLInstallation / UpdateInvalid argument supplied for foreach()
Pages: [1]
Print
Author Topic: Invalid argument supplied for foreach()  (Read 478 times)
0 Members and 1 Guest are viewing this topic.
geronimo
Newbie
*
Offline Offline

Posts: 5


View Profile
« on: May 08, 2012, 11:16:09 AM »

I updated joomla! from 1.5.6 to 1.5.26
And updated joomgallery from 1.5.0.1 to 1.5.7.5
In the middle of this, I received a screen message that session closed by time out (!)

Everything is working fine, except Joomgallery

It looks like the information on MySQL is not read.
Configuration shows no defaults, and any modification gives error and does not stay.

Previously installed mod_joomimg seams to work ok.
Several errors like the following arrive as you access the menu to the gallery:

http://salvadorcorreia.org/index.php?option=com_joomgallery&Itemid=39:

Warning: Invalid argument supplied for foreach() in /hermes/bosweb/web212/b2125/sl.s#/public_html/components/com_joomgallery/helpers/helper.php on line 925

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /hermes/bosweb/web212/b2125/sl.s#/public_html/libraries/joomla/database/database/mysql.php on line 338

Warning: Division by zero in /hermes/bosweb/web212/b2125/sl.s#/public_html/components/com_joomgallery/views/gallery/tmpl/default.php on line 15

Checked MySQL and it looks to be everything ok.
The pictures are not in default place, that is on domain.net/photo

Can someone please give me an idea of where to look for the originated mistake, or how to solve the situation?

Many thanks
Logged
Chraneco
Developer-Team
Hero Member
*****
Offline Offline

Posts: 3140


View Profile
« Reply #1 on: May 08, 2012, 11:21:48 AM »

Hi,

did you update Joomla! first and then JoomGallery or JoomGallery first and then Joomla?

If it is the latter installing the JoomGallery package again (without uninstalling it afore) could solve the problem, but please create backups.

Regards
Chraneco
Logged
geronimo
Newbie
*
Offline Offline

Posts: 5


View Profile
« Reply #2 on: May 08, 2012, 11:39:29 AM »

Hi Chraneco,
Many thanks for your post.
Upgraded Joomla! first
Already re-installed with no success
Best regards
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic

Bad Behavior has blocked 824 access attempts in the last 7 days.