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 Fri Mar 29, 2024 11:33 am

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 15 posts ] 
Author Message
 Post subject: Trunk Version 591
PostPosted: Wed Oct 25, 2006 12:50 am 
Offline
Newbie

Joined: Fri Sep 22, 2006 6:32 am
Posts: 18
Location: Saint Paul, MN
I just updated to this version, and now the export to CVS and PDF don't work any more. It says it's calling to a function that is not there any more. I looked in the include_function.php file and did not see the function called "__()".


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Oct 25, 2006 1:30 am 
Offline
Moderator

Joined: Sun Aug 06, 2006 1:13 am
Posts: 362
Location: Germany
Same at me. mikeyrb has moved this function to include_lang.php.


@mikeyrb

Could you please check ALL GIU-Files for the user of this function and include the new file to this pages?

I can not develope since the last change with the new config stuff :-(

matze


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Oct 25, 2006 1:51 am 
Darn, I was assuming everything included include.php. Guess that was wrong. I'll add it to the export pages, are there any more?


Top
  
Reply with quote  
 Post subject:
PostPosted: Wed Oct 25, 2006 2:41 am 
Offline
Newbie

Joined: Wed May 25, 2005 5:11 am
Posts: 49
Location: Toronto, Ontario, Canada
[quote="mikeyrb"]Darn, I was assuming everything included include.php. Guess that was wrong. I'll add it to the export pages, are there any more?


I've noticed that when I try to export the software listing for a particular machine to CSV I get this error message:

[quote]Fatal error: Call to undefined function: __() in c:\inetpub\wwwroot\openaudit\list_viewdef_software_for_system.php on line 3

Line 3 in list_viewdef_software_for_system.php is:
[code]$query_array=array("headline"=>array("name"=>__("Installed Software"),
"sql"=>"SELECT `system_name` FROM `system` WHERE `system_uuid` = '" . $_REQUEST["pc"] . "'",
),[/code]

I've already updated my copy of Open Audit with the new version of system_export.php from this morning. It looks like it is still looking for the __() function. Thanks :)

Top
 Profile  
Reply with quote  
 Post subject: Still Not working
PostPosted: Wed Oct 25, 2006 2:56 am 
Offline
Newbie

Joined: Fri Sep 22, 2006 6:32 am
Posts: 18
Location: Saint Paul, MN
sorry, I also tried it and it doesn't work


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Oct 25, 2006 3:34 am 
Offline
Moderator

Joined: Sun Aug 06, 2006 1:13 am
Posts: 362
Location: Germany
[quote="mikeyrb"]Darn, I was assuming everything included include.php. Guess that was wrong. I'll add it to the export pages, are there any more?


The export-pages, upgrade.php, system_post.php, rss_new_software.php...

All pages, which have no menue at the right.

Top
 Profile  
Reply with quote  
 Post subject: PDF works
PostPosted: Wed Oct 25, 2006 3:42 am 
Offline
Newbie

Joined: Fri Sep 22, 2006 6:32 am
Posts: 18
Location: Saint Paul, MN
after the 592 update, the pdf export works


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Oct 25, 2006 4:13 am 
Should all be fixed, let me know if there are any issues.


Top
  
Reply with quote  
 Post subject:
PostPosted: Wed Oct 25, 2006 4:25 am 
And by that, I mean it hasn't been. Apparently my update script wasn't working moving trunk to web server. I'll work on it.


Top
  
Reply with quote  
 Post subject:
PostPosted: Wed Oct 25, 2006 4:29 am 
Offline
Newbie

Joined: Wed May 25, 2005 5:11 am
Posts: 49
Location: Toronto, Ontario, Canada
[quote="mikeyrb"]Should all be fixed, let me know if there are any issues.


Unfortunately for me (as of revision 593) the "Export to CSV" feature still seems to be broken.

list_export.php is still looking for the __() function in the list_viewdef_*.php files.

Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Oct 25, 2006 4:30 am 
Try the latest now.


Top
  
Reply with quote  
 Post subject: Awesome
PostPosted: Wed Oct 25, 2006 4:58 am 
Offline
Newbie

Joined: Fri Sep 22, 2006 6:32 am
Posts: 18
Location: Saint Paul, MN
Works great for me........Thanks Mikeyrb


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Oct 25, 2006 5:55 am 
Offline
Newbie

Joined: Fri Oct 20, 2006 2:49 am
Posts: 4
As of 594, it's still broken for me too (on CSV export):

[quote]PHP Fatal error: Call to undefined function __() in C:\\WWW\\openaudit\\list_viewdef_statistic_os.php on line 3, referer: http://domain.tld/openaudit/list.php?view=statistic_os


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Oct 25, 2006 6:02 am 
I went to this page: http://openaudit/list.php?view=statistic_os and did csv export. I received no errors. Is anyone else still receiving errors?


Top
  
Reply with quote  
 Post subject:
PostPosted: Wed Oct 25, 2006 12:32 pm 
Offline
Newbie

Joined: Fri Oct 20, 2006 2:49 am
Posts: 4
Just grabbed 596 and the problem is gone for me 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.  [ 15 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:  
cron
Powered by phpBB® Forum Software © phpBB Group