Welcome to Geeklog, Anonymous Monday, December 30 2024 @ 12:44 pm EST

Geeklog Forums

Prob with random image from gallery


Anonymous

Anonymous
it doesn't happen every time but sometimes the random image doesn't load. If I click on th little red x I get this error. ERROR: requested index [] out of bounds [3] Fatal error: Call to a member function on a non-object in /usr/local/plesk/apache/vhosts/httpdocs/gallery/classes/Album.php on line 660 The php block works about 50% of the time. Also I would like to add a link right uder the picture. How do I code this? I know the HTML code but not the php code so that it outputs to the screen.
 Quote

Status: offline

ltcolumbo

Forum User
Regular Poster
Registered: 12/17/01
Posts: 91
Quote by: Anonymous

it doesn't happen every time but sometimes the random image doesn't load. If I click on th little red x I get this error.

ERROR: requested index [] out of bounds [3]
Fatal error: Call to a member function on a non-object in /usr/local/plesk/apache/vhosts/httpdocs/gallery/classes/Album.php on line 660

The php block works about 50% of the time.

Also I would like to add a link right uder the picture. How do I code this? I know the HTML code but not the php code so that it outputs to the screen.



If you have modified your images (added or removed) before the cache has updated, it may cause that error.
 Quote

All times are EST. The time is now 12:44 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content