Author Topic: After finished install,login failed.  (Read 26914 times)

Seba

  • Newbie
  • *
  • Posts: 12
After finished install,login failed.
« Reply #15 on: September 13, 2007, 05:11:14 am »
The constant was replaced: "log4php.appender.F1.File=/opt/lampp/htdocs/CalemEAM/logs/calem.log"

Then I tried to log in but I couldn't. The calem.log wasn't generated.

After that I did a "locate calem.log" with no result.

What I'm doing wrong???

calemadmin

  • Administrator
  • Calem Hero
  • *****
  • Posts: 300
    • http://www.calemeam.com
After finished install,login failed.
« Reply #16 on: September 13, 2007, 07:26:54 am »
Login error indicates that data loading may not be successful. But it's going to be difficult without logging working. You may check apache/php error logs again. Maybe file access rights prevented log file being created.

Also, try to set up database again. Follow the setup guide's "5. Database setup".
Calem Community Forum Admin

Seba

  • Newbie
  • *
  • Posts: 12
After finished install,login failed.
« Reply #17 on: September 13, 2007, 09:04:50 am »
Finally, I've got my calem.log, however I can't get in and I paste you the log report from calem.log.

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

Thanks again for your time.

calemadmin

  • Administrator
  • Calem Hero
  • *****
  • Posts: 300
    • http://www.calemeam.com
After finished install,login failed.
« Reply #18 on: September 13, 2007, 09:17:15 am »
The logs look like a pdo issue, see the following thread.
http://www.calemeam.com/apps/phpbb/viewtopic.php?t=171
Calem Community Forum Admin

Seba

  • Newbie
  • *
  • Posts: 12
After finished install,login failed.
« Reply #19 on: September 13, 2007, 10:04:08 am »
It seems that I have the same problem, but I just write down "extension=php_pdo.so" and "..._mysql.so" in my php.ini to enable them??

calemadmin

  • Administrator
  • Calem Hero
  • *****
  • Posts: 300
    • http://www.calemeam.com
After finished install,login failed.
« Reply #20 on: September 13, 2007, 10:12:13 am »
Calem Community Forum Admin

Seba

  • Newbie
  • *
  • Posts: 12
After finished install,login failed.
« Reply #21 on: September 13, 2007, 12:59:10 pm »
I wrote down this in my php.ini:

extension="php_pdo.so"

extension="php_pdo_mysql.so"

and I restarted xampp
when start  it says that can't load dynamic library

Stopping XAMPP for Linux 1.6.3b...
XAMPP: Stopping Apache with SSL...
PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/lampp/lib/php/extensions/no-debug-non-zts-20060613/php_pdo.so' - /opt/lampp/lib/php/extensions/no-debug-non-zts-20060613/php_pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/lampp/lib/php/extensions/no-debug-non-zts-20060613/php_pdo_mysql.so' - /opt/lampp/lib/php/extensions/no-debug-non-zts-20060613/php_pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
XAMPP: Stopping MySQL...
XAMPP: Stopping ProFTPD...
XAMPP stopped.
Starting XAMPP for Linux 1.6.3b...
PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/lampp/lib/php/extensions/no-debug-non-zts-20060613/php_pdo.so' - /opt/lampp/lib/php/extensions/no-debug-non-zts-20060613/php_pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/lampp/lib/php/extensions/no-debug-non-zts-20060613/php_pdo_mysql.so' - /opt/lampp/lib/php/extensions/no-debug-non-zts-20060613/php_pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Starting MySQL...
XAMPP: Starting ProFTPD...
XAMPP for Linux started.

I look for that files with no result.

calemadmin

  • Administrator
  • Calem Hero
  • *****
  • Posts: 300
    • http://www.calemeam.com
After finished install,login failed.
« Reply #22 on: September 13, 2007, 06:24:12 pm »
Checked my XAMPP for Linux 1.6.1 on Fedora 6. I didn't have the extensions enabled for pdo.so and pdo_mysql.so either. XAMPP has PDO included in it. So you may remove the two extensions. But I don't why PDO is not picked up in your installation.
Calem Community Forum Admin

calemadmin

  • Administrator
  • Calem Hero
  • *****
  • Posts: 300
    • http://www.calemeam.com
After finished install,login failed.
« Reply #23 on: September 14, 2007, 10:48:18 am »
You may ask the author of this article why go through the trouble installing each item individually including PDO and PDO for mySQL, instead of XAMPP 1.6.3. Maybe he knows some about PDO on XAMPP for Ubuntu.

http://www.theatons.com/blog/2007/07/01/ubuntu-install-php5-mysql-apache2-ssl-pdo-pdo_mysql/
Calem Community Forum Admin

Seba

  • Newbie
  • *
  • Posts: 12
After finished install,login failed.
« Reply #24 on: September 21, 2007, 04:17:07 pm »
Well, finally the system is working, congratulations for your work it's really a great one.

If you want and have it planed i can translate it to spanish, i need to do it for my work.

calemadmin

  • Administrator
  • Calem Hero
  • *****
  • Posts: 300
    • http://www.calemeam.com
After finished install,login failed.
« Reply #25 on: September 21, 2007, 05:25:17 pm »
That's would be great if you can translate CalemEAM to Spanish. You may create a project for it so others may not duplicate the effort. See the instructions to add a language at http://www.calemeam.com/apps/wiki/index.php?title=CalemLanguagePack

Congratulations for getting CalemEAM to work in Ubuntu and thanks for the update. Do you mind sharing what you did to overcome the PDO issue?
Calem Community Forum Admin

Seba

  • Newbie
  • *
  • Posts: 12
After finished install,login failed.
« Reply #26 on: September 22, 2007, 07:28:01 pm »
I had problems with the pear installation, for instance i was executing pear and what i need to execute was "/opt/lampp/..pear ...", and the packages were installed in ohter place.

Thank you for your help and i get to work to translate it.