View previous topic :: View next topic |
Author |
Message |
Edward_Elric_1308 Elder Than Dirt

Joined: 07 Jul 2005 Posts: 5013 Location: My account's gonna be deleted
|
Posted: Thu Apr 03, 2008 6:47 am Post subject: |
|
|
I think what the problem is, is trying to upload an avvie that's bigger han 64 x 64. I tried that earlier with a pic over 100 x 100. Anything bigger than 64 x 64 will give you the error message.  |
|
Back to top |
|
 |
Stratadrake Elder Than Dirt

Joined: 05 May 2004 Posts: 13724 Location: Moo
|
Posted: Thu Apr 03, 2008 9:15 am Post subject: |
|
|
If it has problems resizing avvies over 64x64, why would it resize avvies over 100x100 without problem? _________________ Strata here: [url=http://www.nanowrimo.org/eng/user/242293]Nanowrimo[/url] - [url=www.fanart-central.net/user-Stratadrake.php]FAC[/url] - [url=http://stratadrake.deviantart.com]dA[/url] - [url=www.furaffinity.net/user/Stratadrake/]FA[/url]
[size=9]Disclaimer: Posts may contain URLs. Click [url=http://tvtropes.org/pmwiki/pmwiki.php/Main/TVTropesWillRuinYourLife]at your own risk.[/url][/size] |
|
Back to top |
|
 |
Edward_Elric_1308 Elder Than Dirt

Joined: 07 Jul 2005 Posts: 5013 Location: My account's gonna be deleted
|
Posted: Thu Apr 03, 2008 10:19 am Post subject: |
|
|
The system is obviously buggy. It worked fine before. |
|
Back to top |
|
 |
Sora121 Developer

Joined: 02 Oct 2006 Posts: 2591 Location: I'm here some place
|
Posted: Thu Apr 03, 2008 3:27 pm Post subject: |
|
|
It's hard to say what the problem could be, seeing as any of the changes we made last update could have effected this in some small way.
That file isn't exactly small nor simple.
Edward, could you copy and paste all the error text (The output in the header) from that picture you posted, I would like to know where the problem is halted so I could try and back trace it.
Thanks. |
|
Back to top |
|
 |
Edward_Elric_1308 Elder Than Dirt

Joined: 07 Jul 2005 Posts: 5013 Location: My account's gonna be deleted
|
Posted: Thu Apr 03, 2008 4:08 pm Post subject: |
|
|
Here they are. Looks like a bug.
[quote][u][b]Error[/b][/u]
Error resizing[/quote]
[quote][function.unlink]: No such file or directory in [b]/usr/home/sites/www.fanart-central.net/www/register.php[/b] on line 191[/quote]
It's unusual. My current skin was the New one, and I chose a new file to be my new avvie, then I switched the New skin with the Silver one, and I got both messages.
When you try to change your avvie using the New skin, but not changing the skin, you only get the first error message. |
|
Back to top |
|
 |
Sora121 Developer

Joined: 02 Oct 2006 Posts: 2591 Location: I'm here some place
|
Posted: Thu Apr 03, 2008 7:08 pm Post subject: |
|
|
Thanks, I'll look into it further and get back to you ASAP.
Sorry, we killed your Avatar again...  |
|
Back to top |
|
 |
Edward_Elric_1308 Elder Than Dirt

Joined: 07 Jul 2005 Posts: 5013 Location: My account's gonna be deleted
|
Posted: Thu Apr 03, 2008 7:10 pm Post subject: |
|
|
O.o, I just noticed that. It's no problem.
You're welcome. Glad I could help!  |
|
Back to top |
|
 |
Sora121 Developer

Joined: 02 Oct 2006 Posts: 2591 Location: I'm here some place
|
Posted: Thu Apr 03, 2008 9:14 pm Post subject: |
|
|
Think I've found it.
This would explain why it only works when people upload .jpg images.
[code:1]
if(!file_exists(AVATAR_DIR.'/'.$uid.'-'.$time.'.jpg'))
{
fatal_error("Error resizing");
}
[/code:1]
As you can see the code here (~ Line 221 in beta file) uses ".jpg" as its extension when the file is saved with the uploaded files extension (.jpg/.gif/.png/etc).
As for any other problems, I'd have to do more looking. I'm heading out for the night, though. I've made changes to Beta to correct the .jpg only error. |
|
Back to top |
|
 |
cstdenis Evil Overlord

Joined: 31 Dec 1969 Posts: 6490 Location: In the tubes.
|
Posted: Thu Apr 03, 2008 10:07 pm Post subject: |
|
|
Looks like I broke it a while ago when I added timestamps to avatar filenames quite a while ago to fix the problem of avatars not appearing to change due to browser caching.
Fix it in beta then port the patch to stable when it works. _________________ You will obey or molten silver will be poured into your ears. |
|
Back to top |
|
 |
|