Skip to content
Aussieveedubbers

Known bugs thread - Login, Logout, Avatar bugs fixed

0 likes
Share Share on Facebook Share on X Share on Reddit
Log in to reply

vanderaj Administrator a suffusion of yellow

3,130 posts · joined Aug 2002 ·

#737870
Hi there,

The following bugs have been resolved. Please test:

* Login required every single time (FIXED - please test)
* Logout doesn't work (FIXED - please test)
* Avatars - wouldn't allow it to be changed (FIXED - please test)
* Photos - wouldn't allow it to be changed (FIXED - please test)

If you want to change your avatar or photo, can you please try now and let me know if you succeed.


Technical details

For those of you not technically inclined, ignore this section. Otherwise, read on!

I put in a bunch of login / logout fixes. Not only will it be faster as it doesn't refresh the page unnecessarily, it now remembers how to login correctly.

The new cookie code tries three paths to login automagically - session (safest), ubbstate (new cookie format version 1), and finally ubbuser / ubbpw (the old XMB path which has "issues").

For those of you with older style ubbuser / ubbuid cookies, they will be automagically converted to the new ubbstate cookie format with no intervention. When I make some further fixes - essentially removing your password from the state mechanism, it should be transparent to you as well.

Logout now works. The old code output some HTML before trying to set cookies, which never works. The new code eliminates that HTML output, and has all the legendary logout features you'd expect... including rotating the session ID and nuking the bejeezus the server side session. Try pressing "Back" after logging out and see if you can see stuff or resume access as yourself. This is how it's supposed to work.

Avatar and photo handling uses the GD library that is everywhere... but our system. I recompiled it into the newest PHP 5.2.11, and fixed a few egarious PHP 4.x bugs from the original avatar / photo hack. Seems to be good now. Please test.

thanks,
Andrew

vanderaj Administrator a suffusion of yellow

3,130 posts · joined Aug 2002 ·

#737923
I've just upgraded to the latest PHP opcode cache, which should provide about 20% more throughput, which is great for me. For you folks, the forum should be a bit snappier, although the thing that slows us down the most is the cache policy.

thanks,
Andrew

Bizarre Moderator The artist formerly known as blue74l

12,785 posts · joined Aug 2002 ·

#737938
Nope - still stuck with MJ's ugly mug 😂
Futue te ipsum!!!

Yogie Moderator Custom Title Time!

1,608 posts · joined Jun 2003 ·

#737942
On the plus side, I don't seem to be getting logged out anymore and the site remembers me when I come back.

YAAAAAAAAAAAAAAY👍👍👍👍

Stanley I guess the reward is in the doing of it

4,523 posts · joined Mar 2003 ·

#737945
logout problem fixed for me too

vanderaj Administrator a suffusion of yellow

3,130 posts · joined Aug 2002 ·

#737946
Yeah, I spent a fair bit of time working out the root cause of that.

1. PHP is a loosely typed piece of crap language.

The code was looking at

$state['uid']

instead of

$state['ubbuid']

like it was supposed to. And guess what - php -l (lint) didn't pick it up as an uninitialized variable, and neither did phpEclipse or Eclipse PDT. So it never found the right variable and the code never sent the cookie. :-( :-(

There was some other stuff as well, but that's the gist of the major reason why it didn't work.

Andrew

colonel mustard Son of Jim - Creator of Good

2,829 posts · joined Feb 2009 ·

#737955
log in working well. thanks Andrew. 🙂

Dirtbag What the hell does standard mean?

407 posts · joined Aug 2009 ·

#737984
Yeah, login is good now thanks. Still no avatar for me though.

Bizarre Moderator The artist formerly known as blue74l

12,785 posts · joined Aug 2002 ·

#738038
Hmmmm...................... still need to log in👎
Futue te ipsum!!!

vanderaj Administrator a suffusion of yellow

3,130 posts · joined Aug 2002 ·

#738097
Hmmm. Can you try a couple more times, Steve?

I worked out why Avatars and photos are failing. GD is not compiled in. Thanks CentOS for that change!

Lastly, there's some PHP 4.x nastiness left - PHP changed a couple of constants we use from IMG_PNG to IMAGETYPE_PNG. It wouldn't have been too hard to leave the older ones in, eh?

There's a new version of PHP anyway, so I'll go compile it with GD support. This should be a relatively unnoticeable change for you folks.

thanks,
Andrew

vanderaj Administrator a suffusion of yellow

3,130 posts · joined Aug 2002 ·

#738111
Sorry for the outage there - PHP 5.2.11 resisted and had to have its arm broken a couple of places to understand who's the boss.

We now have GD installed in the PHP runtime. Let's see if avatars and photos now work.

Andrew

vanderaj Administrator a suffusion of yellow

3,130 posts · joined Aug 2002 ·

#738112
Yes, they do. Awesome.

Andrew

LIFE IN THE LOW LANE All people have the right to stupidity but some abuse the pr

2,534 posts · joined Mar 2007 ·

#738128
I still have to log in every time I get on the computer and it still logs me off after a certain amount of time. does it make an difference if I am running Windows Vista? Cause I know that affects some ofther forums I frequent.....
ACCEPT THAT SOME DAYS YOU ARE THE PIDGEON AND SOME DAYS YOU ARE THE STATUE

Alder Outlaws VW Racing - check it out on fb!!

trickysimon 100km/h is only 9 seconds away

1,473 posts · joined Dec 2007 ·

#738129
I just restarted the computer and I'm still logged in 👍

Stanley I guess the reward is in the doing of it

4,523 posts · joined Mar 2003 ·

#738130
log in fixed and avatar fixed....thanks Andrew

Scarab Wolfsburg Wizard

646 posts · joined Jul 2009 ·

#738134
sorry to be a pain....my avatar is 100 x 100, less than 15000bytes and it is still coming up with "unable to open, please verify that it exists".......what the??

i have it loaded onto photobucket and am copying and pasting the link, like I do with photos on my threads, but it keeps coming up with the message......any ideas for me to try?

thanks!

HappyDaze Superannuated

2,887 posts · joined Jun 2009 ·

#738137
How about that - I managed to do the avatar thing! Not bad for an old codger, eh!

Cheers, Greg
I'd rather wear a Beetle out by racing it than by polishing it!

Yogie Moderator Custom Title Time!

1,608 posts · joined Jun 2003 ·

#738140
LIFE IN THE LOW LANE wrote:I still have to log in every time I get on the computer and it still logs me off after a certain amount of time. does it make an difference if I am running Windows Vista? Cause I know that affects some ofther forums I frequent.....
I am running vista and internet explorer 8 and it works for me. Maybe something else is the issue with your computer?

Yogie

Bizarre Moderator The artist formerly known as blue74l

12,785 posts · joined Aug 2002 ·

#738145
Yep all good - log in and avatar fixed

thanks!
Futue te ipsum!!!

vanderaj Administrator a suffusion of yellow

3,130 posts · joined Aug 2002 ·

#738155
@Scarab - just upload your avatar here using the button. Photobucket + avatars == very slow. Also, if you get too many hits for your avatar, Photobucket make the image go away.

If you get really stuck, please e-mail me admin @ aussieveedubbers.com with your avatar and I'll fix it for you.

thanks,
Andrew

penguin ackkkkkk thhhhhpt!

3,383 posts · joined Aug 2002 ·

#738173
Thanks Andrew,

Works for me 🙂 This must have taken yoiu a bit of time and brain power. Hope that means that all is well at home, fingers crossed.
'Ah, whatever................'

Scarab Wolfsburg Wizard

646 posts · joined Jul 2009 ·

#738203
Thanks Andrew, will try it out when I get home from work, Cheers!

While we are chatting, just wanted to thank you for the awesome work all you guys involved with this site put in. i don't exactly know who to thank, but THANK YOU ALL !! 😂

Scarab (aka:Paul)

Dirtbag What the hell does standard mean?

407 posts · joined Aug 2009 ·

#738204
Yay. Avatar is all fixed. Good work chaps.

h fractals - an ever changing lifestyle

7,671 posts · joined Feb 2005 ·

#738205
many thanks andrew mine remembers me know
cheers
fractal geometry; the inner most limits of mind altering abuse

Fantasy http://seventhchronicle.com

Z = Z2 + C1/r = 1/0 = infinity

Barrels www.barrelman.com.au

VW Workshop - aircooledgarage.com.au
allcooled.com.au

colonel mustard Son of Jim - Creator of Good

2,829 posts · joined Feb 2009 ·

#738211
Avatar changed/fixed. nice stuff. Log in remebers me too. thanks again admin team. rock on 🙂

volumex Officially Full-On Dubber

389 posts · joined Jul 2005 ·

#738288
Thanks Andrew.

Scarab Wolfsburg Wizard

646 posts · joined Jul 2009 ·

#738319
Awesome, the avatar works!!!! I am REALLY happy!!! I just need to find a decent photo now 😂