When I go to Add A System I receive a PHP Error

Asked by Anthony Litterio

I get the following on the screen:

Back to input page
Front Page
A PHP Error was encountered

Severity: Warning

Message: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 1: parser error : Start tag expected, '<' not found

Filename: controllers/system.php

Line Number: 74

A PHP Error was encountered

Severity: Warning

Message: SimpleXMLElement::__construct() [simplexmlelement.--construct]: gt-dw.geneva-trading.com

Filename: controllers/system.php

Line Number: 74

A PHP Error was encountered

Severity: Warning

Message: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^

Filename: controllers/system.php

Line Number: 74

( ! ) Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in C:\OpenAudit\oav2\code_igniter\system\application\controllers\system.php on line 74
( ! ) Exception: String could not be parsed as XML in C:\OpenAudit\oav2\code_igniter\system\application\controllers\system.php on line 74
Call Stack
# Time Memory Function Location
1 0.0010 385216 {main}( ) ..\index.php:0
2 0.0024 476312 require_once( 'C:\OpenAudit\oav2\code_igniter\system\codeigniter\CodeIgniter.php' ) ..\index.php:118
3 0.0699 3340656 call_user_func_array ( ) ..\CodeIgniter.php:236
4 0.0699 3340704 System->add_system( ) ..\CodeIgniter.php:0
5 0.1179 5345576 SimpleXMLElement->__construct( ) ..\system.php:74

I have gone in and out of these files and can not figure out how to fix this, please help! Thanks!

Question information

Language:
English Edit question
Status:
Solved
For:
OAv2 Edit question
Assignee:
No assignee Edit question
Solved by:
Anthony Litterio
Solved:
Last query:
Last reply:
Revision history for this message
Anthony Litterio (tlitterio) said :
#1

I am able to audit the PC's by running the Windows_Audit.vbs locally on each machine.

One question I have is there a way to grab the Windows Product Key? I need to know if these PC's have the OEM version of Windows installed. The only way that I know of to do that is by looking at the Product Key...

Revision history for this message
Anthony Litterio (tlitterio) said :
#2

Sorry for spamming my own post, but when I manually run the Windows_Audit.vbs how do I stop the script from prompting for OK after every section?

Revision history for this message
Anthony Litterio (tlitterio) said :
#3

I have worked the Product ID out if you're interested in adding it to the final build... I signed up for the forum on the open audit site but never got an email with an approval to login.

Revision history for this message
Anthony Litterio (tlitterio) said :
#4

I have worked the Product ID out if you're interested in adding it to the final build... I signed up for the forum on the open audit site but never got an email with an approval to login.

Revision history for this message
Mark Unwin (mark-unwin) said :
#5

One question I have is there a way to grab the Windows Product Key? I need to know if these PC's have the OEM version of Windows installed. The only way that I know of to do that is by looking at the Product Key...

It is extracted as part of the script.

Sorry for spamming my own post, but when I manually run the Windows_Audit.vbs how do I stop the script from prompting for OK after every section?

Run it with cscript, IE
cscript audit_windows.vbs COMPUTERNAME

I have worked the Product ID out if you're interested in adding it to the final build... I signed up for the forum on the open audit site but never got an email with an approval to login.

Email me - <email address hidden>

Revision history for this message
Anthony Litterio (tlitterio) said :
#6

Hi Mark,

I sent an email to the above address and it bounced back.

Delivery has failed to these recipients or distribution lists:

<email address hidden>
The recipient's e-mail address was not found in the recipient's e-mail system. Microsoft Exchange will not try to redeliver this message for you. Please check the e-mail address and try resending this message, or provide the following diagnostic text to your system administrator.

The following organization rejected your message: mx.google.com.

Thanks!
Tony