|
Joined: May 2000
Posts: 125
Member
|
Member
Joined: May 2000
Posts: 125 |
I logout then when I try to login I get the message= All of the required fields are not filled in. If I try again it works.
N.B. Running the last beta version 5.1.2b2. N.B. I confirm the other bugs I reported are fixed
|
|
|
|
Joined: May 1999
Posts: 3,039
Guru
|
Guru
Joined: May 1999
Posts: 3,039 |
Thanks for the report. Will get that fixed today.
UBB.threads Developer
|
|
|
|
Joined: May 1999
Posts: 3,039
Guru
|
Guru
Joined: May 1999
Posts: 3,039 |
Ok, can't seem to duplicate that here. Did you update your language files when you updated to 5.1.2b2?
UBB.threads Developer
|
|
|
|
Joined: May 2000
Posts: 125
Member
|
Member
Joined: May 2000
Posts: 125 |
New test => It's only happening when session is the chosen option in the config file.
|
|
|
|
Joined: May 1999
Posts: 3,039
Guru
|
Guru
Joined: May 1999
Posts: 3,039 |
Hmm. I am using sessions here.
If it's telling you all fields are not filled in then it is falling through this check in start_page.php:
if ($option == "$lang[BUTT_FORGOT]") { mail_password($Username,$Cat); } elseif ($option == "$lang[BUTT_LOGIN]") { $html = new html; $html -> start_page ($Username,$Password,$Cat, 1, ""); } else { $html = new html; $html -> not_right("$lang[ALL_FIELDS]", $Cat); }
So, obviously it's not matching on the 2 options. This is why I ask if you updated all of your language files. The reason being, is I changed the location of the BUTT_FORGOT and BUTT_LOGIN strings.
UBB.threads Developer
|
|
|
|
Joined: May 2000
Posts: 125
Member
|
Member
Joined: May 2000
Posts: 125 |
I updated all the files except the config one. I just changed the path line in main.inc.php
|
|
|
|
Joined: May 1999
Posts: 3,039
Guru
|
Guru
Joined: May 1999
Posts: 3,039 |
Can you modify your start_page.php script. Just this one portion where it says:
else { $html = new html; $html -> not_right("$lang[ALL_FIELDS]", $Cat); }
Try changing that to this:
else { $html = new html; $html -> not_right("Option is $option", $Cat); }
This will tell you what $option variable, if any, is being sent to the start_page.php script. If it is not working from the logout.php script then it's either not passing the proper option or it's not passing any option.
UBB.threads Developer
|
|
|
|
Joined: May 2000
Posts: 125
Member
|
Member
Joined: May 2000
Posts: 125 |
I get the message: <i>Option is Connecter </i>. Like before the change, the login works when I try again.
|
|
|
|
Joined: May 1999
Posts: 3,039
Guru
|
Guru
Joined: May 1999
Posts: 3,039 |
Connecter? What the heck is that?[]/w3timages/icons/crazy.gif[/] Can you take a look at the source of the logout.php page when you first logout. Down towards the bottom you will see a the code for the buttons, this is where the option value is getting set. Can you check and see what you have for those?
UBB.threads Developer
|
|
|
|
Joined: May 2000
Posts: 125
Member
|
Member
Joined: May 2000
Posts: 125 |
Sorry, "Connecter" is the the french translation of "Login". []/w3timages/icons/smile.gif[/]
in the source I checked the option is "Login".
One question: Where is the call/include of the generic.pl file? I thought it must be in the main.inc.php but it is not there.
|
|
|
|
Joined: May 1999
Posts: 3,039
Guru
|
Guru
Joined: May 1999
Posts: 3,039 |
It sounds like you have a duplicate language string somewhere. It's not matching because in one file it must be the french version while in the other, it's english. I checked the language files here and I did remove all duplicates of this and put it into the generic.php file. The only file you should have the BUTT_LOGIN and the BUTT_FORGOT string is in generic.php.
The generic.php file is included in main.inc.php, on about line 39.
UBB.threads Developer
|
|
|
|
Joined: May 2000
Posts: 125
Member
|
Member
Joined: May 2000
Posts: 125 |
OK, the problem seems to be fixed now. I found BUTT_FORGOT in login.php language script. Scream, I changed all the files! []/w3timages/icons/smile.gif[/] In fact I don't plan to do any mods before the final release, so each time there's a new beta version I'll install it "as is" for more accurate tests
|
|
|
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.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|