Invalid Argument on integrating Mambo & Gallery

xdevil

Joined: 2005-06-12
Posts: 3
Posted: Sun, 2005-06-12 09:27

Hi !

I've come across a strange problem when integrating Gallery into Mambo.

I'm currently using Mambo (4.5.2) and Gallery (1.5-RC2).

Gallery on it's own works fine.

I then integrated it by installing the com_gallery component & set the full path.

I then install gallery as a compent. This works fine as well. I can browse to different pages/albums etc.

However, when I actually click on the picture to load it up. I then see an error msg of:

Warning: Invalid argument supplied for foreach() in /home/xparte/public_html/xparte/layout/breadcrumb.inc on line 45

This is shown above and below the picture.

The strange thing is, if I then browse to the gallery outside mambo (direct URL) and go to the pictures I don't get the error. It happens for all pictures.

I notice that Gallery when display alone has a path of xx.com/album1/Sally_Bike

However, when embedded into Mambo, it comes back with a index.php?set_albumName=album1&id=Sally_Bike&option=com_gallery&Itemid=28&include=view_photo.php

Could this be a SEF URL issue ?

Has anyone had this problem ? Thanks !

 
signe
signe's picture

Joined: 2003-07-27
Posts: 2322
Posted: Sun, 2005-06-12 09:29

The first thing you need to do is upgrade to 1.5 final and see if this problem still exists.

 
xdevil

Joined: 2005-06-12
Posts: 3
Posted: Sun, 2005-06-12 09:42

Oops.. sorry.. I looked at the wrong rar file when posting.

I'm actually on this version:

gallery.1.5.1-cvs-b28.tar.gz

Should that be ok ?

 
jetbrains

Joined: 2006-06-01
Posts: 2
Posted: Wed, 2006-06-07 11:57

I have the same problem
"
Warning: Invalid argument supplied for foreach() in /hsphere/local/home/gwoods/developerzone.biz/modules/mod_mamboboard5hoverpro.php on line 56"
www.jokelogic.com