Author Topic: could not login  (Read 4343 times)

newadmin

  • Newbie
  • *
  • Posts: 2
could not login
« on: September 06, 2007, 10:16:15 am »
Login failed. Please check your user name/password and try again
when I use admin/admin_password

is there anyother user account to login...

here are my logs.
I'm running this on XP to evaluate the product for my org.

2007-09-06 10:14:02,574 DEBUG main - sid=; Post data=username=admin&password=admin_password&calemAction=LoginAction
2007-09-06 10:14:02,574 INFO  MysqlHandler - calem db connection: user=calemeam, password=***, , connection=mysql:host=localhost;dbname=calemeam, persistent connection=Array
2007-09-06 10:14:02,574 ERROR main - Exception in processing login. Error msg=#0 C:\wamp\www\CalemEAM\server\include\core\database\CalemPdo.php(53): PDO->__construct('mysql:host=loca...', 'calemeam', 'calemeam', Array)
#1 C:\wamp\www\CalemEAM\server\include\core\database\mysql\MysqlHandler.php(148): CalemPdo->__construct('mysql:host=loca...', 'calemeam', 'calemeam', Array)
#2 C:\wamp\www\CalemEAM\server\include\core\database\CalemDbo.php(75): MysqlHandler->getCalemConnection()
#3 C:\wamp\www\CalemEAM\server\include\core\CalemFactory.php(133): CalemDbo->__construct()
#4 C:\wamp\www\CalemEAM\server\include\core\CalemFactory.php(98): CalemFactory::createInstance(Array)
#5 C:\wamp\www\CalemEAM\server\modules\admin\CalemUserDbo.php(48): CalemFactory::getDbo('users')
#6 C:\wamp\www\CalemEAM\server\modules\admin\CalemSecurityBo.php(62): CalemUserDbo::findByUsername('admin')
#7 C:\wamp\www\CalemEAM\server\modules\admin\soap\CalemLoginSo.php(68): CalemSecurityBo->verifyLogin('admin', 'admin_password')
#8 C:\wamp\www\CalemEAM\index.php(56): CalemLoginSo::doLogin('admin', 'admin_password')
#9 {main}
--------------------------------------------------------


pear list output.........
INSTALLED PACKAGES, CHANNEL PEAR.PHP.NET:
=========================================
PACKAGE          VERSION STATE
Archive_Tar      1.3.2   stable
Auth_SASL        1.0.2   stable
Console_Getopt   1.2.3   stable
HTTP_Request     1.4.1   stable
Mail             1.1.14  stable
Mail_Mime        1.5.2   stable
Mail_mimeDecode  1.5.0   stable
Net_DIME         0.3     beta
Net_SMTP         1.2.10  stable
Net_Socket       1.0.8   stable
Net_URL          1.0.15  stable
PEAR             1.6.1   stable
SOAP             0.11.0  beta
Structures_Graph 1.0.2   stable
XML_Parser       1.2.8   stable
XML_Serializer   0.18.0  beta
XML_Util         1.1.4   stable


2.  Does anyof the BARcode application be integrated with EAM yet?
i.e. my organization is looking for automated discovery using barcode reader and add input into the system.

calemadmin

  • Administrator
  • Calem Hero
  • *****
  • Posts: 300
    • http://www.calemeam.com
could not login
« Reply #1 on: September 06, 2007, 11:27:25 am »
Take a look at Apache's php.ini and verify that both PDO and PDO for mySQL are enabled (see setup guide on the web site).

CalemEAM has not been integrated with a barcode app yet. Do you own scanners and app or plan to start from scratch? Integrating a barcode app with CalemEAM can be achieved via its SOAP APIs. We can help you in the integration.
Calem Community Forum Admin

newadmin

  • Newbie
  • *
  • Posts: 2
could not login
« Reply #2 on: September 06, 2007, 04:11:58 pm »
thanks, pdo was not enabled in apache php.ini. It is is working now.
we are planning to start from scratch( Barcode apps). sure will contact your team, once we narrow down the hardware and software for the barcode client apps.

NELSON

  • Newbie
  • *
  • Posts: 4
could not login
« Reply #3 on: October 14, 2007, 11:22:17 pm »
Hi,

Appreciate if any detailed help could be givien...I'm totally new to WAMP and got no programming experience. Just wanted to try out CalemEAM and learn from there.

After reading all posts, still got no idea on how to solve login fail problem. I have pasted log below:

2007-10-15 05:02:50,522 DEBUG main - sid=; aid=, Post data: username=admin&password=admin_password&lang=&loadmode=gzip&theme=calem&debug=&calemAction=LoginAction
2007-10-15 05:02:51,522 INFO  MysqlHandler - calem db connection: user=calemeam, password=***, , connection=mysql:host=localhost;dbname=calemeam, persistent connection=Array
2007-10-15 05:02:51,522 ERROR main - Exception in processing login. Error msg=#0 H:\wamp\www\CalemEAM\server\include\core\database\CalemPdo.php(53): PDO->__construct('mysql:host=loca...', 'calemeam', 'calemeam', Array)
#1 H:\wamp\www\CalemEAM\server\include\core\database\mysql\MysqlHandler.php(148): CalemPdo->__construct('mysql:host=loca...', 'calemeam', 'calemeam', Array)
#2 H:\wamp\www\CalemEAM\server\include\core\database\CalemDbo.php(79): MysqlHandler->getCalemConnection()
#3 H:\wamp\www\CalemEAM\server\include\core\CalemFactory.php(146): CalemDbo->__construct()
#4 H:\wamp\www\CalemEAM\server\include\core\CalemFactory.php(98): CalemFactory::createInstance(Array)
#5 H:\wamp\www\CalemEAM\server\modules\admin\CalemUserDbo.php(48): CalemFactory::getDbo('users')
#6 H:\wamp\www\CalemEAM\server\modules\admin\CalemSecurityBo.php(62): CalemUserDbo::findByUsername('admin')
#7 H:\wamp\www\CalemEAM\server\modules\admin\soap\CalemLoginSo.php(67): CalemSecurityBo->verifyLogin('admin', 'admin_password')
#8 H:\wamp\www\CalemEAM\index.php(57): CalemLoginSo::doLogin('admin', 'admin_password')
#9 {main}

calemadmin

  • Administrator
  • Calem Hero
  • *****
  • Posts: 300
    • http://www.calemeam.com
could not login
« Reply #4 on: October 16, 2007, 06:48:48 am »
Enable PDO on your Apache server's php.ini under wamp\www\Apache2\bin, see Setup Guide (http://www.calemeam.com/support_setup.html) Step 2 for entries to modify (i.e., take out the starting ";" to enable an entry).
Calem Community Forum Admin

NELSON

  • Newbie
  • *
  • Posts: 4
could not login
« Reply #5 on: October 16, 2007, 08:47:54 am »
I have followed all steps very closely and enabled the following since first installation. I apologise but pasted all for you to see, any help?

extension=php_mbstring.dll
;extension=php_bz2.dll
;extension=php_cpdf.dll
;extension=php_curl.dll
;extension=php_dba.dll
;extension=php_dbase.dll
;extension=php_dbx.dll
;extension=php_exif.dll
;extension=php_fdf.dll
;extension=php_filepro.dll
;extension=php_gd2.dll
;extension=php_gettext.dll
;extension=php_ifx.dll
;extension=php_imap.dll
;extension=php_interbase.dll
;extension=php_ldap.dll
;extension=php_mcrypt.dll
;extension=php_mhash.dll
;extension=php_mime_magic.dll
;extension=php_ming.dll
;extension=php_mssql.dll
;extension=php_msql.dll
extension=php_mysql.dll
;extension=php_mysqli.dll
;extension=php_oci8.dll
;extension=php_openssl.dll
;extension=php_oracle.dll
;extension=php_pdf.dll
;extension=php_pgsql.dll
;extension=php_shmop.dll
;extension=php_snmp.dll
;extension=php_sockets.dll
;extension=php_sybase_ct.dll
;extension=php_tidy.dll
;extension=php_xsl.dll
;extension=php_zip.dll
extension=php_pdo.dll
extension=php_pdo_sqlite.dll
;extension=php_pdo_firebird.dll
;extension=php_pdo_mssql.dll
extension=php_pdo_mysql.dll
;extension=php_pdo_oci.dll
;extension=php_pdo_ibm.dll
;extension=php_pdo_informix.dll
;extension=php_pdo_oci8.dll
;extension=php_pdo_odbc.dll
;extension=php_pdo_pgsql.dll
extension=php_sqlite.dll
;extension=php_pdo_sqlite_external.dll
;extension=php_apc.dll
;extension=php_apd.dll
;extension=php_bcompiler.dll
;extension=php_bitset.dll
;extension=php_blenc.dll
;extension=php_bz2_filter.dll
;extension=php_classkit.dll
;extension=php_crack.dll
;extension=php_cvsclient.dll
;extension=php_db.dll
;extension=php_dio.dll
;extension=php_docblock.dll
;extension=php_domxml.dll
;extension=php_event.dll
;extension=php_ffi.dll
;extension=php_fileinfo.dll
;extension=php_fribidi.dll
;extension=php_gmp.dll
;extension=php_gopher.dll
;extension=php_haru.dll
;extension=php_htscanner.dll
;extension=php_hyperwave.dll
;extension=php_ibm_db2.dll
;extension=php_id3.dll
;extension=php_imagick.dll
;extension=php_ingres.dll
;extension=php_java.dll
;extension=php_lzf.dll
;extension=php_mailparse.dll
;extension=php_maxdb.dll
;extension=php_mcrypt_filter.dll
;extension=php_netools.dll
;extension=php_ntuser.dll
;extension=php_oggvorbis.dll
;extension=php_operator.dll
;extension=php_parsekit.dll
;extension=php_phar.dll
;extension=php_phpdoc.dll
;extension=php_pop3.dll
;extension=php_printer.dll
;extension=php_pspell.dll
;extension=php_radius.dll
;extension=php_rar.dll
;extension=php_runkit.dll
;extension=php_sam.dll
;extension=php_sdo.dll
;extension=php_smtp.dll
;extension=php_soap.dll
;extension=php_ssh2.dll
;extension=php_stats.dll
;extension=php_stem.dll
;extension=php_svn.dll
;extension=php_swish.dll
;extension=php_threads.dll
;extension=php_timezonedb.dll
;extension=php_translit.dll
;extension=php_uploadprogress.dll
;extension=php_win32ps.dll
;extension=php_win32scheduler.dll
;extension=php_win32service.dll
;extension=php_yaz.dll
;extension=php_zlib_filter.dll

calemadmin

  • Administrator
  • Calem Hero
  • *****
  • Posts: 300
    • http://www.calemeam.com
could not login
« Reply #6 on: October 17, 2007, 06:34:06 am »
The PDO extensions look good. You may search your system to see if there are other php.ini files under windows or windows system directory. You also need to restart Apache after php.ini change.
Calem Community Forum Admin

NELSON

  • Newbie
  • *
  • Posts: 4
could not login
« Reply #7 on: October 17, 2007, 09:23:20 am »
Thanks for advice CalemEAM is running now.

calemadmin

  • Administrator
  • Calem Hero
  • *****
  • Posts: 300
    • http://www.calemeam.com
could not login
« Reply #8 on: October 17, 2007, 11:30:36 am »
Congratulations! Please let us know your feedback via this forum.
Calem Community Forum Admin