Fatal Error while translating with ezPublish 3.8

Fatal Error while translating with ezPublish 3.8

Monday 19 June 2006 12:40:25 pm - 2 replies

Modified on Monday 19 June 2006 12:41:03 pm by Hakim Bouras

Author Message

Markus Freyt

Thursday 07 December 2006 2:04:26 pm

Hi there,

I have the same error message on my ezpublish application as well. I didn't touch the language settings at all. Also I just have english language in my settings. After installation everything was working fine. I build up my page without any problems.

Some weeks ago I have upgraded from 3.7.x to 3.8.4. finally. Also without any problems.

Now I have recognized the same problem. Creating objects, classes,... - no problem, but editing newly added objects fails with fatal error.

For old objects (doesn't matter if it is article, folder, ...) I can use edit without any problems.

When I create a new object (independant from its class) ezpublish is presenting me the form for selecting the language to edit. In my case just one language is displayed here. After pressing ok, the fatal error appears. When editing the new object va sensitive menu (choosing "Edit In" and the correct language) I can edit those new objects without any problem..

Hope that we can find the bug (?) soon. Just let me know, if you need more info to get an indication.

Would you recomment us to upgrade to 3.8.6 or better wait for 3.9.

Pls, help...Many thanks....

Maxime Thomas

Tuesday 23 January 2007 6:18:13 am

Ok.

I've got the same issue, I was trying to translate a created content but it crashes just after the Language selection page...

I don't know why but the <b>Initial Language Code</b> is reset when you try to translate in a new language.

I don't know why it was ok just before I've got the issue,.

By the way, I've patched the <i>/kernel/classes/ezcontentobjectversion.php</i>, replacing the <i>initialLanguageCode()</i> function.

function initialLanguageCode()
    {
        $initialLanguage = $this->initialLanguage();
		if ($initialLanguage!=null)
		{
			return $initialLanguage->attribute( 'locale' );
		}
		else
		{
			return null;
		}
    }

And it runs as usual for me....

Maxime Thomas
maxime.thomas@wascou.org | www.wascou.org | http://twitter.com/wascou

Company Blog : http://www.wascou.org/eng/Company/Blog
Technical Blog : http://share.ez.no/blogs/maxime-thomas

You must be logged in to post messages in this topic!

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