need help with changing where attachments are saved

tighter_ass

New Member
wasnt sure where to post this question..

ok..im trying to change where attachments are uploaded.. i made a folder
/back i set it to 777 ..when i try to change Attachment File Path

i get this "We attempted to write a test file to /back, but we were unsuccessful. Please verify that the web server has write/delete permissions for this path." im not sure what causing this.. i own my own web site..
i have set myself up with full access ...so..im not sure where to go to fix this..or as i said whats causing this.. was working fine a month ago ..and now cant upload attachments.. also. i cant even back up my forums any longer.. says the same thing as i stated above..

has anyone had the same problem and if so..how did u fix it?
 
You need to specify the entire path, as in /home/youraccount/public_html/yourforumroot/back. Also, if you're keeping the attachment directory at permission level 777 (which, as I recall, is required), you might want to keep the attachment directory above the /public_html, such as /home/youraccount/back.
 
ok that worked..been a while since i played with this.. new something wasnt right..
now that i have changed it.. i get this error when i attach an attachement to the forums.

"Imageinfo Failed:
PHP ERROR exec() has been disabled."

is this error something to do with my forums or server side?
 
That sounds like a server-side issue, a PHP option that your host may have turned off. You may be able to turn it back on by making your own local php.ini with the options specified the way you want them and place it in the forum root IF your host supports local php.ini.

If that doesn't work and your host won't enable the exec() function, check to see if the server you're on is running with safe_mode on and if so, see if he'll turn it off or put you on a server where it's turned off.
 
ok got the exec() function fixed up.. whats cozing this next error? is it still server side?

Imageinfo Failed:
sh: /identify: No such file or directory
 
That's an ImageMagick error. Try telling vB that you want to use GD instead and see if that helps.

AdminCP -> vB Options -> Image Settings
 
that worked...

one last thing. i was able to back up my forums 2 days ago.. using /home/youraccount/
and yesterday after my hosting company played around with the settings ..when i do back up i see this message "This file or the directory this file is in must be world writable"
u think they disabled write from my ftp root? (hope i asked that question right lol)
no matter what path i use ..i get that message
 
Are you trying to backup via cPanel or an FTP download of your site or some other way? It definitely has to do with directory permissions, but I can't tell where or why from your post.
 
via cPanel im doing it

ok i tried it to /home/myaccount/folder/backup.file which is set to 777 and it worked.. but im unable to to put it in this path
/home/myaccount/backup.file which worked a few days ago.. so im guessing they have disabled write to this path /home/myaccount/ ?
 
Check in the file manager in cPanel to make sure the directory permissions of the target directory are 777. That should make it world writeable. If it's already 777, then you shouldn't be getting that error and should should probably talk to your host about it.

EDIT: I don't think they would make your account root world writeable, nor should they. Bad idea security-wise.
 
ok..thx .. atleast i can back up to a folder thx for all your help..i really appreciate it!
i just wanted all this working and ready for when i upgrade my forums..didnt want to run into any problems when i do it.
 
Back
Top