Dirty Butter Posted August 26, 2014 Share Posted August 26, 2014 [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>]: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> 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? Quote Link to comment Share on other sites More sharing options...
bsmither Posted August 26, 2014 Share Posted August 26, 2014 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. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted August 26, 2014 Author Share Posted August 26, 2014 Thank you for the link. It's not important now that I know it's not something I did wrong, but why doesn't it fix the newsfeed to just manually change the RSS feed in Settings>Layouts to https? The secure url actually works when input via browser. Quote Link to comment Share on other sites More sharing options...
bsmither Posted August 26, 2014 Share Posted August 26, 2014 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. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted August 26, 2014 Author Share Posted August 26, 2014 Thank you, as always, for you time and knowledge! Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted August 28, 2014 Author Share Posted August 28, 2014 Well, the {$NEWS} is working again. Apparently CC has put the forum back on http:// Quote Link to comment Share on other sites More sharing options...
bsmither Posted August 28, 2014 Share Posted August 28, 2014 As of now, parts of it anyway. Reading this conversation, http. Reading the Community Index, https. 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.