Page 1 of 1

ERROR_UNKNOWN_NOUPLOAD

Posted: Sun Feb 29, 2004 8:15 pm
by flavour
When I try to upload a file in my s9y installation (one of the latest CVS releases) it just gives me that error message:

Warning: move_uploaded_file(): SAFE MODE Restriction in effect. The script whose uid is 810 is not allowed to access /home/www/web163/html/blog/uploads owned by uid 30 in /home/www/web163/html/blog/serendipity_admin_images.inc.php on line 124
ERROR_UNKNOWN_NOUPLOAD


The point is, that the webhoster just chowned that folder to the uid 30 (which is wwwrun) and did a chmod 777.

What to do else? Could that problem be fixed in a newer cvs snapshot?

Posted: Sun Feb 29, 2004 9:16 pm
by tomsommer
He didn't do it right then

cd /home/www/web163/html/blog/
chown -R wwwrun:wwwrun *
chmod -R 0777 upload

Posted: Mon Mar 01, 2004 2:15 pm
by flavour
Well but the directory was chowned to wwwrun all the time before and it didn't work either.
Why didn't serendipity chown the directory correctly during the installation?

Posted: Mon Mar 01, 2004 2:16 pm
by tomsommer
Because you need shell access to do that?

Posted: Mon Mar 01, 2004 3:40 pm
by flavour
Hostet did even that, I can upload images now but they aren't shown up.
Forget it, I'll live without that buggy function. :roll:

Posted: Mon Mar 01, 2004 3:47 pm
by tomsommer
try and resync (depending on which version you are using)

Posted: Sun Mar 14, 2004 6:37 am
by Bruce
My images didn't show up either, and the only way I got them working was to create a new upload directory, which I called photos, and entered that in configuration screen. Now they work good.
I couldn't change the permissions on "uploads" directory, and couldn't open it even. (ftp access only). Anyways, that fixed the uploads for me.

Posted: Sun Mar 14, 2004 11:26 am
by flavour
Ah, great hint, it works! 8)