Trickster61 Posted October 12, 2014 Share Posted October 12, 2014 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 Quote Link to comment Share on other sites More sharing options...
bsmither Posted October 12, 2014 Share Posted October 12, 2014 In the Store Settings, Layout tab, Default RSS URL for Admin Dashboard: https://forums.cubecart.com/rss/forums/1-cubecart-news-announcements/ It's probable your CC5212 has an outdated RSS Feed source. Quote Link to comment Share on other sites More sharing options...
Trickster61 Posted October 12, 2014 Author Share Posted October 12, 2014 Thanks! I've put that in. You are the hardest working, on the ball, forum trouble shooter I've ever experienced. Quote Link to comment Share on other sites More sharing options...
havenswift-hosting Posted October 12, 2014 Share Posted October 12, 2014 Hi Glad you got this sorted earlier this morning with help from Brian. You might like to take a read of our blog posting about Manually Updating the RSS url following an upgrade from V4 to V5 for an explanation of the cause and the fix. Thanks Ian Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.