Blank Block & No Photo Chosen

Collectonian
Collectonian's picture

Joined: 2004-06-02
Posts: 7
Posted: Fri, 2005-06-17 19:20

I'm running Gallery 1.5 with phpNuke 7.6. I'm trying to use the random photo block, but it doesn't show up when I added it. I thought it might be because I had the album set to only be visible to logged in users, so I changed it to Everybody (trusting php-Nuke's registered user limit instead). However its still blank and when I go to http://www.ezlearnphotography.com/modules/gallery/block-random.php I get "No Photo Chosen."

Is there any way to fix this, or will the block only work if the Gallery is set to be wide open to anyone to use?

 
signe
signe's picture

Joined: 2003-07-27
Posts: 2322
Posted: Fri, 2005-06-17 19:24

The block rebuilds a cache once every 24 hours (by default). You can change the value in the config wizard, or delete the cache file by hand.

 
Collectonian
Collectonian's picture

Joined: 2004-06-02
Posts: 7
Posted: Sat, 2005-06-18 05:07

There isn't a cache file to be deleted. It didn't make one.

 
signe
signe's picture

Joined: 2003-07-27
Posts: 2322
Posted: Sat, 2005-06-18 05:24

You don't make one. The block makes it when it's run, and updates it on a pre-set schedule, as I said. block-random.cache in the albums folder.

 
Collectonian
Collectonian's picture

Joined: 2004-06-02
Posts: 7
Posted: Sat, 2005-06-18 12:31

Like I said, there is no .cache file in my albums folder at all. I can't delete it to reset the cache if it is not there to be deleted.