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.

eZ debug

Timing: Jan 18 2025 03:02:52
Script start
Timing: Jan 18 2025 03:02:52
Module start 'layout'
Timing: Jan 18 2025 03:02:52
Module start 'content'
Timing: Jan 18 2025 03:02:52
Module end 'content'
Timing: Jan 18 2025 03:02:52
Script end

Main resources:

Total runtime0.9065 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0066 587.7891152.6094
Module start 'layout' 0.00660.0027 740.398439.4063
Module start 'content' 0.00930.8956 779.8047556.4453
Module end 'content' 0.90490.0016 1,336.250012.2031
Script end 0.9064  1,348.4531 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.4056160.0002
Check MTime0.00160.1775160.0001
Mysql Total
Database connection0.00080.090910.0008
Mysqli_queries0.847693.5017570.0149
Looping result0.00060.0620550.0000
Template Total0.875296.620.4376
Template load0.00210.235420.0011
Template processing0.873196.315720.4365
Template load and register function0.00010.010910.0001
states
state_id_array0.00080.086710.0008
state_identifier_array0.00110.121420.0006
Override
Cache load0.00180.1992360.0001
Sytem overhead
Fetch class attribute can translate value0.00080.091020.0004
Fetch class attribute name0.00150.160150.0003
XML
Image XML parsing0.00090.104820.0005
class_abstraction
Instantiating content class attribute0.00000.001060.0000
General
dbfile0.00210.2325230.0001
String conversion0.00000.000940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
2content/datatype/view/ezxmltags/quote.tpldatatype/ezxmltext/quote.tplextension/ezwebin/design/ezwebin/override/templates/datatype/ezxmltext/quote.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 24
 Number of unique templates used: 8

Time used to render debug report: 0.0001 secs