Random Block Script Gone Wild

verbum

Joined: 2003-04-13
Posts: 11
Posted: Sun, 2003-04-13 22:29

Warning: I'm php-illiterate (but can follow directions :smile:

Problem: The following is showing in the random image area as well as others places within the Gallery:

Warning: fopen(/home/cichlidg/public_html/albums/block-random.cache) [function.fopen]: failed to create stream: Permission denied in /home/cichlidg/public_html/platform/fs_unix.php on line 53

I had this mod installed--i.e., did not do it myself, hence my plea for help. Yesterday I compiled IMAP with php on the server but seriously doubt that has anything to do with this.

*Any* direction would be much appreciated.

Specific system info including URL follows below.

Thanks!

Tom
------

Gallery URL: cichlidgallery.com
Gallery version: 1,3,3
Apache version: 1.3.27
PHP version: 4.3.1
Operating system: Linux
Web browser/version: IE 6, Opera

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Sun, 2003-04-13 23:39

Please make sure that Gallery has write permissions to your albums directory.
chmod -R 777 albums should accomplish this. Also, remove any existing block-random.cache that might be there.

-Beckett (

)