As decribed previously, update /projeqtor/files/config/parameters.php
and change
$logLevel="2";
to
$logLevel="3";
It was changed and is the same result
2016-10-19 10:31:40.421 ===== TRACE ===== Login error for user 'admin'
2016-10-19 10:31:42.144 ===== TRACE ===== Login error for user 'admin'
2016-10-19 10:31:43.728 ===== TRACE ===== Login error for user 'admin'
2016-10-19 10:38:53.051 ===== TRACE ===== Login error for user 'admin'
2016-10-19 11:03:23.280 ===== TRACE ===== Login error for user 'admin'
2016-10-19 11:04:06.525 ===== TRACE ===== Login error for user 'admin'
2016-10-19 11:04:07.085 ===== TRACE ===== Login error for user 'admin'
2016-10-19 11:04:09.444 ===== TRACE ===== Login error for user 'admin'
2016-10-19 11:04:12.939 ===== TRACE ===== Login error for user 'admin'
2016-10-19 11:04:15.809 ===== TRACE ===== Login error for user 'admin'
2016-10-19 11:04:22.750 ===== TRACE ===== Login error for user 'admin'
error_log from httpd
[Wed Oct 19 11:02:47 2016] [notice] caught SIGTERM, shutting down
[Wed Oct 19 11:02:48 2016] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Oct 19 11:02:48 2016] [warn] module proxy_ajp_module is already loaded, skipping
[Wed Oct 19 11:02:48 2016] [warn] module proxy_html_module is already loaded, skipping
[Wed Oct 19 11:02:48 2016] [warn] module dav_svn_module is already loaded, skipping
[Wed Oct 19 11:02:48 2016] [notice] Digest: generating secret for digest authentication ...
[Wed Oct 19 11:02:48 2016] [notice] Digest: done
[Wed Oct 19 11:02:48 2016] [notice] Apache/2.2.15 (Unix) DAV/2 proxy_html/3.1.2 SVN/1.6.11 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips mod_wsgi/3.2 Python/2.6.6 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Wed Oct 19 11:04:07 2016] [error] [client 192.168.106.63] File does not exist: /var/www/html/projeqtor/tool/loginCheck.php&isLoginPage=true, referer: http://192.168.106.204/projeqtor/view/main.php
[Wed Oct 19 11:04:10 2016] [error] [client 192.168.106.63] File does not exist: /var/www/html/projeqtor/tool/loginCheck.php&isLoginPage=true, referer: http://192.168.106.204/projeqtor/view/main.php
[Wed Oct 19 11:04:13 2016] [error] [client 192.168.106.63] File does not exist: /var/www/html/projeqtor/tool/loginCheck.php&isLoginPage=true, referer: http://192.168.106.204/projeqtor/view/main.php
[Wed Oct 19 11:04:16 2016] [error] [client 192.168.106.63] File does not exist: /var/www/html/projeqtor/tool/loginCheck.php&isLoginPage=true, referer: http://192.168.106.204/projeqtor/view/main.php
OK, so issue seems to occur sooner that I expected.
Here is another patch with some traces on another file.
Thanks to deploy it, test and post projeqtor log file.
2016-10-19 13:26:13.310 ----- DEBUG ----- loginCheck : no user with name 'admin'
2016-10-19 13:26:13.311 ===== TRACE ===== Login error for user 'admin'
Thanks, this helps but I still need more debuggin.
Attached is another patch with extra debugging.
Thanks to operate as previously
Output in the log is
2016-10-19 14:53:53.058 ----- DEBUG ----- loginCheck : no user with name 'admin'
2016-10-19 14:53:53.058 ===== TRACE ===== Login error for user 'admin'
Do you need some other log content?
Very Strange.
Logs seem to tell your database is not empty :silly:
Here is another patch with some extra log to try and understand
2016-10-19 17:46:05.414 ----- DEBUG ----- loginCheck : current db version = 'V0.3.0'
2016-10-19 17:46:05.414 ----- DEBUG ----- loginCheck : no user with name 'admin'
2016-10-19 17:46:05.415 ===== TRACE ===== Login error for user 'admin'
Thanks for long time dedicated to this topic
Your database is not empty.
Try and delete all tables in the database.
Delete or empty?
All of them?
Delete (drop table)
Yes, all tables in projeqtor database.
On first install database should be empty.
empty database.
Load th web and after neraly a minute appears this:
ERROR : error_log(../files/config/parameters.php): failed to open stream: Permission denied
in file.php
at line 32
Projqtor log...(only final lines)
2016-10-19 18:29:18.696 ** ERROR ** ERROR **
2016-10-19 18:29:18.696 ** ERROR ** on file '/var/www/html/projeqtor/tool/file.php' at line (32)
2016-10-19 18:29:18.696 ** ERROR ** cause = error_log(../files/config/parameters.php): failed to open strea$
2016-10-19 18:29:45.060 ----- DEBUG ----- loginCheck : current db version = 'V0.3.0'
2016-10-19 18:29:45.061 ** ERROR ** Exception-[42S02] SQLSTATE[42S02]: Base table or view not found: 1146 T$
2016-10-19 18:29:45.061 ** ERROR ***** For query : select * from user where user.name='admin' and user.isUs$
2016-10-19 18:29:45.061 ** ERROR ** Strack trace :
2016-10-19 18:29:45.061 ** ERROR ** #0 Sql->query called at [/var/www/html/projeqtor/model/persistence/S$
2016-10-19 18:29:45.061 ** ERROR ** #1 SqlElement->getSqlElementsFromCriteria called at [/var/www/html/p$
2016-10-19 18:29:45.061 ----- DEBUG ----- loginCheck : no user with name 'admin'
2016-10-19 18:29:45.061 ===== TRACE ===== Login error for user 'admin'
2016-10-19 18:29:49.791 ----- DEBUG ----- loginCheck : current db version = 'V0.3.0'
2016-10-19 18:29:49.792 ** ERROR ** Exception-[42S02] SQLSTATE[42S02]: Base table or view not found: 1146 T$
2016-10-19 18:29:49.792 ** ERROR ** For query : select * from user where user.name='admin' and user.isUs$
2016-10-19 18:29:49.792 ** ERROR ** Strack trace :
2016-10-19 18:29:49.792 ** ERROR ** #0 Sql->query called at [/var/www/html/projeqtor/model/persistence/S$
2016-10-19 18:29:49.792 ** ERROR ** #1 SqlElement->getSqlElementsFromCriteria called at [/var/www/html/p$
2016-10-19 18:29:49.792 ----- DEBUG ----- loginCheck : no user with name 'admin'
2016-10-19 18:29:49.792 ===== TRACE ===== Login error for user 'admin'
PorjeQtOr need to write in parameters.php, and this file is readonly...
have all r/w during install process to avoid this.
chmod -R 777 /var/www/html/preojeqtor
you'll reverse to 755 when all is OK.
NB : some tables may have been created, drop all again before retry.
Solved...working
Thank you very much for your time.
Hi
I'm trying to install projeqtor in an machine with windows server 2008 x64, but always I have the message of "Upgrade in progress" and when I try to login with admin/admin I have the message "Invalid login parameters". I tried to change the attributes of folder of projeqtor but I have the problem yet. If you can help me please with some tip or suggestion I'd appreciate it very much.
Best regards
Sebastian
2016-10-25 13:06:26.643 ..... SCRIPT .... ::1 /projeqtor/view/index.php
2016-10-25 13:06:26.947 ..... SCRIPT .... ::1 /projeqtor/view/main.php
2016-10-25 13:06:26.965 ..... SCRIPT .... ::1 Page=main.php
2016-10-25 13:06:26.966 ..... SCRIPT .... ::1 ->/view/login.php
2016-10-25 13:06:27.665 ..... SCRIPT .... ::1 /projeqtor/tool/saveDataToSession.php
2016-10-25 13:06:27.701 ..... SCRIPT .... ::1 Page=saveDataToSession.php
2016-10-25 13:06:27.714 ..... SCRIPT .... ::1 /projeqtor/tool/saveDataToSession.php
2016-10-25 13:06:27.733 ..... SCRIPT .... ::1 Page=saveDataToSession.php
2016-10-25 13:06:27.744 ..... SCRIPT .... ::1 /projeqtor/tool/saveDataToSession.php
2016-10-25 13:06:27.766 ..... SCRIPT .... ::1 Page=saveDataToSession.php
2016-10-25 13:06:27.778 ..... SCRIPT .... ::1 /projeqtor/tool/saveDataToSession.php
2016-10-25 13:06:27.799 ..... SCRIPT .... ::1 Page=saveDataToSession.php
2016-10-25 13:06:27.811 ..... SCRIPT .... ::1 /projeqtor/tool/saveDataToSession.php
2016-10-25 13:06:27.834 ..... SCRIPT .... ::1 Page=saveDataToSession.php
2016-10-25 13:06:27.846 ..... SCRIPT .... ::1 /projeqtor/tool/saveDataToSession.php
2016-10-25 13:06:27.870 ..... SCRIPT .... ::1 Page=saveDataToSession.php
2016-10-25 13:22:07.426 ..... SCRIPT .... ::1 /projeqtor/tool/getHash.php
2016-10-25 13:22:07.445 ..... SCRIPT .... ::1 Page=getHash.php
2016-10-25 13:22:07.505 ..... SCRIPT .... ::1 /projeqtor/tool/loginCheck.php
2016-10-25 13:22:07.522 ..... SCRIPT .... ::1 Page=loginCheck.php
2016-10-25 13:22:07.524 ..... SCRIPT .... ::1 ->/tool/loginCheck.php
2016-10-25 13:22:07.558 ===== TRACE ===== Login error for user 'admin'
In most cases, errors on first connection are due to incorrect LDAP pârameters.
Try and remove all LDAP parameters in parameters.php and test again.
I removed all
$paramLdap_allow_login = 'false';
$paramLdap_base_dn = '';
$paramLdap_host = '';
$paramLdap_port = '';
$paramLdap_version = '';
but I have the problem yet
2016-10-25 14:46:17.173 ..... SCRIPT .... ::1 /projeqtor/view/main.php
2016-10-25 14:46:17.192 ..... SCRIPT .... ::1 Page=main.php
2016-10-25 14:46:17.193 ..... SCRIPT .... ::1 ->/view/login.php
2016-10-25 14:46:17.971 ..... SCRIPT .... ::1 /projeqtor/tool/saveDataToSession.php
2016-10-25 14:46:17.992 ..... SCRIPT .... ::1 Page=saveDataToSession.php
2016-10-25 14:46:18.000 ..... SCRIPT .... ::1 /projeqtor/tool/saveDataToSession.php
2016-10-25 14:46:18.013 ..... SCRIPT .... ::1 Page=saveDataToSession.php
2016-10-25 14:46:18.021 ..... SCRIPT .... ::1 /projeqtor/tool/saveDataToSession.php
2016-10-25 14:46:18.037 ..... SCRIPT .... ::1 Page=saveDataToSession.php
2016-10-25 14:46:18.043 ..... SCRIPT .... ::1 /projeqtor/tool/saveDataToSession.php
2016-10-25 14:46:18.060 ..... SCRIPT .... ::1 Page=saveDataToSession.php
2016-10-25 14:46:18.069 ..... SCRIPT .... ::1 /projeqtor/tool/saveDataToSession.php
2016-10-25 14:46:18.079 ..... SCRIPT .... ::1 Page=saveDataToSession.php
2016-10-25 14:46:18.086 ..... SCRIPT .... ::1 /projeqtor/tool/saveDataToSession.php
2016-10-25 14:46:18.104 ..... SCRIPT .... ::1 Page=saveDataToSession.php
2016-10-25 14:46:26.780 ..... SCRIPT .... ::1 /projeqtor/tool/getHash.php
2016-10-25 14:46:26.797 ..... SCRIPT .... ::1 Page=getHash.php
2016-10-25 14:46:26.855 ..... SCRIPT .... ::1 /projeqtor/tool/loginCheck.php
2016-10-25 14:46:26.873 ..... SCRIPT .... ::1 Page=loginCheck.php
2016-10-25 14:46:26.875 ..... SCRIPT .... ::1 ->/tool/loginCheck.php
2016-10-25 14:46:26.884 ===== TRACE ===== Login error for user 'admin'
Hi
Thanks for your soon answer, I don't know if it's possible that the decrypting function don't work fine, because I find that the program make an AES 256 encryptation and the IIS only work with 128.
Bye
thanks
Hi,
I think you can change encryption up to 256 on IIS.
But your post pushed me to investigate on the subject, and possibly we'll move back to 128 bits AES encryption on next version as encryption with keys over 128 bits is illegal on some countries, and require declaration to govenment for others.
I don't thing this is major issue as we only encrypt login and password during login phase, not all data, but maybe we'll move to 128 bit to avoid abiguity for concerned counties, and 128 bits is quite good enough just to protect password (moreover if you run ProjeQtOr over https/SSL)
Hi
I found the problem, the issue is because in the User Account in Mysql I had a lot of users but I don't know why, I removed ones and I leaved only root user in localhost without password and all privileges and Projeqtor works!!!!!!
Thank you very much for your help.
Bye