Reaching Siteaccess and Admin

Author Message

Jorge estévez

Thursday 03 January 2008 2:29:38 pm

I have installed a new site at my hosting space, the redirection of the url points to www.mysite.com/index.php

The site is visible but whenever I try to change from one site access to another (English/Spanish) or even trying to access my admin page mysyte_admin it always returns to the www.mysite.com/index.php URL, so only one site access (default) is available...

I suppose I have some miss configurations, but I just can’t figure out where.

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

Piotr Switkowski

Thursday 03 January 2008 2:37:11 pm

Yes, you probably have some misconfiguration.... but from the information you provided it is difficult to say.

I would start with investingating webserwer configuration. If there is a redirect, it is rather not ezPublish. I would start with httpd.conf and .htaccess. You might put simple files (like index.html) in your webserwer root to see what happens. If it will still redirect - it is for sure not ezP

Regards

Jorge estévez

Friday 04 January 2008 3:13:19 am

I have uploaded index.html with a "Hello World" and that was displayed in my browser, so I assume the redirection is OK.... As the redirection is an "empty string" It should (and it does) check for an index.html.... So redirection seems not to be the problem.

I am posting here my override site.ini and one of my siteaccess site.ini if you can just take a look:

Override site.ini

<?php /* #?ini charset="utf-8"?
[ExtensionSettings]
ActiveExtensions[]=ezdhtml
ActiveExtensions[]=ezodf
ActiveExtensions[]=ezwebin
ActiveExtensions[]=updatecache

[Session]
SessionNameHandler=custom

[SiteSettings]
DefaultAccess=esl
SiteList[]=esl
SiteList[]=eng
SiteList[]=ita
SiteList[]=mysite_admin
RootNodeDepth=1

SiteName=
MetaDataArray[author]=
MetaDataArray[copyright]=
MetaDataArray[description]=
MetaDataArray[keywords]=
SiteURL=www.mysite.com/index.php

[UserSettings]
LogoutRedirect=/
VerifyUserEmail=enabled

[SiteAccessSettings]
CheckValidity=false
AvailableSiteAccessList[]=esl
AvailableSiteAccessList[]=eng
AvailableSiteAccessList[]=ita
AvailableSiteAccessList[]=mysite_admin
MatchOrder=uri
HostMatchMapItems[]

[FileSettings]
VarDir=var/ezwebin_site

[MailSettings]
Transport=SMTP
TransportServer=localhost
TransportUser=
TransportPassword=
AdminEmail=estevez@mysite.com
EmailSender=

[EmbedViewModeSettings]
AvailableViewModes[]=embed
AvailableViewModes[]=embed-inline
InlineViewModes[]=embed-inline
*/ ?>

-----------------------------------------------------
Site access esl (site.ini)

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

[DatabaseSettings]
DatabaseImplementation=ezmysql
Server=localhost
User=user_mysite
Password=userpass
Database=mysitedb
Charset=
Socket=disabled
SQLOutput=disabled

[InformationCollectionSettings]
EmailReceiver=

[Session]
SessionNamePerSiteAccess=disabled

[SiteSettings]
SiteName=My site
SiteURL=www.mysite.com/index.php
LoginPage=embedded
AdditionalLoginFormActionURL=http://mysite/index.php/mysite/user/login

[UserSettings]
RegistrationEmail=

[SiteAccessSettings]
RequireUserLogin=false
RelatedSiteAccessList[]=esl
RelatedSiteAccessList[]=eng
RelatedSiteAccessList[]=ita
RelatedSiteAccessList[]=esl
RelatedSiteAccessList[]=mysite_admin
ShowHiddenNodes=false

[DesignSettings]
SiteDesign=ezwebin
AdditionalSiteDesignList[]=base

[RegionalSettings]
Locale=esl-ES
ContentObjectLocale=esl-ES
ShowUntranslatedObjects=disabled
SiteLanguageList[]=esl-ES
TextTranslation=enabled

[FileSettings]
VarDir=var/ezwebin_site

[ContentSettings]
TranslationList=eng-US;ita-IT

[MailSettings]
AdminEmail=estevez@mysite.com
EmailSender=

[URLTranslator]
TransformationGroup=urlalias

[DebugSettings]
DebugOutput=disabled
DebugRedirection=disabled

[TemplateSettings]
Debug=disabled
ShowXHTMLCode=enabled
ShowUsedTemplates=disabled
*/ ?>

Hope this help you helping me,
Thanks

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

Jorge estévez

Friday 04 January 2008 3:20:13 am

Admin page is working (I had a mistake in the URL)

But siteaccess are not,

Default works and it gets teh spanish version of the site but trying to change to:

http://www.mysite.com/index.php/eng
http://www.mysite.com/index.php/ita

will alway bring back the spanish version again!

Here's the englisg (eng) site.ini


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

[DatabaseSettings]
DatabaseImplementation=ezmysql
Server=localhost
User=xxx
Password=xxx
Database=xxx
Charset=
Socket=disabled

[InformationCollectionSettings]
EmailReceiver=

[Session]
SessionNamePerSiteAccess=disabled

[SiteSettings]
SiteName=
SiteURL=www.mysite.com/index.php
LoginPage=embedded
AdditionalLoginFormActionURL=http://mysite/index.php/mysite_admin/user/login

[UserSettings]
RegistrationEmail=

[SiteAccessSettings]
RequireUserLogin=false
RelatedSiteAccessList[]
RelatedSiteAccessList[]=esl
RelatedSiteAccessList[]=eng
RelatedSiteAccessList[]=ita
RelatedSiteAccessList[]=esl
RelatedSiteAccessList[]=mysite_admin
ShowHiddenNodes=false

[DesignSettings]
SiteDesign=ezwebin
AdditionalSiteDesignList[]
AdditionalSiteDesignList[]=base

[RegionalSettings]
Locale=eng-US
ContentObjectLocale=eng-US
ShowUntranslatedObjects=disabled
SiteLanguageList[]
SiteLanguageList[]=eng-US
SiteLanguageList[]=esl-ES
TextTranslation=enabled

[FileSettings]
VarDir=var/ezwebin_site

[ContentSettings]
TranslationList=eng-US;ita-IT

[MailSettings]
AdminEmail=estevez@mysite.com
EmailSender=
*/ ?>

Writing this I have noticed the string

<b>SessionNamePerSiteAccess=disabled<b>

What's this?

Thanks

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

Jorge estévez

Friday 04 January 2008 3:30:44 am

Turned the debug for SQL debug output

and this shows up:

Timing:  	Jan 04 2008 05:27:39

Script start
Notice: eZMySQLDB::query(0.000 ms) query number per page:0 	Jan 04 2008 05:27:39

SET NAMES 'utf8'

Notice: eZMySQLDB::query(1 rows, 0.549 ms) query number per page:1 	Jan 04 2008 05:27:39

SELECT data, user_id, expiration_time FROM ezsession WHERE session_key='7644532c3107230d253e2328b106099c'

Timing: 	Jan 04 2008 05:27:39

Module start 'content'

Timing: 	Jan 04 2008 05:27:39

Module end 'content'

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

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

Main resources:

Total runtime1.2562 sec
Peak memory usage4,096.0000 KB
Database Queries63

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 588.0313152.6406
Module start 'layout' 0.00590.0031 740.671939.4766
Module start 'content' 0.00901.2446 780.1484537.7969
Module end 'content' 1.25360.0025 1,317.945316.1484
Script end 1.2561  1,334.0938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.2650160.0002
Check MTime0.00120.0992160.0001
Mysql Total
Database connection0.00090.073310.0009
Mysqli_queries1.197895.3517630.0190
Looping result0.00060.0504610.0000
Template Total1.223197.420.6116
Template load0.00200.161620.0010
Template processing1.221197.205520.6105
Template load and register function0.00010.010710.0001
states
state_id_array0.00120.095410.0012
state_identifier_array0.00150.120120.0008
Override
Cache load0.00180.1398370.0000
Sytem overhead
Fetch class attribute can translate value0.00060.046320.0003
Fetch class attribute name0.00130.103750.0003
XML
Image XML parsing0.00020.019820.0001
class_abstraction
Instantiating content class attribute0.00000.000750.0000
General
dbfile0.00070.0555100.0001
String conversion0.00000.002040.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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 23
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs