ezurlalias_ml

Author Message

Mark Simon

Wednesday 06 October 2010 4:36:38 am

Hi there!

I've got a little problem with ezurlalias_ml.
Its on an instance using two languages. German as main language, and english as additional.
Each language has a own frontside access and the backend (admin) is german.

Only on the admin siteaccess I get Kernel Error 3 on every node I'm accessing.
In the debug is mentioned

"
eZContentObjectTreeNode::pathWithNames() failed to fetch path of node 431, falling back to generated url entries. Run updateniceurls.php to fix the problem.
"

Even after updateniceurls the ploblem still exists. So here is what I've found out so far:

The Languages have the ID's 3 and 4.

In eZContentLanguage::languagesSQLFilter is a method to build the SQL Filter for the language to get the parts of the path korresponding to the current language(s).

The Result of the filter is

"
ezurlalias_ml.lang_mask & 8 > 0
"

In the table ezurlalias_ml I've got my URLs of my nodes.
These have mainly the lang_mask 3, 4 or 7, some 5(?)

The languagesSQLFilter is build as 8 ( Language-ID 3 + Language-ID 4 + Always-Availible 1)

But 8 binary added on the values in the table ezurlalias_ml always will get an empty result!

0000 1000 &
0000 0111 =

0000 0000

Why is there added the fist-bit for Always availible in eZContentLanguage::languagesSQLFilter?

or is the updateniceurls.php creating wrong data into ezurlalias_ml?

thanking you in anticipation

Mark

www.all2e.com

André R.

Wednesday 06 October 2010 5:27:30 am

Which eZ Publish version is this? and has it been upgraded from a older version? If so, which one?

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Mark Simon

Wednesday 06 October 2010 6:31:40 am

it is an eZ 4.2 Version

updated from a 3.10

www.all2e.com

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