ERROR_UNKNOWN_NOUPLOAD

Having trouble installing serendipity?
Post Reply
flavour
Regular
Posts: 14
Joined: Mon Feb 02, 2004 12:11 pm

ERROR_UNKNOWN_NOUPLOAD

Post 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?
tomsommer
Core Developer
Posts: 240
Joined: Tue Sep 02, 2003 6:43 pm
Location: Denmark
Contact:

Post by tomsommer »

He didn't do it right then

cd /home/www/web163/html/blog/
chown -R wwwrun:wwwrun *
chmod -R 0777 upload
Tom Sommer (Serendipity Core Developer)
http://blog.dreamcoder.dk
flavour
Regular
Posts: 14
Joined: Mon Feb 02, 2004 12:11 pm

Post 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?
tomsommer
Core Developer
Posts: 240
Joined: Tue Sep 02, 2003 6:43 pm
Location: Denmark
Contact:

Post by tomsommer »

Because you need shell access to do that?
Tom Sommer (Serendipity Core Developer)
http://blog.dreamcoder.dk
flavour
Regular
Posts: 14
Joined: Mon Feb 02, 2004 12:11 pm

Post 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:
tomsommer
Core Developer
Posts: 240
Joined: Tue Sep 02, 2003 6:43 pm
Location: Denmark
Contact:

Post by tomsommer »

try and resync (depending on which version you are using)
Tom Sommer (Serendipity Core Developer)
http://blog.dreamcoder.dk
Bruce
Regular
Posts: 18
Joined: Sun Mar 14, 2004 5:28 am
Location: Ontario/ Canada
Contact:

Post 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.
I didn't do it
flavour
Regular
Posts: 14
Joined: Mon Feb 02, 2004 12:11 pm

Post by flavour »

Ah, great hint, it works! 8)
Post Reply