Forums / Install & configuration / Configuration problem: The root path

Configuration problem: The root path

Author Message

loukmane issa

Wednesday 02 September 2009 6:59:49 am

Hi everyone,
I have download an ez publish 4.0.1 based site and i have to copy it locally. The problem is that the root path is configure for the online site. I would like to modify it, but i don't find where.

For example, when i'm on: "http://localhost/site/" and i click on log in, it bring me on : "http://localhost/user/login".

I hope you can help me

Thanks a lot! :)

André R.

Wednesday 02 September 2009 7:05:17 am

Have you tried to clear all cache after you copied it?
You can do it manually by deleting the content of var/cache and var/<site_name>/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

loukmane issa

Wednesday 02 September 2009 7:11:47 am

Yes it don't work.

On other CMS we have the same problem, when export or import without install the CMS. But with ez Publish, i don't find where specify the root path.

For example in "Prestashop we have in a php file:

define('__PS_BASE_URI__', 'root_path (for example: /');

Thanks for your reply :)

Gaetano Giunta

Wednesday 02 September 2009 7:44:46 am

Check out the config in
a - site.ini.append.php in the settings/override folder
b - site.ini.append.php in the settings/sitecceass/yoursiteaccess folder

in a) there is a series of config params (the SiteAccessSettings block) that eZ uses to build its urls
in b) you will find the address of the site in the SiteURL param

after changing those you might need to clear all caches and/or run the updateniceurls php script before the urls are regenrated

Principal Consultant International Business
Member of the Community Project Board

loukmane issa

Wednesday 02 September 2009 8:20:15 am

ttgigh

André R.

Wednesday 02 September 2009 8:24:37 am

"For example, when i'm on: "http://localhost/site/" and i click on log in, it bring me on : "http://localhost/user/login"."

Is this happing only there? Was it when you selected 'Login to admin interface' ?
If so, it's AdditionalLoginFormActionURL setting in settings/siteaccess/<site_name>/site.ini.append.php

NOTE: You probably shouldn't post your password like that (if you didn't change it that is ;) ).

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

loukmane issa

Wednesday 02 September 2009 8:29:04 am

<?php /* #?ini charset="utf-8"?

[DatabaseSettings]
User=XXX
Password=XXX

[SiteSettings]
MetaDataArray[author]=XXX@XXX.com
MetaDataArray[copyright]=XXX@XXX.com

SiteList[]=XXX
SiteList[]=XXX
SiteList[]=XXX

[SiteAccessSettings]
ForceVirtualHost=true
CheckValidity=false
AvailableSiteAccessList[]=XXX
AvailableSiteAccessList[]=XXX_admin
AvailableSiteAccessList[]=XXX
AvailableSiteAccessList[]=XXX_admin
AvailableSiteAccessList[]=XXX_admin_common

MatchOrder=host
HostMatchMapItems[]=www.XXX.com;XXX
HostMatchMapItems[]=www.XXX.net;XXX
HostMatchMapItems[]=admin.XXX.net;XXX_admin

[ExtensionSettings]
ActiveExtensions[]=ezdhtml
ActiveExtensions[]=ezodf
ActiveExtensions[]=ezflow
ActiveExtensions[]=ezwebin
ActiveExtensions[]=bcwebsitestatistics

# ActiveExtensions[]=ezsurvey
# ActiveExtensions[]=starrating
# ActiveExtensions[]=ezurlaliasmigration

[RegionalSettings]
TranslationExtensions[]=extension/translations/ezdhtml
TranslationExtensions[]=extension/translations/ezodf
# TranslationExtensions[]=extension/translations/ezsurvey

[DesignSettings]
AdditionalSiteDesignList[]=ezflow
AdditionalSiteDesignList[]=ezwebin

[DebugSettings]
# DebugOutput=enabled
DebugByIP=enabled

[ContentSettings]
# ViewCaching=disabled
# PreViewCache=enabled

[TemplateSettings]
ShowUsedTemplates=enabled
# TemplateCache=disabled
# TemplateCompile=disabled

*/ ?>

loukmane issa

Wednesday 02 September 2009 8:35:33 am

"Is this happing only there? Was it when you selected 'Login to admin interface' ?"

It's happenning everywhere. I can't login in admin-interface or user interface.

NOTE: Sorry for the spam message, i have to modify it in precipitation.

Thanks :)

eZ debug

Timing: Jan 30 2025 21:13:31
Script start
Timing: Jan 30 2025 21:13:31
Module start 'content'
Timing: Jan 30 2025 21:13:31
Module end 'content'
Timing: Jan 30 2025 21:13:31
Script end

Main resources:

Total runtime0.2497 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0087 588.0547370.2813
Module start 'content' 0.00870.0127 958.33591,009.5781
Module end 'content' 0.02140.2282 1,967.91413,897.8672
Script end 0.2497  5,865.7813 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00441.7427200.0002
Check MTime0.00130.5326200.0001
Mysql Total
Database connection0.00080.338410.0008
Mysqli_queries0.155262.16731410.0011
Looping result0.00130.52761390.0000
Template Total0.227891.210.2278
Template load0.00080.316010.0008
Template processing0.227090.916810.2270
Override
Cache load0.00060.221410.0006
Sytem overhead
Fetch class attribute can translate value0.00200.802210.0020
XML
Image XML parsing0.00020.089710.0002
General
dbfile0.00963.8308200.0005
String conversion0.00000.002430.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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs