Page 1 of 1

The profile avatar upload is broken!

Posted: Sun Sep 10, 2006 10:32 am
by psYco
I have been trying to upload a new avatar but for sumreason it keeps giving me stange eventually I tried a plain black 50x50 4.3kb pic and still no success so I uploaded the same pic to my photobucket account and all I got was a new error message.
Could not write avatar file to local storage. Please contact the board administrator with this message

DEBUG MODE

Line : 165
File : usercp_avatar.php
And im not sure but I dont remember the pics having to be below 6K...

:EDIT: sorry this is the error message when I try upload frm my PC
Warning: copy(./images/avatars/15863049054503ce45d28ca.jpg) [function.copy]: failed to open stream: Permission denied in /usr/local/apache2/htdocs/realityfactory/forum/includes/usercp_avatar.php on line 239

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/apache2/htdocs/realityfactory/forum/includes/usercp_avatar.php:239) in /usr/local/apache2/htdocs/realityfactory/forum/includes/page_header.php on line 475

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/apache2/htdocs/realityfactory/forum/includes/usercp_avatar.php:239) in /usr/local/apache2/htdocs/realityfactory/forum/includes/page_header.php on line 477

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/apache2/htdocs/realityfactory/forum/includes/usercp_avatar.php:239) in /usr/local/apache2/htdocs/realityfactory/forum/includes/page_header.php on line 478

Posted: Sun Sep 10, 2006 1:07 pm
by AndyCR
I can confirm this. I tried to upload a new avatar and it did not work.

Posted: Sun Sep 10, 2006 1:12 pm
by psYco
:?: um so who is in charge of fixing this? I kinda thought you were in charge Andy.

Posted: Sun Sep 10, 2006 2:33 pm
by steven8
Andy and I are moderators. QOD is the administrator.

Posted: Sun Sep 10, 2006 3:13 pm
by psYco
So QoD... Cool!

Posted: Sun Sep 10, 2006 4:51 pm
by QuestOfDreams
It's possible that dhost.info has changed some security settings since the last downtime. I'll have to look into it...

Posted: Sun Sep 10, 2006 6:31 pm
by Sharlenwar
I tried to upload an avatar today too, and same sort of SQL errors.

Posted: Mon Sep 11, 2006 12:09 pm
by jonas
It does something similar with file attachments. So yeah dhost must have changed something on you.

Posted: Sat Sep 16, 2006 7:36 am
by QuestOfDreams
Should be fixed now :)

Posted: Sat Sep 16, 2006 8:12 am
by psYco
Yep! Its working it seams! :D