Gallery 1.4.4 in Mambo 4.5 -- cannot view albums
bworley61
Joined: 2003-11-05
Posts: 17 |
Posted: Tue, 2004-08-03 20:28 |
Okay, I just upgraded my live gallery from 1.4.2_pl2 to 1.4.4, and then embedded gallery into my Mambo application.. and things are just getting worse... Along with the ever-present "Gallery seems to be inside Mambo, but we couldnt get necessary infos." message in every popup window, I now cannot view album contents. In gallery debug mode, I get the following: Notice: Undefined offset: -14 in /big/dom/mysite/www/gallery/view_album.php on line 688 Notice: Undefined offset: -13 in /big/dom/mysite/www/gallery/view_album.php on line 701 Notice: Undefined offset: -12 in /big/dom/mysite/www/gallery/view_album.php on line 701 Notice: Undefined offset: -11 in /big/dom/mysite/www/gallery/view_album.php on line 701 Notice: Undefined offset: -14 in /big/dom/mysite/www/gallery/view_album.php on line 709 Error: Requested index [0] out of bounds [10] Fatal error: Call to a member function on a non-object in /big/dom/mysite/www/gallery/classes/Album.php on line 1600 The site can be viewed at www.worley-world.com/index.php -- select "Photo Gallery" from the menu. FYI - Gallery work just fine standalone, at www.worley-world.com/gallery/ Any clues?!? |
|
Posts: 2322
That is absolutely bizarre. Is there any way I could get site access to play with it?
Somehow, your starting image index is becoming negative, which should be impossible.
Posts: 17
absolutely -- send me an email with the access requirements you need.
thanks much!
Posts: 2322
Easiest thing would be to drop me a PM here.
Things that would make debugging easiest:
An admin login to Gallery (standalone)
A gallery-admin level Mambo account (not sysadmin, but whatever level you have defined as Gallery administrator in the component control panel) [I'm not seeing a signup link on your index]
FTP or SSH access so I can add debugging statements to files if necessary.
Posts: 17
signe: I provided the requested information in a PM --- let me know what you find! thanks,
Posts: 17
Hello signe,
Have you had a chance to login and debug yet ???
thx
Posts: 2322
No, sorry.. I'll do that this afternoon.
Posts: 2322
Ok.. I just looked at it, and I've identified the issue.
It's phpShop.
phpShop is overwriting some of Gallery's variables (most notably the 'page' variable) which is causing the miscalculations that you're seeing. There's little to nothing that I can do about it except recommend that you remove phpShop.
Posts: 17
I removed phpShop and voila! The albums are back! Thanks much. Can you give me the variable names that are being overwritten, so I can either try to hack up phpShop, or --
find another shopping cart component.
Also - the ol' "... we couldnt get necessary infos." is still present.
thanks again!
Bob
Posts: 19
OLD post, but did you find a way to get gallery and phpshop to coexist?
Posts: 2322
Make sure that phpShop isn't loaded on any Gallery pages. That's it.
Posts: 19
Groovy!! Thanks for the quick reply.
Ever used Mambo and Random Photos from Gallery?
I've been trying to get multiple random blocks on pages of a Mambo site
without success.