Language selector error

Author Message

Jorge estévez

Friday 10 April 2009 7:51:56 am

Hello

I have a site made with version 4.01, I have not changed the code that displays the language selector (name of languages linked to their corresponding URL), the site offline worked great, when accessing online (www.uplgroup.com) it keeps the offline URL the same.

Let me explain further:

OFFLINE:
Spanish has to go to http://127.0.0.1:81/up401/index.php/esl/content/view/full/69
English to http://127.0.0.1:81/up401/index.php/eng/content/view/full/69

The 127.0.0.1:81/up401 part of the URL should change if deploy the site in another location, but it does not at www.uplgroup.com

Any tips???

Diseño Web Cuba
Web Design Cuba
www.elfosdesign.com

André R.

Saturday 18 April 2009 10:37:08 am

eZ Publish normally uses relative urls, have you hardcoded the host name in the templates? or changed them to use absolute urls? Tried to clear all cache?

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

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

Main resources:

Total runtime0.7326 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0069 587.9063152.6250
Module start 'layout' 0.00690.0033 740.531339.4453
Module start 'content' 0.01020.7209 779.9766524.2266
Module end 'content' 0.73110.0014 1,304.20318.3281
Script end 0.7325  1,312.5313 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4536160.0002
Check MTime0.00130.1800160.0001
Mysql Total
Database connection0.00150.211210.0015
Mysqli_queries0.684893.4791540.0127
Looping result0.00060.0757520.0000
Template Total0.699995.520.3499
Template load0.00200.277020.0010
Template processing0.697895.261420.3489
Template load and register function0.00030.036110.0003
states
state_id_array0.00110.149510.0011
state_identifier_array0.00080.113020.0004
Override
Cache load0.00160.2239140.0001
Sytem overhead
Fetch class attribute can translate value0.00100.137920.0005
Fetch class attribute name0.00130.173030.0004
XML
Image XML parsing0.00060.086020.0003
class_abstraction
Instantiating content class attribute0.00000.000830.0000
General
dbfile0.00150.2059170.0001
String conversion0.00000.001240.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs