I try monitor jobqueue and see this error at click.
Ispconfig 3.0.1.12
Monitor
show jobqueue
Error:
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 'AND sys_perm_user like '%r%') OR (sys_groupid IN (0) AND sys_perm_group like '%' at line 1
Debian 5.0.1 x64
ii mysql-client 5.0.51a-24+lenny1 MySQL database client (metapackage depending on the latest ver
ii mysql-client-5.0 5.0.51a-24+lenny1 MySQL database client binaries
ii mysql-common 5.0.51a-24+lenny1 MySQL database common files
ii mysql-server 5.0.51a-24+lenny1 MySQL database server (metapackage depending on the latest ver
ii mysql-server-5.0 5.0.51a-24+lenny1 MySQL database server binaries
Posts: 31,896
Thanks: 693
Thanked 4,192 Times in 3,208 Posts
I'am not able to reproduce this on Debiab Lenny 32 Bit with the same mysql version. It looks like you either edited your admin user manually or used a manually created admin user to login to ispconfig were you did not set the default group correctly.
After little debuging when I select Show Jobqueue the session var $_SESSION["s"]["user"]["userid"] is empty, causing the $sql var to be ((sys_userid= AND... which cause the error. Another call to getAuthSQL from login or other menus works ok, only when called from Show jobqueue have this error.
In datalog_list.php when you loop through servers (foreach ($servers as $s)...) the $s variable somehow alters the session $_SESSION["s"] variable. I don't know why this is happening.. Changing the name to $temps for ex solves the problem.
Sorry for the delay but i was away for a few weeks.
Regards,
VM
The Following User Says Thank You to virtualm For This Useful Post:
Recent comments
9 hours 51 min ago
19 hours 18 min ago
20 hours 8 min ago
23 hours 41 min ago
1 day 4 hours ago
1 day 4 hours ago
1 day 6 hours ago
1 day 16 hours ago
1 day 21 hours ago
1 day 23 hours ago