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 Thu Apr 18, 2024 10:34 pm

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 14 posts ] 
Author Message
 Post subject: Beta 6 - Report problem
PostPosted: Wed Jul 18, 2012 8:22 pm 
Offline
Newbie

Joined: Wed Jun 15, 2011 1:12 am
Posts: 30
After upgrading to beta 6 from beta 5 I have tried running any report and am getting the following error:-

[quote]Fatal error: Call to a member function get_group_access() on a non-object in /usr/OAv2/code_igniter/system/application/controllers/report.php on line 70


Top
 Profile  
Reply with quote  
PostPosted: Wed Jul 18, 2012 10:03 pm 
Offline
Helper

Joined: Tue Jul 25, 2006 2:33 am
Posts: 83
Location: Hampshire, UK
Me too.
Individual machine details are OK, just the reports fail.
I tried disabling/enabling the reports but no change.
Bonus question: How do I turn off the debugging/trace info? URI STRING, CLASS/METHOD etc.

Thanks,
John

_________________
OA environment:
OA Server: Ubuntu 10.04LTS
1 Windows 2008R2 Server
4 Windows 2003 Servers
20 Windows XP workstations
1 Windows 7 workstation
2 Ubuntu 11.10 servers
Misc other networked items


Top
 Profile  
Reply with quote  
PostPosted: Wed Jul 18, 2012 10:07 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 07, 2004 11:48 am
Posts: 1964
Location: Brisbane, Australia
Weird - I cannot replicate this (it works fine for me).
Anyone else getting this?
Have you enabled a new report or is this an old report (from beta5 or below)?
Try putting the below on line 63 (which should be blank)
[code]$this->load->model("m_oa_group");[/code]
Does that work? I can't see where the model is being loaded, but it should be, because it works for me... weird.

As for turning off debugging, see here.
[url]http://www.open-audit.org/phpBB3/viewtopic.php?f=20&t=5903#p20626[/url]

_________________
Support and Development hours available from [url=https://opmantek.com]Opmantek[/url].
Please consider a purchase to help make Open-AudIT better for everyone.


Top
 Profile  
Reply with quote  
PostPosted: Wed Jul 18, 2012 10:14 pm 
Offline
Helper

Joined: Tue Jul 25, 2006 2:33 am
Posts: 83
Location: Hampshire, UK
Mark,
Fixed the debugging thing, thanks. That will teach me to read the messages from bottom to top :)

The error shows up for existing reports and new ones I enabled.
I'll add that line and report back.

_________________
OA environment:
OA Server: Ubuntu 10.04LTS
1 Windows 2008R2 Server
4 Windows 2003 Servers
20 Windows XP workstations
1 Windows 7 workstation
2 Ubuntu 11.10 servers
Misc other networked items


Top
 Profile  
Reply with quote  
PostPosted: Wed Jul 18, 2012 10:17 pm 
Offline
Newbie

Joined: Wed Jun 15, 2011 1:12 am
Posts: 30
I tried old and new reports. It was the same. I removed all reports and re-activated them all, no change.

I have added the line as you suggested and it now works perfectly.

Thanks

:D


Top
 Profile  
Reply with quote  
PostPosted: Wed Jul 18, 2012 10:29 pm 
Offline
Helper

Joined: Tue Jul 25, 2006 2:33 am
Posts: 83
Location: Hampshire, UK
Mark,
Adding that line #63 seems to fix it. I've tried a couple of reports and they appeared OK. Rather slowly but that is probably a problem at my end.
Thanks for the real-time fixes!

John

_________________
OA environment:
OA Server: Ubuntu 10.04LTS
1 Windows 2008R2 Server
4 Windows 2003 Servers
20 Windows XP workstations
1 Windows 7 workstation
2 Ubuntu 11.10 servers
Misc other networked items


Top
 Profile  
Reply with quote  
PostPosted: Wed Aug 01, 2012 6:44 am 
Offline
Newbie

Joined: Tue Mar 09, 2010 3:02 am
Posts: 32
Adding that code to line 63 of what file? Sorry, not sure where to add the change.

Thanks!


Top
 Profile  
Reply with quote  
PostPosted: Wed Aug 01, 2012 7:38 am 
Offline
Site Admin
User avatar

Joined: Mon Jun 07, 2004 11:48 am
Posts: 1964
Location: Brisbane, Australia
The line from the first post.
code_igniter/system/application/controllers/report.php

_________________
Support and Development hours available from [url=https://opmantek.com]Opmantek[/url].
Please consider a purchase to help make Open-AudIT better for everyone.


Top
 Profile  
Reply with quote  
PostPosted: Thu Aug 02, 2012 3:57 am 
Offline
Newbie

Joined: Tue Mar 09, 2010 3:02 am
Posts: 32
I am getting the following when running a report in B6:
The website encountered an error while retrieving http://openauditb6/index.php//report/sp ... re/1/17135. It may be down for maintenance or configured incorrectly.

I did add the line you suggested, and even rebooted the server, but didn't seem to help.


Top
 Profile  
Reply with quote  
PostPosted: Thu Aug 02, 2012 4:43 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 07, 2004 11:48 am
Posts: 1964
Location: Brisbane, Australia
If you're running apache, check the error.log file.

_________________
Support and Development hours available from [url=https://opmantek.com]Opmantek[/url].
Please consider a purchase to help make Open-AudIT better for everyone.


Top
 Profile  
Reply with quote  
PostPosted: Thu Aug 16, 2012 12:27 am 
Offline
Newbie

Joined: Tue Mar 09, 2010 3:02 am
Posts: 32
Points me to line 31 of :
/home/josh/openauditb6/code_igniter/system/application/controllers/report.php

Looked that up, and on that line exists this code:

$this->$method();

Any ideas what to do from here?


Top
 Profile  
Reply with quote  
PostPosted: Thu Aug 16, 2012 12:34 am 
Offline
Newbie

Joined: Tue Mar 09, 2010 3:02 am
Posts: 32
More specifically:

PHP Fatal error: Call to undefined method Report::specific_software() in /home/josh/openauditb6/code_igniter/system/application/controllers/report.php on line 31

Just realized that the specific_software() call may be the key in all of my trouble here.


Top
 Profile  
Reply with quote  
PostPosted: Thu Aug 16, 2012 1:36 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 07, 2004 11:48 am
Posts: 1964
Location: Brisbane, Australia
[quote="jpurcell"]PHP Fatal error: Call to undefined method Report::specific_software()

Make sure you have enabled the Specific Software Report...
Admin -> Reports -> Activate Report

_________________
Support and Development hours available from [url=https://opmantek.com]Opmantek[/url].
Please consider a purchase to help make Open-AudIT better for everyone.


Top
 Profile  
Reply with quote  
PostPosted: Fri Aug 17, 2012 12:42 am 
Offline
Newbie

Joined: Tue Mar 09, 2010 3:02 am
Posts: 32
You're kidding me! It was THAT easy?

Thanks Mark! All is good now.


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.  [ 14 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