Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Update Utility Fails - 500 Error Could not be parsed as XML

AnonymooseAnonymoose ✭✭
edited January 2015 in Vanilla 2.0 - 2.8
11 Jan 2015 - 00:49:38 anonymoose-domain.invalid Garden Exception: file_get_contents(http://vanillaforums.org/vforg/home/getfeed/announce/2/extended/?DeliveryType=VIEW) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error
 in /home/anonymoose/html/applications/dashboard/controllers/class.utilitycontroller.php on 47911 Jan 2015 - 00:49:38 anonymoose-domain.invalid Garden   #0 [internal function]: Gdn_ErrorHandler(2, 'file_get_conten...', '/home/anonymoose/h...', 479, Array)11 Jan 2015 - 00:49:38 anonymoose-domain.invalid Garden   #1 /home/anonymoose/html/applications/dashboard/controllers/class.utilitycontroller.php(479): file_get_contents('http://vanillaf...')11 Jan 2015 - 00:49:38 anonymoose-domain.invalid Garden   #2 [internal function]: UtilityController->GetFeed('announce', '2', 'extended')11 Jan 2015 - 00:49:38 anonymoose-domain.invalid Garden   #3 /home/anonymoose/html/library/core/class.dispatcher.php(350): call_user_func_array(Array, Array)11 Jan 2015 - 00:49:38 anonymoose-domain.invalid Garden   #4 /home/anonymoose/html/index.php(46): Gdn_Dispatcher->Dispatch()11 Jan 2015 - 00:49:38 anonymoose-domain.invalid Garden   #5 {main}

Whoops! There was an error.
FATAL ERROR IN: SimpleXMLElement.__construct();

"String could not be parsed as XML"

LOCATION: /var/www/frontend-ca****************************/applications/vforg/controllers/class.homecontroller.php

133: $Url = 'http://blog.vanillaforums.com/feed/';
134: }
135:
136: $RawFeed = file_get_contents($Url);

137: $this->Feed = new SimpleXmlElement($RawFeed);

138: $this->Render();
139: }
140:
141: public function ProxyFeed($Url) {

BACKTRACE:
[/var/www/frontend-ca****************************/applications/vforg/controllers/class.homecontroller.php 137] SimpleXMLElement->__construct();
[/var/www/frontend-ca****************************/applications/vforg/controllers/class.homecontroller.php 137] HomeController->GetFeed();
[/var/www/frontend-ca****************************/library/core/class.dispatcher.php 356] PHP::call_user_func_array();
[/var/www/frontend-ae****************************/index.php 46] Gdn_Dispatcher->Dispatch();

Comments

Sign In or Register to comment.