Jump to content

NEWS? Error Message on Dashboard Debug


Dirty Butter

Recommended Posts

 

[26-Aug-2014 12:22:40 America/Chicago] PHP Warning:  SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.construct.php'>simplexmlelement.construct.php</a>]: &lt;!DOCTYPE HTML PUBLIC &quot;-//IETF//DTD HTML 2.0//EN&quot;&gt; in /home3/butter01/public_html/plushcatalog/admin/sources/dashboard.index.inc.php on line 291

[26-Aug-2014 12:22:40 America/Chicago] PHP Warning:  SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.construct.php'>simplexmlelement.construct.php</a>]:                                                  ^ in /home3/butter01/public_html/plushcatalog/admin/sources/dashboard.index.inc.php on line 291

[26-Aug-2014 12:22:40 America/Chicago] PHP Warning:  String could not be parsed as XML in /home3/butter01/public_html/plushcatalog/admin/sources/dashboard.index.inc.php on line 307

 

 

Both the 5.2.12 and the 5.2.13 stores show this on the dashboard, and neither one has the {$NEWS} link showing. Is this something I need to fix, or is the problem on CC's end?

Link to comment
Share on other sites

Devellion switched the entire cubecart.com website to SSL mode.

 

When data for the Dashboard is being gathered, the RSS Feed URL in admin, Store Settings, Layout tab is used to fetch the latest news using the Request Class. Unfortunately, Request is not yet coded properly to handle the 301 Redirect (new location, https) that is returned.

 

There is >another conversation in the forums that talks about this.

 

This also causes a problem when trying to update.

Link to comment
Share on other sites

The PHP language has a few different ways of fetching external data. Each of those ways has different requirements, and none of those ways emulate how a browser makes a request (which, a browser is already set up to talk SSL and handles 301 and 302 redirects behind the scenes).

 

So, yes, a browser works, but not the PHP code that CubeCart uses.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...