Skip to main content Help Control Panel

Login   A+   A-

Community «   Discussion forum «   Bug tracker «  

Unable to move the upload file to ....

avatardan alex -- on Feb. 7 2007
Hi,

I'm trying to upload a *.GIF image and I get this error message:

" Unable to move the upload file to "/usr/home/webroot/lx.ro/vhosts/mysitename.lx.ro/images/article/20/aaa.gif" "


Of course, the 'article' and 'images' folder are CHMOD-ed to 777, but when I checked I saw that the '20' folder was not even created.

Is there some option that I should enable first?

Thx, Alex

k.gif
Alx84dan
avatar
11 posts

on Feb. 7 2007


Ok..

I finally did it. Seems that the only way is to create the folders by myself (including the 'thumbs' folder) and then CHMOD them to 777.

Still, not too happy about this.

Could it be because the server is running in safe mode and maybe scripts don't have permission to create folders? That's strange, because it worked just fine during the installation.

see u
NickR
avatar
from West Yorkshire, UK
332 posts

inspired from alx84dan on Feb. 8 2007


Alx84dan:

Maybe its safe-mode (I have no experience of running safe-mode), but I did remember that the readme.txt has this:

" YACS requires adequate rights to write files in this structure. An adequate setting for the setup is to chmod everything to 707.

cd your_installation_directory chmod -R 707 . ls -l

In case of PHP safe mode, you will have to chown every directory and file to the UID used by the web server to run YACS. "


Would suggest a read of the readme.txt file (should be in the base folder) for info about different permissions settings, which is in detail towards the end of the file.

Hope this helps


Nick
Bernard
avatar
from nearby-an-airport
Associate, 6732 posts

on Feb. 9 2007


According to what you are describing YACS seems to be not able to create directories on his own. In such a situation you should check permissions given to the web daemon (that is running YACS) for the specifc right of directory handling.

Rate this page
Posted by Alx84dan on Feb. 7 2007, commented by Bernard on Feb. 9 2007, (popular)