Welcome to Geeklog, Anonymous Sunday, October 06 2024 @ 07:28 am EDT

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 EDT. The time is now 07:28 am.

  • 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