11-20-2012, 02:46 AM
(11-20-2012, 01:37 AM)Daniel Wrote:(11-20-2012, 01:24 AM)steinm Wrote:(11-20-2012, 12:54 AM)Daniel Wrote: Ok, i changed that and went to My Documents menu point where it shows me this message at the top of the page:
....
Looks like the sql statements in $user->getApprovalStatus() failed for some reason.
Are you using the right version of LetoDMS_Core?
The next step would be to echo the sql statements in getApprovalStatus()
found in the file LetoDMS_Core/Core/inc.ClassUser.php
Uwe
The core.php file states * @version Release: 3.4.0RC4, the same also for inc.ClassUser.php
How to do the echo? The same way, just adding the statement you gave me above?
Go into LetoDMS_Core/Core/inc.ClassUser.php
In line 721 starts the function getApprovalStatus() which calls two sql statements. Both are stored in a variable $queryStr (line 745 and 781).
Output both with
echo $queryStr;
place that line before the $db->getResultArray() call.
Try both in your favorite mysql client (phpmyadmin or just mysql).
I suspect one of them fails. The statements can't do any harm because they are just select statements.
Uwe