Forums / Developer / ezurlalias_ml

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

eZ debug

Timing: Jan 17 2025 23:55:00
Script start
Timing: Jan 17 2025 23:55:00
Module start 'content'
Timing: Jan 17 2025 23:55:01
Module end 'content'
Timing: Jan 17 2025 23:55:01
Script end

Main resources:

Total runtime0.7809 sec
Peak memory usage4,096.0000 KB
Database Queries194

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0110 588.9688180.8594
Module start 'content' 0.01100.6311 769.8281561.5000
Module end 'content' 0.64210.1387 1,331.3281336.7734
Script end 0.7808  1,668.1016 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.5169210.0002
Check MTime0.00140.1774210.0001
Mysql Total
Database connection0.00060.082310.0006
Mysqli_queries0.685487.77171940.0035
Looping result0.00210.27331920.0000
Template Total0.749996.020.3750
Template load0.00190.237820.0009
Template processing0.748095.796620.3740
Template load and register function0.00030.033410.0003
states
state_id_array0.00080.099810.0008
state_identifier_array0.00100.134420.0005
Override
Cache load0.00160.2054360.0000
Sytem overhead
Fetch class attribute can translate value0.00160.200930.0005
Fetch class attribute name0.00190.245550.0004
XML
Image XML parsing0.00390.496130.0013
class_abstraction
Instantiating content class attribute0.00000.001860.0000
General
dbfile0.01301.6698340.0004
String conversion0.00000.001030.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 24
 Number of unique templates used: 8

Time used to render debug report: 0.0002 secs