Welcome to Geeklog, Anonymous Tuesday, July 08 2025 @ 11:25 pm EDT
Geeklog Forums
Gallery Random Block Only Drawing Header and Left Block
Status: offline
Forum User
Full Member
Registered: 07/06/02
Posts: 324
When i have the Gallery Random Block enabled (v1.1 or v1.2) GL only draws the header and left block. the center blocks and right block are missing. Is there any code i can add to troubleshoot the random block to see where the error is?
7
11
Quote
Status: offline
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
You probably have to enable error_reporting in your php.ini (if you have access to it).
Also check out the numerous discussions about the random gallery block over on squatty.com ...
bye, Dirk
Also check out the numerous discussions about the random gallery block over on squatty.com ...
bye, Dirk
11
9
Quote
Status: offline
Forum User
Full Member
Registered: 07/06/02
Posts: 324
Thanks Dirk...
It was a weird problem (and i dont know if anybody else ran into this) however, the random block creates a block-random.cache in the public_html/gallery/ dir that specifies the folder name and # of images in that folder... for whatever reason (i'm assuming permissions) the file was being deleted or not updated properly, causing the problem...
in any case, i have it working now, i'm a happy camper.
It was a weird problem (and i dont know if anybody else ran into this) however, the random block creates a block-random.cache in the public_html/gallery/ dir that specifies the folder name and # of images in that folder... for whatever reason (i'm assuming permissions) the file was being deleted or not updated properly, causing the problem...
in any case, i have it working now, i'm a happy camper.

9
13
Quote
All times are EDT. The time is now 11:25 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