I can't upload any pictures through the blog admin if I chose one of the catalogs I created.
I get this error message:
Warning: move_uploaded_file() [function.move-uploaded-file]: SAFE MODE Restriction in effect. The script whose uid/gid is 20090/20090 is not allowed to access /mounted-storage/home36c/sub003/sc29138-APKQ/www/uploads/Kjeller owned by uid/gid 99/99 in /mounted-storage/home36c/sub003/sc29138-APKQ/www/include/admin/images.inc.php on line 256
Det oppstod en ukjent feil, filen ble ikke lastet opp. Kanskje er din filstørrelse større end den maksimale størrelse tillatt av ditt serveroppsett. Spør din webtilbyder eller rediger din php.ini fil for å tillate uploads av større filer.
I have both the upload folder and the Kjeller folder (thats the catalog Im trying to add it to) in CHMOD 777. That last part of the error message is in Norwegian and says that: A unknow error occured. Maby the filesize is to large. Try to increase the maximum size allowed.
In your case you have problems because your web provider has enabled the SAFE MODE. In that case you need to make sure that the 'uploads' directory is owned by the user that the PHP webserver runs as.
Depending on the webserver setup, you might not be able to do that. Please talk to your provider and ask him how to proceed on getting a proper setup to be able to make PHP accept uploaded files on your webserver.
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
The problem with new directorys can be solved, if you set 2777 to the uploads directory (better 2775 ). Every new directory is now in the right group an you can write in it.
The directory you want to safe/move the file, is owned by the webuser (i.e. Debian the user and group is 33 -> www-data), but the user/group you run is 10015. Set the guid bit and the problems should be solved becouse the directory is owned by www-data:10015 instead of www-data:www-data.