Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Public Testing of RavenNuke(tm) v2.10.00
Author Message
ozbutcher
Worker
Worker


Joined: Jan 17, 2007
Posts: 170

PostPosted: Thu Feb 22, 2007 7:16 pm Reply with quote

I tried to upload my avatar from my machine via Forum. It was a .jpg image 80x80 @ 4.86kb.

Error:
Code:
Warning: move_uploaded_file(./modules/Forums/images/avatars/56393950045de3feb900c5.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in <<details removed by admin>>/includes/usercp_avatar.php on line 288


Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpt0Wg1B' to './modules/Forums/images/avatars/56393950045de3feb900c5.jpg' in <<details removed by admin>>/includes/usercp_avatar.php on line 288


I then tried to Uploaded via Entering a URL however this image was slightly bigger than stated requirements. I got this error:


Code:
Unable to upload file

DEBUG MODE

Line : 251
File : usercp_avatar.php
 
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6383

PostPosted: Thu Feb 22, 2007 10:32 pm Reply with quote

Sounds like a permissions issue or missing directory. Make sure the permissions are set to allow writing to the modules/Forums/images/avatars directory.

_________________
I google, therefore I exist...
Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
ozbutcher
PostPosted: Thu Feb 22, 2007 10:35 pm Reply with quote

I can't I'm not a admin of the raven test site but I'm willing Wink j/k.
 
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Fri Feb 23, 2007 6:29 am Reply with quote

Sure wish folks would stop posting the full paths in their threads... Sad

Try again if you like... thx.

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
ozbutcher
PostPosted: Fri Feb 23, 2007 7:29 am Reply with quote

uploading file now works Smile but uploading via URL still shows the same error as above on line 251, file: usercp_avatar.php

* will remember to cut paths in future *
 
Susann
Moderator


Joined: Dec 19, 2004
Posts: 3191
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Fri Feb 23, 2007 11:46 am Reply with quote

Works fine on my testsite. Smile
 
View user's profile Send private message
ozbutcher
PostPosted: Fri Feb 23, 2007 6:49 pm Reply with quote

I had another go. I found out if uploading via URL and if the image is bigger than the required size of 80x80pixels thats when the error occurs:

General Error

Unable to upload file

DEBUG MODE

Line : 251
File : usercp_avatar.php
 
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6793
Location: Ha Noi, Viet Nam

PostPosted: Fri Feb 23, 2007 7:20 pm Reply with quote

I believe thats because Raven has debug mode turned on, When its turned off (which it normally would be in a production site) you would get an error message stating that the file size was too big and a reminder of the correct maxumum size.
 
View user's profile Send private message Send e-mail
ozbutcher
PostPosted: Fri Feb 23, 2007 7:22 pm Reply with quote

Ah right cool. Another solved thread in that case. Can I mark it Fixed or is that only for admins to decide?
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Public Testing of RavenNuke(tm) v2.10.00

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©