I just re-downloaded the latest 5.1.4. When I try to register a new user, the user is registered but I get the follwoing error and it does not register the password.. it sends it via email:
[:red]Warning: mt_rand(): Invalid range: 0..0 in /usr/local/etc/httpd/htdocs/healers/wwwthreads/adduser.php on line 201
Warning: mt_rand(): Invalid range: 0..0 in /usr/local/etc/httpd/htdocs/healers/wwwthreads/adduser.php on line 202
What version of PHP are you using? I'm using the standard mt_rand function. Or maybe it is something else? Are you allowing the user to specify a password at signup? If so maybe I have a problem in that area.
I am allowing users to specify their password on signup... using Version 4.0 Php. I had no problems on the 5.1.2b
I am also getting the following the following error when I try to access a board:
Seeya! Unknown column 'B_UStatus' in 'field list': 1054 Warning: Supplied argument is not a valid MySQL result resource in /usr/local/etc/httpd/htdocs/healers/wwwthreads/mysql.inc.php on line 88
Ok, let's take the easy one first. The unknown column sounds like you are running off of a pre 5.1.2 database. Are you pointing this at your PERL database? If so, then you need to grab the latest PERL version and run the altertable script to update the database to the proper format.
As for the adduser problem, I'll get that one figured out here shortly.
Yeah, it looks like you got a buggy createtable. I fixed this awhile back. You can see in your w3t_Posts table that one of the fields is named B_UStats, when it should be B_UStatus.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.