akirafreak / phppi

Automatically exported from code.google.com/p/phppi
GNU General Public License v3.0
0 stars 0 forks source link

New folders not showing in Gallery homepage #36

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install PHPPi
2. Delete Samples folder
3. Upload new folder

What is the expected output? What do you see instead?
Expect to see the new folder displayed in the gallery, but I see the sample 
folder, which is no longer there.

What version of PHPPI are you using? On what operating system?
v 1.2.0
Linux (with Plesk 9)

Please provide any additional information below.
Is there a way to force the gallery homepage to detect new folders?
How long is the interval between searching for newly uploaded folders?

Original issue reported on code.google.com by club.gr...@yahoo.co.uk on 1 Jul 2013 at 8:58

GoogleCodeExporter commented 8 years ago
I would say you probably have use_file_cache enabled which means that it won't 
re-check folders until the cache is expired (usually 1 or 2 days depending on 
what you have set). To bypass this while adding to the gallery you can turn off 
use_file_cache, or if you keep it enabled simply empty the contents on your 
phppi cache folder which will cause it to re-check the folder.

Original comment by gorounreal on 1 Jul 2013 at 9:57

GoogleCodeExporter commented 8 years ago
Perfect. Thank you.
That has sorted it.

The file/folder cache is set to keep for 24 hours, I have changed this to 1 
hour, at least for while I am adding photos.

Thanks again.

Original comment by club.gr...@yahoo.co.uk on 1 Jul 2013 at 10:06

GoogleCodeExporter commented 8 years ago

Original comment by gorounreal on 3 Jul 2013 at 8:22