webERP Forum
installed but can't login ! - Printable Version

+- webERP Forum (http://www.weberp.org/forum)
+-- Forum: webERP Discussion (http://www.weberp.org/forum/forumdisplay.php?fid=1)
+--- Forum: Problems / Bugs? (http://www.weberp.org/forum/forumdisplay.php?fid=8)
+--- Thread: installed but can't login ! (/showthread.php?tid=381)



installed but can't login ! - jaybirdhk - 10-19-2012

This is what i got after try to login .(fresh install), thanks !


Warning: mysqli_connect(): (HY000/1049): Unknown database 'weberpdemo' in C:\EasyPHP-12.1\www\webERP\includes\ConnectDB_mysqli.inc on line 17

Warning: mysqli_set_charset() expects parameter 1 to be mysqli, boolean given in C:\EasyPHP-12.1\www\webERP\includes\ConnectDB_mysqli.inc on line 23
Connect failed: Unknown database 'weberpdemo'
Fatal error: Call to undefined function _() in C:\EasyPHP-12.1\www\webERP\includes\ConnectDB_mysqli.inc on line 30


RE: installed but can't login ! - tim_schofield - 10-19-2012

(10-19-2012, 12:11 AM)jaybirdhk Wrote: This is what i got after try to login .(fresh install), thanks !


Warning: mysqli_connect(): (HY000/1049): Unknown database 'weberpdemo' in C:\EasyPHP-12.1\www\webERP\includes\ConnectDB_mysqli.inc on line 17

Warning: mysqli_set_charset() expects parameter 1 to be mysqli, boolean given in C:\EasyPHP-12.1\www\webERP\includes\ConnectDB_mysqli.inc on line 23
Connect failed: Unknown database 'weberpdemo'
Fatal error: Call to undefined function _() in C:\EasyPHP-12.1\www\webERP\includes\ConnectDB_mysqli.inc on line 30

Hi, what is the name of the database you created? This name has to have a directory of exactly the same name in the companies sub directory of webERP.

Thanks
Tim




RE: installed but can't login ! - bhargava - 02-03-2013

I too have a similar issue.Fortunately Phil helped install weberp on my cpanel but now i am again struck..cannot login..
I tryed all the possible combinations (checked config.php)
still says incorrect password
The user/password combination
is not a valid user of the system
when i tried 3-4 times, screen says as below image...

[Image: 1hdxs]

kindly help
regards


RE: installed but can't login ! - phil - 02-04-2013

Trust this is all resolved now following our google chat?

For the benefit of other readers, I had applied the SQL from sql/weberp-new.sql which sets up the user "admin" with the password "weberp". bhargava was using a different user password combo and had got the admin user blocked. Only 5 attempts are allowed and then the user account is blocked - inorder to stop password crackers.
To unblock the admin account the following SQL must be used:

Code:
UPDATE www_users SET blocked=0 WHERE userid='admin';