15 years on The Web
miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
Master Class miniBB Support Forums / Master Class /   

After integration, admin can login, users can not

Page  Page 1 of 2:  1  2  Next »  
Author GvdM
#1 | Posted: 9 Mar 2006 21:49 
I have setup miniBB to use an existing database. I added the required fields in the present user table such as "activity" "user_viewemail" ect...

I changed setup_options as such:


the admin account can login and I can view all the other members in the admin area so I know they are there.

The problem is regular users cannot login and get thos message:

Username/password combination is incorrect
Click here to return and correct them
Return to the forums list

My site is htt;://www.vandermerwede.net/genealogy/forums

There is a test account user: test password: test

Any ideas?

kind regards

Author lime
#2 | Posted: 9 Mar 2006 22:25 
It sounds like your existing user database encrypts/stores the password differently.

Find out from the other software that uses this database how to encrypt the password.

You will probably have to modify minibb's logging in function.

Author GvdM
#3 | Posted: 9 Mar 2006 22:31 
But why would the admin login correctly?

Author _Marco
#4 | Posted: 9 Mar 2006 23:15 
But why would the admin login correctly?

Because the admin pass is read from setup_options.php, not from the database.

All other accounts read the passwords from the database. It's in md5-hash. There is some info in the Manual about this and lots of info if you search this forum.


Author GvdM
#5 | Posted: 10 Mar 2006 07:17 
now I uderstand. My site uses base64 so I changed the code and all works well.

Thanks guys

Author Stereo
#6 | Posted: 10 Mar 2006 14:45 
I have almost the same problem: admin & users can't login. On my local machine everything works, but on webserver - can't. I have no idea whats up... Help me, please.

Author Team
#7 | Posted: 10 Mar 2006 14:49 
Most probably it's time zone or cookie problem. The same way we can not determine something on such poor problem description, there could be tens of reasons.

Author Stereo
#8 | Posted: 10 Mar 2006 15:21 
thanks for the quick answer!
I mean I have 2 identical copy of scripts. On local machine I can login and admin, BUT on web server miniBB doesn't want log me in. phpmyadmin shows the same data in password field at home and at webserver. ???

Author Stereo
#9 | Posted: 10 Mar 2006 15:35 
... Time zones the same. Cookie enabled.

Author lime
#10 | Posted: 10 Mar 2006 15:45 | Edited by: lime 
Is the rest of your forum working?
It might help if you supplied a link.

Author Stereo
#11 | Posted: 10 Mar 2006 15:52 
rest of forum is working. For now I can't suply a link as I check all scripts. Thanks!

Author Team
#12 | Posted: 10 Mar 2006 20:08 
Which form are you logging in from? Is the script just redirecting you on the first page, or you get some error?

Author Stereo
#13 | Posted: 11 Mar 2006 11:47 
ok. I found out: webserver has PHP 5.1.2 & MySQL 5.0.18.
Locally: PHP 4.3.0 & MySQL 3.23.49.
Maybe this is a reason?

> Which form are you logging in from?
I logging in from all forms.
bb_admin - doesn't pass through.

> Is the script just redirecting you on the first page, or you get some error?
No redirecting. No error. After registration, says "Pls, go to the fist page to log in." And I can't :(

Author Team
#14 | Posted: 11 Mar 2006 16:54 
This of course could be the reason. We have not yet officially confirmed that miniBB works with raw versions of PHP and mySQL.

Author Stereo
#15 | Posted: 12 Mar 2006 20:31 
thx for answer, team!

I ready to learn php5/mysql5 ;)

in fact I can post messages putting in any name into login form (i.e cookie works) and posts Are exist in sql-tables after that. after registering user datas there are into sql-table. but e-mail to him come empty without written login / pass.
besides, admin /registered users can't login and edit its messages.
I suppose there are some difference into php5 / php4 md5 mechanism or mysql5 / mysql4 difference in simple select function. I don't know, as I didn't study yet php3 :)

Page  Page 1 of 2:  1  2  Next » 
Master Class miniBB Support Forums / Master Class / After integration, admin can login, users can not Top

Your Reply Click this icon to move up to the quoted message

 Short link for this topic:

You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.

Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Get the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB