Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 10:53 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
 Quote

Status: offline

superjosh

Forum User
Newbie
Registered: 08/13/03
Posts: 2
Ok, yeah well, I\'m an idiot and you can ignore me. My ftp program was reporting permissions wrong. It\'s fixed now. Man I hate doing things like that. -Josh
-Josh
 Quote

All times are EDT. The time is now 10:53 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