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 :)

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 11:42:33
Script start
Timing: Jan 18 2025 11:42:33
Module start 'layout'
Timing: Jan 18 2025 11:42:33
Module start 'content'
Timing: Jan 18 2025 11:42:33
Module end 'content'
Timing: Jan 18 2025 11:42:33
Script end

Main resources:

Total runtime0.0148 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 588.0391152.6406
Module start 'layout' 0.00540.0032 740.679739.4766
Module start 'content' 0.00860.0045 780.156397.3672
Module end 'content' 0.01300.0018 877.523442.3047
Script end 0.0148  919.8281 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002617.5422140.0002
Check MTime0.00117.4751140.0001
Mysql Total
Database connection0.00096.055310.0009
Mysqli_queries0.002315.738130.0008
Looping result0.00000.094910.0000
Template Total0.00159.810.0015
Template load0.00085.327010.0008
Template processing0.00074.436210.0007
Override
Cache load0.00053.662810.0005
General
dbfile0.00031.693180.0000
String conversion0.00000.065940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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