Open-AudIT https://www.open-audit.org/phpBB3/ |
|
scan OK, but don't appear in open-audit [fixed] https://www.open-audit.org/phpBB3/viewtopic.php?f=10&t=1053 |
Page 1 of 1 |
Author: | eurodams [ Tue Jul 25, 2006 4:39 pm ] |
Post subject: | scan OK, but don't appear in open-audit [fixed] |
hello, Scan insert into my mysql database only the UUID, and other colons are NULL. I don't understand th reason ... Please Help me Damien |
Author: | Mark [ Tue Jul 25, 2006 4:46 pm ] |
Post subject: | |
Try a scan with online = "n" in audit.config. This should make a text file with the name of the PC as its name. Open it up - is there data in there ? There should be - you could input this into admin_add_pc_1.php yourself - does this work ? Mark. |
Author: | eurodams [ Tue Jul 25, 2006 5:02 pm ] |
Post subject: | |
yes, the text file have all informations. And admin_add_pc_1.php doesn't work. [code]Verbose: User: m4961 Verbose: y System: MPN00001 UUID: CBA254B2-223E-11DA-BBDA-C25544E90014 Timestamp: 20060725085123 Software Audit: y SELECT MAX(system_audits_timestamp) AS timestamp FROM system_audits WHERE system_audits_uuid = 'CBA254B2-223E-11DA-BBDA-C25544E90014' INSERT INTO system_audits (system_audits_uuid, system_audits_timestamp, system_audits_username) VALUES ('CBA254B2-223E-11DA-BBDA-C25544E90014','20060725085123','m4961') INSERT INTO system (system_uuid, system_first_timestamp) VALUES ('CBA254B2-223E-11DA-BBDA-C25544E90014','20060725085123') UPDATE system SET system_timestamp = '20060725085123' WHERE system_uuid = 'CBA254B2-223E-11DA-BBDA-C25544E90014' Fatal error: Call to undefined function: mysql_real_escape_string() in c:\program files\easyphp\www\open-audit\admin_pc_add_2.php on line 168 [/code] |
Author: | aconbere [ Wed Jul 26, 2006 12:18 am ] |
Post subject: | |
what version of php are you running? This error is as far as I can tell relegated to those using below php 4.3 where this function was called "mysql_escape_string()". ~ Anders |
Author: | eurodams [ Thu Jul 27, 2006 12:39 am ] |
Post subject: | |
I'm using php 4.2.0, that's the problem ? |
Author: | aconbere [ Thu Jul 27, 2006 12:43 am ] |
Post subject: | |
@eurodams - yep! if you want you can do what I said and just change every instance of mysql_real_escape_string() to mysql_escape_string and things should work okay for you. In reality what would be best is to upgrade php. ~ Anders |
Author: | eurodams [ Thu Jul 27, 2006 6:16 pm ] |
Post subject: | |
thanks, aconbere. When i put the text information on admin_add_pc_1.php, the workstation appear, that's good. But when i scan network , workstations don't appear ... |
Author: | d.l.dave [ Thu Jul 27, 2006 6:19 pm ] |
Post subject: | |
Try with online="yesxml" in audit.config and let me know the results. |
Author: | eurodams [ Thu Jul 27, 2006 6:31 pm ] |
Post subject: | |
online ="n" -> name.txt that's good, if i put infos in admin_add_pc_1.php, that"s OK. online = "y" -> no stations in open-audit, and no text file online = "yesxml" -> no stations in open-audit, and no text file |
Author: | eurodams [ Thu Jul 27, 2006 6:38 pm ] |
Post subject: | |
Sorry, i test with online = "ie" and that's OK. Thanks you for all, and i wish a long life for Open-Audit !!! |
Author: | d.l.dave [ Thu Jul 27, 2006 6:39 pm ] |
Post subject: | |
Okay. Try online = "ie" ie_auto_submit = "n" ie_submit_verbose = "y" After the audit.vbs script has run it should open an Internet Explorer window at the admin_add_pc_1.php page. Check that the textbox contains the audit data and click submit. Does it work now? |
Page 1 of 1 | All times are UTC + 10 hours |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |