I had the same problem (more or less). Audit.vbs worked, but no results were shown.
I think it has something to do with the database (connection/configuration). Audit.vbs works, but isn't able to write anything to the database. Therefore nothing shows up in the webpage.
I solved my problem by editing audit.config. The problem was audit_host, ie_form_page and non_ie_page.
[code] audit_location = "r" verbose = "y" audit_host="http://localhost.local" online = "yesxml" strComputer = "." ie_visible = "n" ie_auto_submit = "y" ie_submit_verbose = "n" ie_form_page = audit_host + "/openaudit/admin_pc_add_1.php" non_ie_page = audit_host + "/openaudit/admin_pc_add_2.php" input_file = "" [/code]
I edited into: [code] audit_location = "r" verbose = "y" audit_host="http://localhost" ' *** didn't need the .local online = "yesxml" strComputer = "" ie_visible = "n" ie_auto_submit = "y" ie_submit_verbose = "n" ie_form_page = audit_host + "/open-audit/admin_pc_add_1.php" ' *** - was added (because that's what the url was. You should check yours.) non_ie_page = audit_host + "/open-audit/admin_pc_add_2.php" ' *** same here input_file = "" [/code] Then it worked.
I'm guessing audit.vbs has no direct link to the database (you don't need to make an entry in the audit.config file about it). It probably goes via the configuration of open-audit. So it's best to reexamine the link to the MySQL database and anything that could hinder the connection to the database. Also review audit.config and check for typo's.
|