Welcome to Geeklog, Anonymous Friday, March 24 2023 @ 05:22 am EDT
Geeklog Forums
File upload problem
Status: offline
superjosh
Forum User
Newbie
Registered: 08/13/03
Posts: 2
I tried to find a post with a similar error, but couldn\'t, so here\'s the problem. When users (and me, for that matter) try to upload a user photo, they receive this message:
Warning: move_uploaded_file(D:/wwwsites/joshwilsonorg/www/images/userphotos/SuperJosh.jpeg): failed to open stream: Permission denied in D:wwwsitesjoshwilsonorggeeklog_privatesystemclassesupload.class.php on line 453
Warning: move_uploaded_file(): Unable to move \'C:WINNTTEMPphp414.tmp\' to \'D:/wwwsites/joshwilsonorg/www/images/userphotos/SuperJosh.jpeg\' in D:wwwsitesjoshwilsonorggeeklog_privatesystemclassesupload.class.php on line 453
Warning: chmod(): No such file or directory in D:wwwsitesjoshwilsonorggeeklog_privatesystemclassesupload.class.php on line 521
ERRORS
Upload of superjoshavatar.jpeg failed.
Chmod of superjoshavatar.jpeg to 0644 failed
Ok, i\'ve looked at the upload.class.php at line 453 and couldn\'t find anything about permissions. The line 521 error just confuses me. I verified the user photo directory exists. As for the chmod, well, that\'s probably because the file doens\'t exist becasue it won\'t upload.
I\'ve checked my permissions through ftp, but I\'m not sure if it\'s reporting back correctly since the server is a Windows box (not by my choice...)
Anyways, any help would be greatly appreciated.
Josh
-Josh
-Josh
3
1
Quote
All times are EDT. The time is now 05:22 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content