Wrong URL

Author Message

Kenneth Grande

Monday 16 July 2007 12:38:13 am

When i log in to the administration pages from the public part of my web page, i get redirected to the wrong (actually the old) URL.

I press the login link (from my frontpage) and get a new page where i can put my username, password and check the checkbox that suggest logging into the administration section of my site. If i dont check the checkbox everything works fine. If i check it, i get redirected to the old URL.

old URL:
www.site.no:8080

new URL
www2.site.no

Everything else works fine, it is just this part that hasn't got updated information about the new address. My concern is that this value is static from install, and i have to edit it directly in the database somewhere.

has anyone seen this before?

Lukasz Piech

Monday 16 July 2007 12:45:55 am

Hi

Did yu clear the cache after the change?

thx

Lukasz

Kenneth Grande

Monday 16 July 2007 12:50:50 am

Yes

bisk

Monday 16 July 2007 11:02:01 am

Have you checked the [SiteSettings] in the site.ini of your administration siteaccess? Maybe the old url is still listed there.

-------------------------------
http://www.kookfijn.nl & http://www.magento.be

Kenneth Grande

Tuesday 17 July 2007 1:14:45 am

Yes, the old url was listed there.

AdditionalLoginFormActionURL siteaccess

"http://www.site.no:8080/aspit_admin/user/login"

i changed it to:

AdditionalLoginFormActionURL siteaccess

"http://www2.site.no/aspit_admin/user/login"

I saved and tried to log in. But now i only get a blank page when i try to log in (so im locked out of the admin pages). I looked in the ini file (actually an append file), and it looks like i forgot to set this value:

[SiteSettings]
SiteName=aspIT AS
SiteURL=www2.site.no (the old site was listed here too)
LoginPage=embedded

Now i think i just have to clear the cache and all will work, but is there a way to do this without logging in to the admin pages? I can log in directly on my webpages to publish articles and so on, but i cant find the clear cache option here.

k

André R.

Tuesday 17 July 2007 1:58:06 am

>Now i think i just have to clear the cache and all will work, but is there a way to do this
>without logging in to the admin pages? I can log in directly on my webpages to publish
>articles and so on, but i cant find the clear cache option here.

Yes but you have to know the url and have access to the setup part, look at the url when you click 'setup' in the admin interface.

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

Kenneth Grande

Wednesday 18 July 2007 12:43:08 am

>Yes but you have to know the url and have access to the setup part, look at the url when >you click 'setup' in the admin interface.

But if i cant access the admin interface, how am i going to click setup? Perhaps i misunderstood something, could you please explain in more detail what i should do? Im kinda stuck now, and i need to get back to working with the pages.

Kenneth Grande

Wednesday 18 July 2007 1:16:22 am

I read the docs and i noticed the referral to the cache folders, so i figured out that the clear cache function deleted these files. I backed up my configuration and deleted the content of these two folders:

\eZpublish\ezpublish\var
\eZpublish\ezpublish\var\ezwebin_site\cache

Everyting looks fine now

Thank you for your help all, i really appreciate it !

k

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

Main resources:

Total runtime1.3367 sec
Peak memory usage4,096.0000 KB
Database Queries76

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 587.8906152.6094
Module start 'layout' 0.00560.0027 740.500039.4141
Module start 'content' 0.00831.3266 779.9141661.7969
Module end 'content' 1.33490.0017 1,441.710916.1953
Script end 1.3366  1,457.9063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2425160.0002
Check MTime0.00130.0976160.0001
Mysql Total
Database connection0.00120.091910.0012
Mysqli_queries1.266694.7569760.0167
Looping result0.00120.0932740.0000
Template Total1.300997.320.6505
Template load0.00220.166420.0011
Template processing1.298797.156020.6493
Template load and register function0.00020.013910.0002
states
state_id_array0.00100.076810.0010
state_identifier_array0.00140.104620.0007
Override
Cache load0.00200.1461500.0000
Sytem overhead
Fetch class attribute can translate value0.00070.050040.0002
Fetch class attribute name0.00190.138990.0002
XML
Image XML parsing0.00160.120940.0004
class_abstraction
Instantiating content class attribute0.00000.001790.0000
General
dbfile0.00090.0654170.0001
String conversion0.00000.000640.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
8content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
12content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 28
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs