Forums / Install & configuration / [Resolved] URL and translation problem

[Resolved] URL and translation problem

Author Message

Alain Sahli

Wednesday 03 September 2008 12:32:20 am

Hi all !

I use eZ Publish 4.0 and I have 3 siteaccess (fre / ger / eng). The siteaccess match method is set to uri.

Each siteaccess has its own language. My problem is that I often have module errors like this :

Module not found

The requested module Products could not be found.

Possible reasons for this are:

    * The module name was misspelled, try changing the URL.
    * The module does not exist on this site.
    * This site uses siteaccess matching in the URL and you did not supply one, try inserting a siteaccess name before the module in the URL .

For example if I have a category "products" and in this category a product named "car" I want to access to this product with the url http://www.mysite.com/eng/products/car and in the other language : http://www.mysite.com/ger/produkte/auto and http://www.mysite.com/produits/voiture (default siteaccess is fre).

It's a very strange problem some of my URLs works fine but other don't works and I don't know why :(

Thanks for your help.

 

http://www.wess.ch
eZ Publish Certified developer : http://auth.ez.no/certification/verify/272583

Xavier Serna

Wednesday 03 September 2008 12:47:55 am

You must update to 4.0.1 as in 4.0 there are a lot of bugs in the multilingual url system.

--
Xavier Serna
eZ Publish Certified Developer
Departament de Software
Microblau S.L. - http://www.microblau.net
+34 937 466 205

Pierre T.

Wednesday 03 September 2008 1:05:03 am

I had same problems as Alain in 4.0.1. I reinstall ez from scratch with the last version available on the svn (I don't know if it's the 4.0.1 too) and then it worked ! But I don't know exactly why the problem was solved. Maybe bad config...

Alain Sahli

Wednesday 03 September 2008 3:04:59 am

Thanks it works fine !

http://www.wess.ch
eZ Publish Certified developer : http://auth.ez.no/certification/verify/272583

eZ debug

Timing: Jan 18 2025 11:09:47
Script start
Timing: Jan 18 2025 11:09:47
Module start 'content'
Timing: Jan 18 2025 11:09:48
Module end 'content'
Timing: Jan 18 2025 11:09:48
Script end

Main resources:

Total runtime0.7806 sec
Peak memory usage4,096.0000 KB
Database Queries199

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0104 588.9531180.8203
Module start 'content' 0.01040.6405 769.7734591.9453
Module end 'content' 0.65090.1296 1,361.7188337.3750
Script end 0.7805  1,699.0938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.5232210.0002
Check MTime0.00150.1878210.0001
Mysql Total
Database connection0.00070.094410.0007
Mysqli_queries0.696789.25731990.0035
Looping result0.00210.26531970.0000
Template Total0.743395.220.3717
Template load0.00190.239620.0009
Template processing0.741594.991820.3707
Template load and register function0.00010.013010.0001
states
state_id_array0.00220.281110.0022
state_identifier_array0.00080.099620.0004
Override
Cache load0.00160.2019200.0001
Sytem overhead
Fetch class attribute can translate value0.00270.344940.0007
Fetch class attribute name0.00110.143360.0002
XML
Image XML parsing0.00200.256940.0005
class_abstraction
Instantiating content class attribute0.00000.001970.0000
General
dbfile0.00410.5300330.0001
String conversion0.00000.001330.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 15
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs