View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Version 4.4.2 - Audit table insert into issue - ProjeQtOr
 
 

Version 4.4.2 - Audit table insert into issue

More
07 Oct 2014 12:54 #1 by THAKKAR
Hi there,

I have recently installed projeqtor successfully. I am able to login as well.. However I do see "audit" table insert into query error in logs as below. I believe the issue is with "CONNECTION" field.

Please help me to resolve this issue.

Exception-[42000] SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'connection , lastAccess , duration , idle , requestRefreshParam , requestRefresh' at line 1
2014-10-07 16:01:40 ***** ERROR ***** For query : insert into audit ( sessionId , auditDay , idUser , userName , platform , browser , browserVersion , userAgent , connection , lastAccess , duration , idle , requestRefreshParam , requestRefreshProject , requestDisconnection ) values ('qr3uv056aim71243dhvajsjro7', '20141007', '1', 'admin', 'Windows', 'Google Chrome', '37.0.2062.124', 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36', '2014-10-07 16:01:40', '2014-10-07 16:01:40', '04:30:00', '0', '0', '0', '0')
2014-10-07 16:01:40 ***** ERROR ***** Strack trace :
2014-10-07 16:01:40 ***** ERROR ***** #0 Sql->query called at [C:\inetpub\wwwroot\projeqtor\model\persistence\SqlElement.php:664]
2014-10-07 16:01:40 ***** ERROR ***** #1 SqlElement->insertSqlElement called at [C:\inetpub\wwwroot\projeqtor\model\persistence\SqlElement.php:482]
2014-10-07 16:01:40 ***** ERROR ***** #2 SqlElement->saveSqlElement called at [C:\inetpub\wwwroot\projeqtor\model\persistence\SqlElement.php:371]
2014-10-07 16:01:40 ***** ERROR ***** #3 SqlElement->save called at [C:\inetpub\wwwroot\projeqtor\model\Audit.php:146]
2014-10-07 16:01:40 ***** ERROR ***** #4 Audit->updateAudit called at [C:\inetpub\wwwroot\projeqtor\tool\loginCheck.php:246]
2014-10-07 16:01:40 ***** ERROR ***** #5 loginOk called at [C:\inetpub\wwwroot\projeqtor\tool\loginCheck.php:102]

Best regards,

Jigar.

Please Log in or Create an account to join the conversation.

More
07 Oct 2014 13:55 #2 by babynus
Hi,

Strange : I just copied Query and tested in on my environments (tested on Windows and Linux in case of case sensitivity issue) and it works fine :silly:

Which version of MySql are you using ?
Do you share your database woth other application ?
Can you check your "audit" table : description and access rights ?

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
09 Oct 2014 07:05 #3 by THAKKAR
Hi,

Thank You for your prompt response.

I am using MySql 5.0.37.
I don't share this server with other application.
Also permission looks good to me.

Just FYI, when I remove 'CONNECTION' column and execute that query; it executes successfully.

Best regards,

Jigar.

Please Log in or Create an account to join the conversation.

More
09 Oct 2014 12:12 #4 by babynus
Hi,

You gave me good Hint : CONNECTION is a reserved key work for old patch versions of MySql
dev.mysql.com/doc/mysqld-version-referen...tn.idm47128217632976
dev.mysql.com/doc/mysqld-version-referen...tn.idm47128217411872

First MySql patch that is not restricted is ... V5.0.38...
Please concider upgrading you MySql patch level (should always be a ggod advise)

I'll have a look for some patch, for next version.

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.036 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.