Search the Community
Showing results for tags 'PHP error'.
-
Hiya, I have Cubecart 5.2.12 In the error log in Cpanel I'm seeing this series of errors over and over. I guess I want to know if this is an easy fix or should I submit a ticket or hire a freelancer? I don't think I've ever edited these files. I've looked at dashboard.index.inc.php on line 243 and I'm clueless because I know nothing about PHP. Thanks for looking. [12-Oct-2014 09:10:44 Australia/Perth] PHP Warning: SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.construct.php'>simplexmlelement.construct.php</a>]: Entity: line 1: parser error : Space required after the Public Identifier in /home/you32903/public_html/admin/sources/dashboard.index.inc.php on line 243 [12-Oct-2014 09:10:44 Australia/Perth] PHP Warning: SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.construct.php'>simplexmlelement.construct.php</a>]: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> in /home/you32903/public_html/admin/sources/dashboard.index.inc.php on line 243 [12-Oct-2014 09:10:44 Australia/Perth] PHP Warning: SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.construct.php'>simplexmlelement.construct.php</a>]: ^ in /home/you32903/public_html/admin/sources/dashboard.index.inc.php on line 243 [12-Oct-2014 09:10:44 Australia/Perth] PHP Warning: SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.construct.php'>simplexmlelement.construct.php</a>]: Entity: line 1: parser error : SystemLiteral " or ' expected in /home/you32903/public_html/admin/sources/dashboard.index.inc.php on line 243 [12-Oct-2014 09:10:44 Australia/Perth] PHP Warning: SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.construct.php'>simplexmlelement.construct.php</a>]: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> in /home/you32903/public_html/admin/sources/dashboard.index.inc.php on line 243 [12-Oct-2014 09:10:44 Australia/Perth] PHP Warning: SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.construct.php'>simplexmlelement.construct.php</a>]: ^ in /home/you32903/public_html/admin/sources/dashboard.index.inc.php on line 243 [12-Oct-2014 09:10:44 Australia/Perth] PHP Warning: SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.construct.php'>simplexmlelement.construct.php</a>]: Entity: line 1: parser error : SYSTEM or PUBLIC, the URI is missing in /home/you32903/public_html/admin/sources/dashboard.index.inc.php on line 243 [12-Oct-2014 09:10:44 Australia/Perth] PHP Warning: SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.construct.php'>simplexmlelement.construct.php</a>]: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> in /home/you32903/public_html/admin/sources/dashboard.index.inc.php on line 243 [12-Oct-2014 09:10:44 Australia/Perth] PHP Warning: SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.construct.php'>simplexmlelement.construct.php</a>]: ^ in /home/you32903/public_html/admin/sources/dashboard.index.inc.php on line 243 [12-Oct-2014 09:10:44 Australia/Perth] PHP Warning: String could not be parsed as XML in /home/you32903/public_html/admin/sources/dashboard.index.inc.php on line 259 This is line 243 in dashboard.index.inc.php if it's any help: if (($data = new SimpleXMLElement($response)) !== false) { I'm kinda thnking the line 259 is the code that generates the error message: trigger_error($e->getMessage(), E_USER_WARNING); Regards, Rick