Registrations to Open-AudIT forums are now closed. To ask any new questions please visit Opmantek Community Questions.

Open-AudIT

What's on your network?
It is currently Wed Apr 17, 2024 6:21 am

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
PostPosted: Wed Feb 27, 2013 10:40 pm 
Offline
Newbie

Joined: Tue Mar 16, 2010 10:44 pm
Posts: 25
Location: Germany
[quote]A Database Error Occurred

Error Number: 1054

Unknown column 'oa_group_sys.system_id' in 'on clause'

SELECT system.system_id, system.hostname, sys_sw_group.group_members FROM system LEFT JOIN sys_sw_group ON (sys_sw_group.system_id = oa_group_sys.system_id AND sys_sw_group.timestamp = system.timestamp) LEFT JOIN oa_group_sys ON oa_group_sys.system_id = system.system_id WHERE oa_group_sys.group_id = @group AND sys_sw_group.group_name = "Administrators" GROUP BY sys_sw_group.group_id ORDER BY sys_sw_group.system_id

Filename: models/m_oa_report.php

Line Number: 127


Last edited by 4077 on Mon Mar 11, 2013 8:25 pm, edited 2 times in total.

Top
 Profile  
Reply with quote  
PostPosted: Thu Feb 28, 2013 2:46 am 
Offline
Moderator

Joined: Fri Jul 20, 2007 8:27 am
Posts: 1259
Deactivate the report.
Overwrite existing report in code_igniter\application\controllers\reports with attached LocalAdministrators.xml.
Reactivate report.
Let us know how it goes.


Attachments:
LocalAdministrators.xml [1.51 KiB]
Downloaded 366 times
Top
 Profile  
Reply with quote  
PostPosted: Mon Mar 11, 2013 8:25 pm 
Offline
Newbie

Joined: Tue Mar 16, 2010 10:44 pm
Posts: 25
Location: Germany
No further errors.
But I'm not sure if the query is correct.
I don't get any result. But I'm sure some of my testing collegues are local administrators on their machine.


Top
 Profile  
Reply with quote  
PostPosted: Tue Mar 12, 2013 1:45 am 
Offline
Moderator

Joined: Fri Jul 20, 2007 8:27 am
Posts: 1259
The report works here. Perhaps you don't have good audit data to display? Can you check for good data in the sys_sw_group table in the the group_members field?


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC + 10 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group