[Solved] Out of bounds error when on thumbnail after 1.5 upg

TV21

Joined: 2004-11-30
Posts: 13
Posted: Tue, 2005-05-03 07:15

I have been using gallery 1.4pl6 and upgraded to 1.5 this weekend.

When I click on the thumbnails in an album, I get this message:

Error: Requested index [0] out of bounds [13]
Fatal error: Call to a member function on a non-object in /home/grapwic1/public_html/gallery/classes/Album.php on line 1405

URL: http://www.graphwickes.com/gallery/wedding1

I get this problem for every thumbnail in every album. Prior to the update it worked fine. I re-ran the config wizard but it didn't help.

However, the slideshow works fine.

I think the ISP is using the latest PHP on a linux box.

thanks in advance
----
The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful):
Gallery version:
Apache version:
PHP version (don't just say PHP 4, please):
Graphics Toolkit:
Operating system:
Web browser/version (if applicable):

 
fryfrog

Joined: 2002-10-30
Posts: 3236
Posted: Tue, 2005-05-03 10:43

It sounds like maybe some how a file or two were missed during upload. My first step would be to try re-uploading your fresh gallery dir. You can use ftp to rename the OLD dir to something like "gallery-old" and then upload your known clean copy. This way you'll have your old (well, busted now) copy just in case.

 
TV21

Joined: 2004-11-30
Posts: 13
Posted: Wed, 2005-05-04 00:37

I wiped the install and re-uploaded per your suggestion and it now works fine.

thanks! :D

 
fryfrog

Joined: 2002-10-30
Posts: 3236
Posted: Wed, 2005-05-04 00:42

Thats great, easy fixes are the easiest!