Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

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

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

Problems with upgrading to 2.3.0-Rc1


Reply


3 Posts   1044 Views

Avatar
Reflektera

49 Posts

19 November 2008 at 12:46pm

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

Source

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

Trace

* 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...

Avatar
Double-A-Ron

Community Member, 604 Posts

19 November 2008 at 3:10pm

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?

Cheers
Aaron

Avatar
Reflektera

49 Posts

19 November 2008 at 7:30pm

@Double-A-Ron

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!