Welcome to Geeklog, Anonymous Monday, December 09 2024 @ 08:52 am 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.
9
25
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.
11
7
Quote
All times are EST. The time is now 08:52 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