Skip to content
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.

XML Parsing error on a script #179

Open
mikemast01 opened this issue Jun 29, 2017 · 8 comments
Open

XML Parsing error on a script #179

mikemast01 opened this issue Jun 29, 2017 · 8 comments

Comments

@mikemast01
Copy link

have a script that we have run in the past and have gotten output messages before.. same script as issue #177 ... we got the output working.. the project has sat for a few months and now when I go back in and run i get message at the end of the script. " XML Parsing Error:no root element found"

script does what it is suppose to do, just this error to web client.
Run script form command line, runs without error fine.

Any ideas as to why this would all of a sudden stop working?
Mike M.

@9whirls
Copy link
Contributor

9whirls commented Jun 30, 2017

Please post the source code of the returned webpage and also the output of the script when you run it from console.

@mikemast01
Copy link
Author

mikemast01 commented Jun 30, 2017 via email

@mikemast01
Copy link
Author

When i run from powershell.
image

@mikemast01
Copy link
Author

When I run thru webcommander the page sits and spins, but he snapshot is created I see it tasks in virtual center.
image

@mikemast01
Copy link
Author

mikemast01 commented Jul 25, 2017

The web page times out, and nothing get registered in the history.
I had this working back in May and now its broke.. and of course "no one touched anything" from what I am told ... LOL
image

@mikemast01
Copy link
Author

mikemast01 commented Jul 25, 2017

from web page...
image
When i do view source.. cant see it , but all there is , is a small number 1 in left hand corner.
image

@9whirls
Copy link
Contributor

9whirls commented Jul 25, 2017

  1. Increase max_execution_time in php.ini and try again.
  2. If 1 doesn't work, please set $env:runfromweb=$true and then run the script from console. Then post the output.

@mikemast01
Copy link
Author

thanks Jerry... so far increasing the max_execution_time seems to be working. I am going to run thru some more testing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants