UltraBB Forums Home 
Home Search search Menu menu Not logged in - Login | Register
UltraBB Forums > News and Announcements > Bug Reports > Bug Fix for "Illegal double value found during parsing"

Welcome to the UltraBB public support forum! Did you know there is an inexpensive totally integrated gallery available for UltraBB? Read more here: Gallery Details

 Moderated by: Jim
New Topic Reply Printer Friendly
Bug Fix for "Illegal double value found during parsing"  Rate Topic 
AuthorPost
 Posted: Fri Oct 9th, 2009 01:22 am
  PM Quote Reply
1st Post
Jim
I work here


Joined: Wed Apr 11th, 2007
Location:  
Posts: 6649
Status: 
Offline
Mana: 
User Gallery
This is a bug created by the use of higher levels of PHP by many web hosts including ourselves.


Many of you have been alerted by perspective members that upon clicking the activation link in their e-mail after registeing they get the dreaded "Illegal double value found during parsing".

The actual value always contains 7 numbers and one letter "e" when the error occurs. Here is how to stop it.

Open file_systems/wowbb/main.php with a simple text editor.

Search for this:
$activation_key = substr(md5(uniqid(rand(), 1)), 0, 8);


And replace it with this:
$activation_key = ("u" . substr(md5(uniqid(rand(), 1)), 0, 7));


I suggest that everyone who knows how do this, and those that don't please ask for help.

This fix was suggested by Martin months back, but I have one customer it has happened to 3 times now. Time to fix it!

Jim


Back To Top PM Quote Reply  

 Posted: Mon Oct 12th, 2009 12:20 am
  PM Quote Reply
2nd Post
bigmac
License Holder


Joined: Wed Sep 17th, 2008
Location: Sunderland, United Kingdom
Posts: 159
Status: 
Offline
Mana: 
User Gallery
Hi Jim.

Does this mean that some new users cant register as i have had this on my forum.

I think they thought i was blocking them from joining.

bm.

 

Back To Top PM Quote Reply

 Posted: Mon Oct 12th, 2009 01:03 am
  PM Quote Reply
3rd Post
Jim
I work here


Joined: Wed Apr 11th, 2007
Location:  
Posts: 6649
Status: 
Offline
Mana: 
User Gallery
Yes but it is a random generated number and the chances of an 8 character string being generated with all numbers and one "e" is unlikely. However it has happened, about 10 times total now. That's enough in my book to fix it.

Want me to do your board or have you already?

Back To Top PM Quote Reply  

 Posted: Mon Oct 12th, 2009 03:55 am
  PM Quote Reply
4th Post
Devans
License Holder


Joined: Tue May 27th, 2008
Location: Iowa USA
Posts: 1398
Status: 
Offline
Mana: 
User Gallery
I had posted to this, but the post is gone now... :?:? where did it go

So Ill ask again. ...

Since I dont use activation emails, do I still need to do this Jim?

Back To Top PM Quote Reply

 Posted: Mon Oct 12th, 2009 04:16 am
  PM Quote Reply
5th Post
TVDinner
Go UCONN!


Joined: Wed May 9th, 2007
Location: North Carolina USA
Posts: 1618
Status: 
Offline
Mana: 
User Gallery
I dont use the activation emails either so not an issue.

Back To Top PM Quote Reply  

 Posted: Mon Oct 12th, 2009 04:19 am
  PM Quote Reply
6th Post
Devans
License Holder


Joined: Tue May 27th, 2008
Location: Iowa USA
Posts: 1398
Status: 
Offline
Mana: 
User Gallery
Thanks TVD

Back To Top PM Quote Reply

 Posted: Mon Oct 12th, 2009 10:01 am
  PM Quote Reply
7th Post
bigmac
License Holder


Joined: Wed Sep 17th, 2008
Location: Sunderland, United Kingdom
Posts: 159
Status: 
Offline
Mana: 
User Gallery
Jim wrote: Yes but it is a random generated number and the chances of an 8 character string being generated with all numbers and one "e" is unlikely. However it has happened, about 10 times total now. That's enough in my book to fix it.

Want me to do your board or have you already?


I`ll let you do it Jim as theres a very good chance i will do it wrong and no one will be able to register.

Thanks Bm

Back To Top PM Quote Reply  

 Posted: Mon Oct 12th, 2009 11:40 am
  PM Quote Reply
8th Post
Jim
I work here


Joined: Wed Apr 11th, 2007
Location:  
Posts: 6649
Status: 
Offline
Mana: 
User Gallery
Done :)

Back To Top PM Quote Reply

 Posted: Mon Oct 12th, 2009 10:03 pm
  PM Quote Reply
9th Post
bigmac
License Holder


Joined: Wed Sep 17th, 2008
Location: Sunderland, United Kingdom
Posts: 159
Status: 
Offline
Mana: 
User Gallery
Thanks Jim.

So glad i chose Ultrabb for my forum.

BM

Back To Top PM Quote Reply  

 Posted: Tue Oct 13th, 2009 10:21 pm
  PM Quote Reply
10th Post
wingnutter
Forever Learning


Joined: Wed May 14th, 2008
Location: Ireland
Posts: 1843
Status: 
Offline
Mana: 
User Gallery
Thanks Jim, and thanks Martin for spotting this.

Last edited on Tue Oct 13th, 2009 10:21 pm by wingnutter

Back To Top PM Quote Reply

 Posted: Tue Oct 13th, 2009 10:30 pm
  PM Quote Reply
11th Post
Robert
Member


Joined: Fri Jul 18th, 2008
Location: Benidorm, Spain
Posts: 1320
Status: 
Online
Mana: 
User Gallery
I would be much obliged if you could fix this for me Jim as I'm a little doubtful about finding the right place. There is no rush however, when it is convenient to you as the forum is closed to new registrations at the moment.

Back To Top PM Quote Reply  

 Posted: Tue Oct 20th, 2009 05:34 pm
  PM Quote Reply
12th Post
Billie
License Holder
 

Joined: Mon Nov 10th, 2008
Location:  
Posts: 2
Status: 
Offline
Mana: 
User Gallery
Jim, could you fix my forum also.  I don't want to mess it up.

Thanks

Billie
PhotoImpact International

Back To Top PM Quote Reply

 Posted: Wed Oct 21st, 2009 04:34 am
  PM Quote Reply
13th Post
Jim
I work here


Joined: Wed Apr 11th, 2007
Location:  
Posts: 6649
Status: 
Offline
Mana: 
User Gallery
Billie wrote: Jim, could you fix my forum also.  I don't want to mess it up.

Thanks

Billie
PhotoImpact International


Done. :)

Back To Top PM Quote Reply  

 Posted: Wed Oct 21st, 2009 03:46 pm
  PM Quote Reply
14th Post
Billie
License Holder
 

Joined: Mon Nov 10th, 2008
Location:  
Posts: 2
Status: 
Offline
Mana: 
User Gallery
Thanks

Back To Top PM Quote Reply

 Posted: Mon Oct 26th, 2009 11:45 am
  PM Quote Reply
15th Post
Seaside
License Holder


Joined: Sun May 20th, 2007
Location: Africa
Posts: 42
Status: 
Offline
Mana: 
User Gallery
Hi Jim,

Could you be so kind and fix mine.

Many thanks

seeside

Back To Top PM Quote Reply  

 Posted: Mon Oct 26th, 2009 11:52 am
  PM Quote Reply
16th Post
Jim
I work here


Joined: Wed Apr 11th, 2007
Location:  
Posts: 6649
Status: 
Offline
Mana: 
User Gallery
Done :)

Back To Top PM Quote Reply

Current time is 09:11 am  
UltraBB Forums > News and Announcements > Bug Reports > Bug Fix for "Illegal double value found during parsing" Top



Hosting

UltraBB 1.17 Copyright © 2007-2011 Data 1 Systems, INC.
Page processed in 0.2760 seconds (20% database + 80% PHP). 27 queries executed.