URL to your eFiction: http://www.naiceanilme.net
Version of eFiction: 3.5.2.
Have you bridged eFiction, if so with what?:no
Version of PHP: 5.2.10
Version of MySQL: 5.0.67
Have you searched for your problem: yes
I noticed this problem just now, but I suppose the image upload has been broken for a while. When I want to upload and image I get this:
Warning: move_uploaded_file(stories/1/images/cry.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /www/htdocs/w00c6ba9/includes/upload_class.php on line 132
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpk7GpQF' to 'stories/1/images/cry.jpg' in /www/htdocs/w00c6ba9/includes/upload_class.php on line 132
Warning: fopen(stories/1/images/imagelist.js) [function.fopen]: failed to open stream: Permission denied in /www/htdocs/w00c6ba9/user/manageimages.php on line 37
Warning: fwrite(): supplied argument is not a valid stream resource in /www/htdocs/w00c6ba9/user/manageimages.php on line 41
Warning: fclose(): supplied argument is not a valid stream resource in /www/htdocs/w00c6ba9/user/manageimages.php on line 42
I searched the forums and it looks a bit like what's described here: https://efiction.org/forums/index.php?topic=5310.msg28749#msg28749 The fix doesn't apply anymore, though, and I'm a bit lost. Any ideas?
Your folders aren't CHMOD'd right would be my guess.
That's what I thought, too. I checked and the stories-folder is set to 777. The images-folder for users is at 755. Just to be sure I set mine manually to 777. It seems the upload will work then, but I'm still getting an error:
Warning: fopen(stories/1/images/imagelist.js) [function.fopen]: failed to open stream: Permission denied in /www/htdocs/w00c6ba9/user/manageimages.php on line 37
Warning: fwrite(): supplied argument is not a valid stream resource in /www/htdocs/w00c6ba9/user/manageimages.php on line 41
Warning: fclose(): supplied argument is not a valid stream resource in /www/htdocs/w00c6ba9/user/manageimages.php on line 42
Does this mean I should set all user-folders to 777? Why are they at 755 anyway *is still clueless*?
Yes, I would change them to 777. There's a lot of reasons why they could be set to 755. The other error is probably because it's looking for that file and not finding it.