Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

godaddy file count exceeds 1024 for cache!!!
https://www.tinywebgallery.com/forum/viewtopic.php?f=1&t=5906
Page 1 of 1

Author:  Jacobcullen [ 8. Mar 2019, 17:57 ]
Post subject:  godaddy file count exceeds 1024 for cache!!!

Apologies if this is already discussed but if it is I did not see it.

So - I just an email from godaddy saying I had exceeded the maximum file count for any given directory and they were going to suspend my account if I didnt address the issue.

The directory in question was my twg/cache directory - the defualt is to store all cache files in this single directory, it isnt hard to imagine that 1024 files could be exceeded with a photo gallery quite rapidly.

This can be remedied by making your cache dir structure the same as your album structure, thus - unless you have more than 1024 files or directories at any given level you should be all set.

To do this add "$use_cache_with_dir = true;" to my_config.php either by editing the file or preferably though the admin panel under "Additional"

Hopes this helps someone and doesnt bother anyone.Nox VidMate Mobdro

Author:  TinyWebGallery [ 10. Mar 2019, 14:53 ]
Post subject:  Re: godaddy file count exceeds 1024 for cache!!!

This is correct. This is not the default because not all systems allow to create directories with the correct rights...

Best, Michael

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/