Author |
Message |
RB
Emperor
Joined: Wed Apr 16, 2003 1:25 am Posts: 2560
|
Cannot upload avatar
I allways get message that img must be less than 12kb in size. This time mine were allways about 2-3kB.
_________________ ++
|
Fri Dec 31, 2004 6:45 am |
|
|
Satis
Felix Rex
Joined: Fri Mar 28, 2003 6:01 pm Posts: 16650 Location: On a slope
|
ok, I verified that it's a problem. The form input page is fine, though, and I can't find where the hell the image procesing is done in the code after you submit. It has to be there that the bug is. If you can find me the file, I'll fix the problem. I know you have a phpbb forum, and the avatar stuff is base-forum material. Conveniently enough, I've been busting my ass working on some php crap lately, including image upload and validation. So once I find where this damn code is hiding at, it shouldn't be too hard to fix.
_________________ They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety.
|
Fri Dec 31, 2004 7:10 am |
|
|
RB
Emperor
Joined: Wed Apr 16, 2003 1:25 am Posts: 2560
|
Ehm, that's not my Forum. I just "keep it". I'll have my own forum, wroten by my own hands soon. But, don't worry. CK is still my nr.1 so I'll keep visiting and would link it probably. By the way, maybe I can grab some moderator here.
Try in includes/usercp_avatar.php with function user_avatar_upload(). I'm not sure what could cause such problem. Did your system admins upgraded to new version of php (i.e.5)? Or you have done some manual upgrades or something?
Btw now "view user profile" not working on my Forum. Dunno why! (another 2.0.11 expoit??) My link now is too slow and I'll have to wait one week before I get good access to these files. That suck!
_________________ ++
|
Sat Jan 01, 2005 8:04 am |
|
|
Satis
Felix Rex
Joined: Fri Mar 28, 2003 6:01 pm Posts: 16650 Location: On a slope
|
gah....thanks, that looks like the page alright. And, of course, it's mostly gobbledy-gook. I'll try to sort through it and figure out where the problem is.
As far as your own issues...sorry to hear it. I'm actually seriously thinking about killing off the forum, installing 2.0.11, and installing just the attachment mod with the default theme. Maintaining this forum is a pain in the ass with all the custom crap.
_________________ They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety.
|
Sat Jan 01, 2005 11:25 am |
|
|
Rinox
Minor Diety
Joined: Mon Mar 31, 2003 7:23 am Posts: 14886 Location: behind a good glass of Duvel
|
Erhm, maybe it was already established during the technical mumbu-jumbo above, but I can't upload simple .jpg attachments either anymore. Tried yesterday, tried today, no luck.
_________________ "I find a Burger Tank in this place? I'm-a be a one-man cheeseburger apocalypse."
- Coach
|
Sun Jan 02, 2005 10:57 am |
|
|
Satis
Felix Rex
Joined: Fri Mar 28, 2003 6:01 pm Posts: 16650 Location: On a slope
|
erm...attachments should work. The issue is with avatars. Is that what you mean?
_________________ They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety.
|
Mon Jan 03, 2005 6:33 am |
|
|
Rinox
Minor Diety
Joined: Mon Mar 31, 2003 7:23 am Posts: 14886 Location: behind a good glass of Duvel
|
nopez...I mean regular attachments. And regular, small jpg's that aren't in use by any other program. I tried it again in this topic to be sure, and got the same message as before:
"Upload Error: Could not upload Attachment to ./files/schooiers.jpg."
schooiers.jpg being the pic I tried to attach.
What now radioactive man?
_________________ "I find a Burger Tank in this place? I'm-a be a one-man cheeseburger apocalypse."
- Coach
|
Mon Jan 03, 2005 3:31 pm |
|
|
Satis
Felix Rex
Joined: Fri Mar 28, 2003 6:01 pm Posts: 16650 Location: On a slope
|
what a pain in my ass.
I have a sneaking suspicion I know what's going on, but it'll be a pain to be sure. Damnit. I'll let you know when I get the urge to spend that kind of time.
_________________ They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety.
|
Tue Jan 04, 2005 12:22 am |
|
|
Satis
Felix Rex
Joined: Fri Mar 28, 2003 6:01 pm Posts: 16650 Location: On a slope
|
test
File uploads fixed.
You do not have the required permissions to view the files attached to this post.
_________________ They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety.
|
Tue Jan 04, 2005 2:47 pm |
|
|
Rinox
Minor Diety
Joined: Mon Mar 31, 2003 7:23 am Posts: 14886 Location: behind a good glass of Duvel
|
Thank you kindly mister. Funny pic, too.
_________________ "I find a Burger Tank in this place? I'm-a be a one-man cheeseburger apocalypse."
- Coach
|
Tue Jan 04, 2005 4:22 pm |
|
|
Rinox
Minor Diety
Joined: Mon Mar 31, 2003 7:23 am Posts: 14886 Location: behind a good glass of Duvel
|
Sorry to bother you, but I tried to upload again in the general games forum and no-go. Tried it again here to make sure again, same stuff as before.
_________________ "I find a Burger Tank in this place? I'm-a be a one-man cheeseburger apocalypse."
- Coach
|
Wed Jan 05, 2005 5:40 pm |
|
|
Satis
Felix Rex
Joined: Fri Mar 28, 2003 6:01 pm Posts: 16650 Location: On a slope
|
test
fixed again. Too bad it fucks up session variables on one of my project. Now to figure out why that's the case.
You do not have the required permissions to view the files attached to this post.
_________________ They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety.
|
Wed Jan 05, 2005 6:11 pm |
|
|
Rinox
Minor Diety
Joined: Mon Mar 31, 2003 7:23 am Posts: 14886 Location: behind a good glass of Duvel
|
test nr. 2...
seems to work, w00t. Now go fix those session variables (whatever the hell that is ) buoy!
You do not have the required permissions to view the files attached to this post.
_________________ "I find a Burger Tank in this place? I'm-a be a one-man cheeseburger apocalypse."
- Coach
|
Thu Jan 06, 2005 3:47 am |
|
|
RB
Emperor
Joined: Wed Apr 16, 2003 1:25 am Posts: 2560
|
Avatar upload works!
_________________ ++
|
Thu Jan 06, 2005 4:39 am |
|
|
Satis
Felix Rex
Joined: Fri Mar 28, 2003 6:01 pm Posts: 16650 Location: On a slope
|
testes
yay, I fixed session vars without breaking http uploads. yay me.
Issue resolved as far as I'm concerned. If anyone runs into anything else, let me know please.
oh, for anyone that cares, I had to include a custom php.ini file since my provided decided to make the /tmp folder no longer world writeable. This was prompted by a bad monkey worm.
You do not have the required permissions to view the files attached to this post.
_________________ They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety.
|
Thu Jan 06, 2005 9:12 am |
|
|