Previous Thread
Next Thread
Print Thread
Hop To
#222442 02/15/2009 6:22 PM
Joined: Jan 2005
Posts: 35
P
newbie
newbie
P Offline
Joined: Jan 2005
Posts: 35
We moved to a new server this morning, simply backed up the file structure and unarchived on the new server, now we get this error when testing the user_uploads directory from the cpanel

Directory exists but is not writeable.
Test failed. Either the directory was not found or cannot be written to by the web server.

Permission on this directory are 777, any thoughts?

Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
I used 755 for my attachment directory and it works fine.

But possibly the path may not be 100% correct.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Dec 2005
Posts: 122
member
member
Joined: Dec 2005
Posts: 122
you may also want to check directory ownership.


JakChat.com -- Forums for Indonesia's English-speaking community
Ubuntu-Indonesia.com -- Forums for Indonesia's Ubuntu Users
Joined: Jan 2005
Posts: 35
P
newbie
newbie
P Offline
Joined: Jan 2005
Posts: 35
I checked the permissions and changed them to 755, still nothing. The owner is "crownvic" which is what everything else is owned by. Any more thoughts? I tried creating a new directory and moving the data and still it says Directory exists but is not writeable.

Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
there is a 'test.' file in that directory.. you'll need to chmod it (the file itself) to 666 or simply delete the file, so it can be recreated..

i believe that might be your problem smile

Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
Okay First question :
file permissions I know if I use wsftp it does not reflect the current permissions only what the last command was unless you close and reopen it.
Do you have another avenue to double check the permissions.
Second:
Since you moved to a new host the path may not be correct meaning your control panel has one path but you are changing permissions on a different directory.
Make a file called say pathto.php;
Insert
Quote
<?php echo getcwd(); ?>
in the file . Upload it to the directory in queston. then run it from your browser.
This will verify what the absolute path is to that directory.

What sirdude says is correct also.
When you run the test it creates that file to see if the directory is writable. Maybe that file is bad if it exists.

Last edited by Ruben; 02/18/2009 4:03 PM.

Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jan 2005
Posts: 35
P
newbie
newbie
P Offline
Joined: Jan 2005
Posts: 35
Thanks, that did the trick!

Jason

EDIT: The test.file solution solved the permissions problem. Now we have an issue where new attachments are not being uploaded to the server, looking into that now.

Last edited by p74vic; 02/18/2009 4:06 PM.
Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
Depending on the error that could just be a permission setting in the ubb control panel.
Who can upload,file type allowed, File size allowed,ETC.
If the settings were always there.
I recall a few users just had to open the options and resave the settings.
If it is a file size issue your new host may have a lower file size limit. You can check that in the control panel>>phpinfo


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jan 2005
Posts: 35
P
newbie
newbie
P Offline
Joined: Jan 2005
Posts: 35
The forums show that a file has been uploaded and processes a new post. No file is created in the user_uploads directory however, this appears to be an issue with galleries too.

Jason

Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
Well if the upload is successful in the gallery area what do you get in the post.
Empty box with the old red x? But the post is there?
Sorry corrected this statement
For the Attachments (Not gallery) you have to enter two paths. Absolute and relative.
When you post a gallery item the software will name the actual file with a number prefix. Same as file attachments.
Also the gallery default directories full,medium,thumbs should be set to 777.
If they were wrong to begin with that may be another problem
Sounds like it may be a path issue at this point.
Try looking in your site for the files via ftp everywhere.

If not it may be time to call in the big gun and open a support ticket.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
What is the url to your board?


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
I assume you are at crownvic.net.
Something weird happened when opening a forum I got a popup message not the whole screen that stated "sessions directory to large". Never seen that before.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Mar 2007
Posts: 522
Addict
Addict
Joined: Mar 2007
Posts: 522
The sessions directory currently has 1024 items in it (and climbing).


Steve

UBB.classic from 2000-2003
UBB.threads from 2003-present!
Joined: Mar 2007
Posts: 522
Addict
Addict
Joined: Mar 2007
Posts: 522
Originally Posted by Ruben
Well if the upload is successful in the gallery area what do you get in the post.
Empty box with the old red x? But the post is there?
Correct. Post with empty box and red x.
Originally Posted by Ruben
Sorry corrected this statement
For the Attachments (Not gallery) you have to enter two paths. Absolute and relative.
Understood, and yes, we did.

Originally Posted by Ruben
When you post a gallery item the software will name the actual file with a number prefix. Same as file attachments.
Also the gallery default directories full,medium,thumbs should be set to 777.
If they were wrong to begin with that may be another problem
Sounds like it may be a path issue at this point.
Try looking in your site for the files via ftp everywhere.
We did, and have not located them.
Originally Posted by Ruben
If not it may be time to call in the big gun and open a support ticket.


Steve

UBB.classic from 2000-2003
UBB.threads from 2003-present!

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
2 members (Havenofsobriety, rootman), 624 guests, and 106 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)