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=3332
Page 1 of 1

Author:  raustin [ 6. Jun 2012, 07:53 ]
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.

Author:  TinyWebGallery [ 6. Jun 2012, 09:21 ]
Post subject:  Re: godaddy file count exceeds 1024 for cache

This is the right way to do it ;).

Best, Michael

Author:  raustin [ 6. Jun 2012, 21:06 ]
Post subject:  Re: godaddy file count exceeds 1024 for cache

1.8.8 is great by the way, very fast, now if only wordpress could do the same :) - would you mind getting a job there and fixing that for us :)

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