XML blocks content is gone after site migration [solved]

Author Message

Lex 007

Wednesday 15 March 2006 12:51:47 pm

Hi,

I just changed of hosting, and to my surprise, all XML blocks content is not displayed for old objets, although it is in the database. New objects are published without any problem !

I don't have CLI available so I tried to run updatexmltext.php without it ... it runs up to 40% and then crashes with :
Fatal error: Call to a member function on a non-object in updatexmltext.php on line

on :

for ( $j = 0; $j < count( $linkAttributes ); ++$j )
            {
                $linkAttribute =& $linkAttributes[$j];
                if ( $linkAttribute->name() == 'href' )
                    $hrefAttribute =& $linkAttributes[$j];
                else if ( $linkAttribute->name() == 'id' )
                    $idAttribute =& $linkAttributes[$j];
                else if ( $linkAttribute->name() == 'target' )
                    $targetAttribute =& $linkAttributes[$j];
            }

For the 40% that are processed, unfortunatly, all special french characters such as é or è are lost ! And the content is still not editable in the admin interface. please help.

See my site here : http://www.abric.org/

Lex

Kristof Coomans

Wednesday 15 March 2006 11:00:14 pm

Did you get anything in place for the special french characters such as é or è? Maybe it's a problem with the charset.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Lex 007

Thursday 16 March 2006 12:26:39 am

Unfortunatly not, the special french characters are just gone !
But the biggest problem is probably the admin interface : I cannot edit the content of objects containint a XML Block : the edit page contains no field at all !

Kristof Coomans

Thursday 16 March 2006 2:19:50 am

From and to which version of eZ publish are you upgrading? Any upgrades on the database-side to?

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Lex 007

Thursday 16 March 2006 4:47:31 am

Hi,

I solved my problem, by re-importing the data with the proper French settings in site.ini

ContentObjectLocale=fre-FR

Thanks Kristof

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.