mambo - gallery error

maddunr
maddunr's picture

Joined: 2004-07-29
Posts: 51
Posted: Fri, 2004-09-03 01:57

ok, so, i got gallery working in mambo and managed to upload pics using the admin interface (since i couldnt get GR to work with mambo, but anyway, that's a diff prob).

once on my mambo pages, i can see my 2 albums and it even shows highlights :). but when i click the album name / highlight to go to the album, my fixed width template moves to the right of the page and i get this error:

Quote:
Error: Requested index [0] out of bounds [12]
Fatal error: Call to a member function on a non-object in /home/viveknra/public_html/elmdorstoneman/gallery/classes/Album.php on line 1600

now, i can see the albums just fine when i go to the album url directly. can anyone pls point me in the right dir here?

you can see the mambo site here. click on the "gallery" link.

 
signe
signe's picture

Joined: 2003-07-27
Posts: 2322
Posted: Fri, 2004-09-03 06:57

The problem is phpShop. Gallery and phpShop can not co-exist peacefully because phpShop uses some very generic variable names and embeds them into everything. (such as '$page', which gallery uses to determine which page number you're looking at)

You either have to remove phpShop, or Gallery. There's no way around it at this point in time.

 
HaZMaT76

Joined: 2004-08-25
Posts: 14
Posted: Wed, 2004-09-15 16:06

i am having a similar problem, except it seems to remove the 'rowspan' tag in the leading TD tag. please see thread: http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=20951

what could be causing this conflict? the page (currently not the leading template) loads fine, but as soon as hover over a link in the gallery component page (and only the gallery page, no other page causes this problem) the layout is messed up as you can see in the screenshots. the same problem happens when i change the value of the CSS style for BODY from "overflow: scroll;" to "overflow: auto;"
any advice would be helpful!

the problem does not show up in my regular template where the 'rowspan' tag is not in the HTML code.

Thanks :)