URL Translation

Author Message

Claudius Frank

Friday 09 May 2003 2:36:38 am

Hi all,

I am trying to install ezpublish302 in an subfolder named "ez", on an Linux, nVH.
During the installation I didn't have any problem, but after the installation I was not able to log in or do anything else, because ma URL is doubled.

My URL is:

www.liber.de/ez/index.php/admin

Trying to log in or do something else I received the following URL:

www.liber.de/ez/ez/..... ( instead of "ez" I received in the URL "ez/ez" )

Have anybody an idea why this succeeds and how could I resolve it?

Any help I would appreciate.

Regards
Claudius

Gabriel Ambuehl

Friday 09 May 2003 4:07:05 am

Edit settings/overrides/site.ini.append.php

and set the correct URL to the site.

Visit http://triligon.org

Claudius Frank

Friday 09 May 2003 4:22:39 am

HI Gabriel,

Thanks very much for the reply.
The URL in:
settings/override/site.ini.append.php
was set correct as

SiteURL=www.liber.de/ez/index.php/user

but this doesn't seem to be the solution.

Regards
Claudius

James Ward

Friday 09 May 2003 4:39:33 pm

Sorry Claudius but Gabriel is right.

My site has ez installed in a directory called ezpublish in the root folder of my site but I had to change my site.ini.append.php to:

SiteURL=www.mysite.com

I know it looks right the other way but ez is smart enought to know its in a subdirectory of that site. Give it a try and let us know if it fixes your problem. Don't forget to clear your cache to test the change.

working at www.wardnet.com
blogging at www.jamesward.ca

Claudius Frank

Saturday 10 May 2003 4:44:50 am

Hi James,

I changed my site.ini.append as you proposed, but the result remained the same.
There must be some other constellation problem.
I tried to change the site.ini.append in

/settings/siteaccess/demo (admin and user) too, but without success.

Does something have to be changed in site.in
in /settings /site.ini
or must this file remain unchanged?

Here is my site.ini.append:

/settings/override/sit.ini.append.php

<?php /* #?ini charset="iso-8859-1"?

[DatabaseSettings]
DatabaseImplementation=ezmysql
Server=
User=
Password=
Database=
Charset=iso-8859-1
Socket=disabled

[SiteSettings]
SiteName=eZ publish
SiteURL=www.liber.de
#SiteURL=www.liber.de/ez/index.php/user
DefaultAccess=admin

[SiteAccessSettings]
CheckValidity=false

[RegionalSettings]
Locale=eng-GB
ContentObjectLocale=eng-GB
TextTranslation=disabled

[ContentSettings]
TranslationList=eng-GB

[MailSettings]
Transport=sendmail
*/ ?>

I have deleted only the DatabaseSettings because of the security reasons.
The line #SiteURL=www.liber.de/ez/index.php/user is original line after the installation.
I changed this line as you can see in
SiteURL=www.liber.de
but without success.

Could you be so kind and try to access my site under:

www.liber.de/ez/index.php/user

or

www.liber.de/ez/index.php/admin

You will see that "ez" is doubled in "ez/ez".
You can try to log in with admin and publish.

Best regards
Claudius

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

Main resources:

Total runtime0.0156 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 587.9063152.6250
Module start 'layout' 0.00540.0025 740.531339.4453
Module start 'content' 0.00790.0057 779.976693.3203
Module end 'content' 0.01360.0019 873.296934.3047
Script end 0.0155  907.6016 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002516.1263140.0002
Check MTime0.00127.7921140.0001
Mysql Total
Database connection0.00084.850110.0008
Mysqli_queries0.002415.481630.0008
Looping result0.00000.082710.0000
Template Total0.00159.410.0015
Template load0.00085.023210.0008
Template processing0.00074.380010.0007
Override
Cache load0.00053.115010.0005
General
dbfile0.00159.904080.0002
String conversion0.00000.038340.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