Log in

View Full Version : upload of attachment failed


hgb
01-17-2011, 07:30 PM
good day all,

on the 13th all was ok and has been for 5 years on my site then on the 14th it was down so i had my host fix it, they said it was an permission issue on there side(I haven't touched anything in over 3 years) and not sure what happened on the 14th.

on the 15th a long time user post that he can no longer upload a file of any size and i check and have no issue with a upload and tell him to clear cookies ect. but no good.

a few more long time users also started to post the same and even 1 of my admins cant upload now but alot still can upload with no issues.

my host now tells me that those users prob. dont have upload rights and i need to fix that on my end:rolleyes: tho i haven't changed anything or installed anything in years:confused:

well i did check and everything is ok from what i can tell and no settings within vb have been changed so i disabled all mods and went to a stock skin but still no luck:confused:

I did search here and see the image dir can get chmodded back to 755 at times which mine was:confused: so i changed that to 777 and the 9 sub dirs under it to 777 as well but there are sub dir. within sub dir. and wanted to know if those also need to be changed to 777?

I have tried using a couple of the accounts that no longer can upload and i get the same error (just says upload failed) I also created a new test account that has no problems with uploads??

so far this seems to effect 8-10 users and not just all in 1 user group so got me stumped a bit.


thank you for any help on this issue

kh99
01-17-2011, 08:10 PM
Someone else might know exactly what your problem is, but in the mean time - are you talking about uploading attachments? And do you remember exactly what the error message said?

Lynne
01-17-2011, 08:12 PM
If your images are stored in the filesystem, then that directory, and all directories in it, must be chmod 777.

hgb
01-18-2011, 01:33 AM
If your images are stored in the filesystem, then that directory, and all directories in it, must be chmod 777.

ok thanks Lynne, I will do that and report back

--------------- Added 1295371067 at 1295371067 ---------------

it seems my host installed suphp and that doesn't support chmod 777?


is there a work around for this or do i now need to move all the attachments into the DB?


thanks

Lynne
01-18-2011, 07:28 PM
If you host doesn't allow you to store the attachments in the filestystem, then you will need to store them in the database.