Welcome to Geeklog, Anonymous Monday, October 02 2023 @ 04:10 pm EDT

Geeklog Forums

GalleryRandomPhoto_v1.2 'help'


Hello all,
I have looked through the forums, both at geeklog and squatty, and can't find the answer. Lots of posts by people saying they have worked it and thats it, nothing actualy posted as to what they did to remedy the prob...

anyway my problem is....
after installing the Gallery Random Photo block v1.2 I get this error..

Warning: fopen(/home/?????????/public_html/gallery/randomblock/block-random.cache): failed to open stream: Permission denied in /home/??????????/public_html/gallery/platform/fs_unix.php on line 55

The block still works and displays a photo. If pos I would like a fix that doesn't just turn down the error logging to hide to errors please.

thanks to who ever posts an answer.


Looks pretty simple to me. The webserver does not have permission to open and or write to:


change the permissions/ownership on that file so that the webserver can open and write to it.

Status: offline


Forum User
Regular Poster
Registered: 05/15/04
Posts: 97
What he said. 677...I think.


I have the same problem. When I change the perms. I end up with a
Warning: Invalid argument supplied for foreach() onl line 97 of block-random.php

I have read the install.txt and it does address this but I still can't fix it?


Here is my site.


As you can see the thing works but there is just this error everytime the page opens.???


I got it. man this forum is the best.


I just need to name the the cache_file path /tmp/block-random.cache/

All times are EDT. The time is now 04:10 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