[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

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 16:13:57
Script start
Timing: Jan 18 2025 16:13:57
Module start 'layout'
Timing: Jan 18 2025 16:13:57
Module start 'content'
Timing: Jan 18 2025 16:13:57
Module end 'content'
Timing: Jan 18 2025 16:13:57
Script end

Main resources:

Total runtime0.6435 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 589.1563152.6406
Module start 'layout' 0.00480.0024 741.796939.4766
Module start 'content' 0.00720.6346 781.2734586.8516
Module end 'content' 0.64190.0016 1,368.125012.1406
Script end 0.6434  1,380.2656 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.4850160.0002
Check MTime0.00130.2026160.0001
Mysql Total
Database connection0.00070.103410.0007
Mysqli_queries0.595392.5115620.0096
Looping result0.00060.0877600.0000
Template Total0.618696.120.3093
Template load0.00180.272820.0009
Template processing0.616995.866220.3084
Template load and register function0.00010.013410.0001
states
state_id_array0.00060.100610.0006
state_identifier_array0.00130.200420.0006
Override
Cache load0.00140.2226200.0001
Sytem overhead
Fetch class attribute can translate value0.00100.158830.0003
Fetch class attribute name0.00090.144160.0002
XML
Image XML parsing0.00100.152030.0003
class_abstraction
Instantiating content class attribute0.00000.001970.0000
General
dbfile0.00100.1537220.0000
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
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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 15
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs