Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
2 registered (Gizmo, SteveS), 38 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/07/07
Posts: 4
Top Posters (30 Days)
Ruben 50
DennyP 24
Gizmo 23
Dunny 15
SteveS 13
AllenAyres 12
dbremer 10
SD 10
drkknght00 9
doug 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Topic Options
#248068 - 01/19/12 09:39 AM Attachments Storage Directory
BigAl Offline
stranger
Registered: 04/22/10
Posts: 6
I've done some searching, and I can't find anything on this problem.

I just moved my site from a VPS to Shared Hosting. The new host has a limit on how many files can be in a certain folder. My Attachments Folder has over 7,000 image files, the hosts limit is 1,024. As such, the directory test says "Folder exists, but can not be written to by the web server". Also, none of those attachments are visible in the forum anymore.

Is there a way to use multiple directories for the Attachments (or even better) a way for the attachments directory to be located on a different server? I do not want to delete 6+ years worth of members photos, I'd rather just host the directory on another server that does not have a limit on number of files.

Thanks in advance!
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#248863 - 04/07/12 12:19 PM Re: Attachments Storage Directory [Re: BigAl]
BigAl Offline
stranger
Registered: 04/22/10
Posts: 6
Any ideas for this one?
Top
#248864 - 04/07/12 12:49 PM Re: Attachments Storage Directory [Re: BigAl]
Dunny Offline
addict
Registered: 01/16/08
Posts: 460
Loc: DE USA
You could actually use a different folder for your images. The hard part actually would be that you would have to do a lot of work on your end to do it. These files have been there a long time, and all the relative links in UBB would point to them there. So you would make a new folder, put your images in, and you would have to add more relative links to the new folder(s) in your UBB script in order for UBB to know where they were. It would not be an easy task in my opinion.

This said, as I am writing this, I am not an expert. I would recommend asking one of the more savvy guys like SD, Gizmo, Ruben, or gliderdad, as they are probably the most familiar with something of this caliber.

Dunny
_________________________
Dunny

Removed link due to bleedover spammers

Dawn of Iskirra
Top
#248865 - 04/07/12 03:59 PM Re: Attachments Storage Directory [Re: BigAl]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
well first issue is the host you went to limiting a number of files per folder.
The real issue as Dunny stated is all the attachments are indexed in the posts via the dbase. So attempting to move them elsewhere would be a major headache. Since the links would be broken.

But anyway. The statement:
Quote:
As such, the directory test says "Folder exists, but can not be written to by the web server". Also, none of those attachments are visible in the forum anymore.

Makes me think that there is in fact a permission issue.
Maybe with the limit you can't post net new attachments. But the existing 1024 files should work. As long as you copied over the test file when moving.
When I speak of permissions don't forget there is a group permission. Which you may not be the owner of.
For example my attachment folder is set to permission of 755 but the group owner is 515513.

What you might do is for a temporary test, create a new attachment directory with no files and run the test link and see if you are successful.
My bet is the group permission is the culprit.
Which would be something your host needs to change.
_________________________
Blue Man Group
Top



Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10492 Members
36 Forums
33842 Topics
181709 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image