Forums / Install & configuration / Reaching Siteaccess and Admin

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

eZ debug

Timing: Jan 30 2025 19:50:40
Script start
Timing: Jan 30 2025 19:50:40
Module start 'content'
Timing: Jan 30 2025 19:50:40
Module end 'content'
Timing: Jan 30 2025 19:50:41
Script end

Main resources:

Total runtime0.3222 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.0469370.2891
Module start 'content' 0.00870.0157 958.33591,009.5781
Module end 'content' 0.02440.2978 1,967.91413,897.7188
Script end 0.3222  5,865.6328 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00471.4509200.0002
Check MTime0.00140.4248200.0001
Mysql Total
Database connection0.00080.262810.0008
Mysqli_queries0.151146.89771410.0011
Looping result0.00150.46551390.0000
Template Total0.297492.310.2974
Template load0.00080.240510.0008
Template processing0.296692.040410.2966
Override
Cache load0.00050.166010.0005
Sytem overhead
Fetch class attribute can translate value0.00160.506110.0016
XML
Image XML parsing0.00030.077910.0003
General
dbfile0.065020.1711200.0032
String conversion0.00000.001830.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.0002 secs