Jump to:

17452 Posts in 4473 Topics by 1971 members


SilverStripe Forums » Archive » Problems with upgrading to 2.3.0-Rc1

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 1032 Views
  • Reflektera
    49 Posts

    Problems with upgrading to 2.3.0-Rc1 Link to this post

    I tried to upgrade to 2.3.0 but ran into som problems. I get this message when I try to load the site after /dev/build?flush=1:
    [Warning] SimpleXMLElement::__construct() [function.SimpleXMLElement---construct]: Entity: line 1: parser error : Entity 'aring' not defined


    209          $arr[$k] = $v;
    210       }
    211       return $arr;
    212    }
    214    /**
    215     * @uses recursiveXMLToArray()
    216     */
    217    static function xml2array($val) {
    218       $xml = new SimpleXMLElement($val);
    219       return self::recursiveXMLToArray($xml);
    220    }
    222    protected static function recursiveXMLToArray($xml) {
    223       if (get_class($xml) == 'SimpleXMLElement') {
    224     $attributes = $xml->attributes();


    * SimpleXMLElement->__construct(<p>D&aring; har &aring;rets /* ... ... */d&aring;! </p>)
    Line 218 of Convert.php
    * Convert::xml2array(<p>D&aring; har &aring;rets /* ... ... */d&aring;! </p>)
    Line 17 of HTMLText.php
    * HTMLText->Summary(10)
    * call_user_func_array(Array,Array)
    Line 409 of ViewableData.php
    /* ... ... */
    * SSViewer->process(HomePage_Controller)
    Line 320 of SSViewer.php
    * SSViewer->process(HomePage_Controller)
    Line 177 of Controller.php
    * Controller->handleAction(HTTPRequest)
    Line 107 of RequestHandler.php
    * RequestHandler->handleRequest(HTTPRequest)
    Line 124 of Controller.php
    * Controller->handleRequest(HTTPRequest)
    Line 19 of ModelAsController.php
    * ModelAsController->handleRequest(HTTPRequest)
    Line 246 of Director.php
    * Director::handleRequest(HTTPRequest,Session)
    Line 106 of Director.php
    * Director::direct(/startsida/)
    Line 95 of main.php

    I figure it has something with convertion in Content.Summary(10) to do, but I have no clue what to do about it. If I remove .Summary(10) it works fine.

    There is something wrong at the backend as well, look at the attached image to see what it looks like...

  • Double-A-Ron
    Community Member
    604 Posts

    Re: Problems with upgrading to 2.3.0-Rc1 Link to this post

    Hi Bortamatch,

    Re: the admin problem:

    Can you have a look at Firebug and see if any image references are missing/404's?

    That looks to me that TinyMCE isn't loading the images it uses for buttons, and just the Alt tags are showing in their place.

    I was actually under the impression that in 2.3.0, the WYSIWYG editors were meant to be tied to every indidual HTMLContent field too. Did you do a flush and clear cache while in the admin too?


  • Reflektera
    49 Posts

    Re: Problems with upgrading to 2.3.0-Rc1 Link to this post


    This is weird, I'm 99% sure that i did flush, but apparently I didn't... Now TinyMCE works as it should. I upgraded to the latest daily build the last thing I did yesterday an maybe that did it.Thanks anyway!

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.