Broken Admin urls ~ how do I fix them

Author Message

Richard Earle

Monday 13 August 2007 11:12:18 am

Hi there,

When I initially installed ezpublish it was before I had got the domain name sorted out so in the initial set up I set the url to be a subdomain on another of my domains, this took the form of http://example1.co.uk/example2/ so the home page ended up being http://example1.co.uk/example2/site/index.php/

I then bought the domain example2 so using the site settings interface changed it to be http://www.example2.co.uk. Thus making the homepage http://www.example2.co.uk/site/index.php/.

From the end user point of view this is all fine and seems to work but in the admin interface it seems to always want to point to a mixture of the two, so when I try to go to clear cache it goes to http://www.example2.co.uk/example2/site/index.php/example2_site_admin/setup/cache.

I just cant seem to find where to fix this, obviously having a broken admin interface is causing me some grief. Can anyone give any pointers?

Many thanks

André R.

Tuesday 14 August 2007 4:12:01 am

Check your site ini settings and clear cache (all).

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

Richard Earle

Tuesday 14 August 2007 4:20:57 am

the site.ini settings all appear to be fine and unfortunatly clear cache is one of the affected urls. Can I clear the cache manually?

André R.

Tuesday 14 August 2007 4:25:01 am

Yes, delete content in the var/cache and var/<site_name>/cache folders.

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

Richard Earle

Tuesday 14 August 2007 10:08:12 am

Thanks André, just deleted the caches manually and everything seems to working fine again. Appreciate the help.

 

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 31 2025 03:23:26
Script start
Timing: Jan 31 2025 03:23:26
Module start 'layout'
Timing: Jan 31 2025 03:23:26
Module start 'content'
Timing: Jan 31 2025 03:23:26
Module end 'content'
Timing: Jan 31 2025 03:23:26
Script end

Main resources:

Total runtime0.0253 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 588.2578151.2266
Module start 'layout' 0.00550.0038 739.4844220.7188
Module start 'content' 0.00930.0146 960.20311,001.7422
Module end 'content' 0.02400.0013 1,961.945333.9922
Script end 0.0253  1,995.9375 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00239.0835140.0002
Check MTime0.00103.9611140.0001
Mysql Total
Database connection0.00072.614010.0007
Mysqli_queries0.003815.119430.0013
Looping result0.00000.035810.0000
Template Total0.00093.710.0009
Template load0.00072.933610.0007
Template processing0.00020.711710.0002
Override
Cache load0.00052.075810.0005
General
dbfile0.003413.534880.0004
String conversion0.00000.023640.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