New Pornstar Interviews - [more]
Hazel Heart Interview

"I LOVE the taste of myself actually. I love the smell and the taste and playing with myself afterwards! It’s fun."
All Forums > Tech Talk > Tech Talk Forum Page 26 > Prob uploading new avatar.
AuthorPost
ChodeMasterJ
Perpetual Marxist

5405 Posts
4/03
Posted - Jun 12 2008 : 4:48AM
i'm trying to upload a new avatar and it says my connection is too slow to upload the pic within the time limit. I've never seen this before. Is this a bug or is my connection lagging or something? I've got broadband, btw.
Edit: just tried again and this is exactly what it said when it stopped the upload.
9% done
(324 KB of 3346.5 KB uploaded,38 KB/sec)
Estimated time remaining: 1 minutes 20 seconds
Your connection speed is too slow to finish within the time limit. Upload stopped.
Edited by - chodemasterj on Jun 12 2008
OneLouder
Member

203 Posts
12/06
Posted - Jun 12 2008 : 5:45AM
That's a pretty big file - 3346.5KB - for an avatar, dude. I'm sure if you reduce the file size (quality) it will upload no problem. Open it in your photo editor, select "save as" and it should give you options to do that.
ChodeMasterJ
Perpetual Marxist

5405 Posts
4/03
Posted - Jun 12 2008 : 6:39AM
aaaaahhhhh. the answer was right before my eyes then. I did what you said and it worked.
I'm on a Mac btw and this is the first time i've messed with images since i switched over so i was trying to find a way to change the resolution/pixels like i used to be able to do in Infranview on PC, but i clicked save as, renamed it and chose the directory, and moved the slider bar to adjust the quality and it was as simple as that. I was under the assumption it took more work/steps to do it but it worked. Thanks.
Drew Black
broken crankshaft

8009 Posts
9/99
Posted - Jun 12 2008 : 7:30AM
At 3346.5KB it was only 9% finished. That's an incredibly huge file for a 100 x 100 pixel avatar. This is an example of why we have that code in there.
OneLouder
Member

203 Posts
12/06
Posted - Jun 12 2008 : 6:06PM
You're welcome.
 
the unknown pervert
Deactivated User

I'd like to stay but I've got a plane to catch.
3243 Posts
5/06
Posted - Jun 12 2008 : 10:20PM
I'm getting this message when trying to upload a new avatar again.
ABCUpload4.XField.4 error '80004005'
Unable to convert virtual to physical path. A Windows error - Unspecified error - ( hex 80004005) occurred.
/profile_file_upload.asp, line 146
I had the same thing happening last month. It only does it with some of my pictures.
Drew Black
broken crankshaft

8009 Posts
9/99
Posted - Jun 12 2008 : 10:22PM
What's the filename?
Drew Black
broken crankshaft

8009 Posts
9/99
Posted - Jun 12 2008 : 10:23PM
I can't figure out why you're seeing that error. These errors should be getting logged to a file.
the unknown pervert
Deactivated User

I'd like to stay but I've got a plane to catch.
3243 Posts
5/06
Posted - Jun 12 2008 : 10:27PM
File name is One of the two bucks in field behind old Menninger Institute June 8, 2008 (12)
Janitor
Retired

Porno movies, sexy videos, xxx. Adult DVD Talk at your service.
6409 Posts
11/99
Posted - Jun 12 2008 : 10:39PM
I'll have to look at the code. I think that might be kinda long and I'm not trimming it or something.
Janitor
Retired

Porno movies, sexy videos, xxx. Adult DVD Talk at your service.
6409 Posts
11/99
Posted - Jun 12 2008 : 10:39PM
Ooops. Didn't realize I was logged in as Steph. (I'm testing her computer over the new network here at home.)
Jacco All-Star Supporter
All-Star Member

"liable to deprave and corrupt"
2673 Posts
5/04
Posted - Jun 12 2008 : 10:55PM
Try changing the spaces in the filename to _ and maybe get rid of the , and () too.
Jacco
the unknown pervert
Deactivated User

I'd like to stay but I've got a plane to catch.
3243 Posts
5/06
Posted - Jun 13 2008 : 9:40AM
My current avatar has spaces and parenthesises in the file name and it loaded fine.
Edited by - the unknown pervert on 6/13/2008 9:42:18 AM
Drew Black
broken crankshaft

8009 Posts
9/99
Posted - Jun 13 2008 : 9:54AM
Are you possibly on a Mac? Macs use a forked file header. Our uploader is supposed to take that into consideration. I just wanted to check if it's Mac-related so I know which part of the code to look at.
the unknown pervert
Deactivated User

I'd like to stay but I've got a plane to catch.
3243 Posts
5/06
Posted - Jun 13 2008 : 8:16PM
No Mac, HP Pavilion
 
Zoid
Senior Member

Boobies and Anal
2004 Posts
5/04
Posted - Jun 13 2008 : 8:57PM
Just rename your file to foo.jpg (or foo.gif, if it's gif) and give it a shot. At least it will show if the funky filename has anything to do with it.
Edited by - Zoid on 6/13/2008 8:57:56 PM
ChodeMasterJ
Perpetual Marxist

5405 Posts
4/03
Posted - Jun 14 2008 : 1:28AM
i was under the impression that it automatically resized the pictures to the size used for avatars, so i didn't shrink it down before trying to upload it. :) sorry.
Drew Black
broken crankshaft

8009 Posts
9/99
Posted - Jun 14 2008 : 9:03AM
It does shrink files. It also has provisions like the upload timeout to avoid denial-of-service type problems.
the unknown pervert
Deactivated User

I'd like to stay but I've got a plane to catch.
3243 Posts
5/06
Posted - Jun 14 2008 : 9:18AM
I got one of my older pictures to work. It seems like when I try to use a photo that I have taken since around Mothers Day or later it spits out that error message when I use an earlier photo it works fine. I used the same camcorder and the same memory card on all these photos. I don't know why it is causing problems now.
Drew Black
broken crankshaft

8009 Posts
9/99
Posted - Jun 14 2008 : 11:54AM
Can you email one of these photos to me? I'd like to use it to diagnose the problem.
Drew Black
broken crankshaft

8009 Posts
9/99
Posted - Jun 15 2008 : 1:26PM
I'm looking into this at the moment. Are you sure you are trying to upload your avatar? This page isn't the avatar file upload page. It's the profile image uploader. I just wanted to be sure I'm debugging the correct problem.
The line that's throwing the error has to do with the filename. I wonder if your new camera is using a different character set? It looks like I'll need to generate my own temporary filename prior to virus scanning the upload.
Drew Black
broken crankshaft

8009 Posts
9/99
Posted - Jun 15 2008 : 2:30PM
This should be fixed now. It appeared to be related to the length of the filename. When I shortened the name of the uploaded file it worked fine. So I've changed the code so that filenames are automatically truncated on the server prior to virus scanning.
the unknown pervert
Deactivated User

I'd like to stay but I've got a plane to catch.
3243 Posts
5/06
Posted - Jun 16 2008 : 1:15AM
Thanks Drew.

The reason I use such a long name is that I like to keep track of where and when I took the picture. A lot of times it is hard to tell by the background so I like to put as much detailed information as possible. Maybe I should just stay with the DVC name on the file until after I upload it for an avatar and then change the file name.
Drew Black
broken crankshaft

8009 Posts
9/99
Posted - Jun 16 2008 : 8:33AM
It's not a big deal. I'm kinda glad that we caught this bug. It's a bug in the upload component that I use from a company called Web Super Goo. There's a property of this component named "SafeFileName" that's supposed to convert the user-supplied filename to something compatible with the storage system on the server. It's not doing that. I've reported the big to them and worked around it on our end for the moment.
the unknown pervert
Deactivated User

I'd like to stay but I've got a plane to catch.
3243 Posts
5/06
Posted - Jun 24 2008 : 8:21PM
I'm still not able to load new photos I take as an avatar. Tonight I tried again. It went through the usual process then it said the upload was complete and the file was saved. So far so good then it said "Virus Scanning new upload..."
and then nothing. No update saying whether any virus was found or not, no message saying virus scanning completed, it just hangs there. When I hit Ctrl + R it went back to the old avatar.
I tried it twice and the same thing happened each time. How long does it take to scan for viruses when you upload a new avatar? I waited a couple of minutes after the message popped up.
 
Drew Black
broken crankshaft

8009 Posts
9/99
Posted - Jun 24 2008 : 9:44PM
It's usually only a few seconds at the most. I'll check it out.
jrsl76
Senior Member

Perfection
4024 Posts
8/07
Posted - Jun 26 2008 : 12:49PM
The same thing that is happening to TUP is happening to me. I e-mailed Steph about it and she mentioned to e-mail you the picture, Drew. So I'm going to be doing that. I tried with the original picture and then I did a screenshot of that picture which created a .png file which I also tried to upload so I could see if it was just the original file, but again, the same thing.
Drew Black
broken crankshaft

8009 Posts
9/99
Posted - Jun 26 2008 : 6:29PM
I have your email. I hope to investigate later tonight.
ChodeMasterJ
Perpetual Marxist

5405 Posts
4/03
Posted - Jul 4 2008 : 12:56AM
i've uploaded a new avatar several times and it shows it in my profile but doesn't show it under my posts...like in the actual forum. I've tried the command-shift-r and the browser (safari) just makes a noise. I command-r'd and it refreshed the page. Is this the same problem that other are having?
Not a super big deal, just figured I'd let you know Drew. :)
Drew Black
broken crankshaft

8009 Posts
9/99
Posted - Jul 5 2008 : 9:14AM
I don't know how to force a refresh in Safari. I thought it was Command R. If you're seeing the old image it's just because we've told your browser to cache the image for 24 hours. Is there a way to clean out your browser cache in Safari?
ChodeMasterJ
Perpetual Marxist

5405 Posts
4/03
Posted - Jul 5 2008 : 12:47PM
yeah, i know how to clean out the browser cache. i'm not seeing any image at all, that's the problem. the image i uploaded for my avatar is viewable when you view my profile, but in the forum the avatar isn't coming up at all...like i didn't upload an avatar image at all.
Drew Black
broken crankshaft

8009 Posts
9/99
Posted - Jul 5 2008 : 1:17PM
There's no avatar image in your profile. There is a profile image but no avatar.
ChodeMasterJ
Perpetual Marxist

5405 Posts
4/03
Posted - Jul 5 2008 : 10:54PM
fixed. goddamn, i'm retarded. i didn't pay attention and stuff and thought there was just one upload place. sorry for bugging you for dumb shit drew.



Jump To: