Forums / Install & configuration / Broken Admin urls ~ how do I fix them

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.

 

eZ debug

Timing: Jan 18 2025 15:06:35
Script start
Timing: Jan 18 2025 15:06:35
Module start 'content'
Timing: Jan 18 2025 15:06:36
Module end 'content'
Timing: Jan 18 2025 15:06:36
Script end

Main resources:

Total runtime1.0593 sec
Peak memory usage4,096.0000 KB
Database Queries200

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 587.8359180.8203
Module start 'content' 0.00530.9135 768.6563559.2656
Module end 'content' 0.91880.1404 1,327.9219337.3750
Script end 1.0592  1,665.2969 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00460.4315210.0002
Check MTime0.00140.1358210.0001
Mysql Total
Database connection0.00070.064810.0007
Mysqli_queries0.993193.75432000.0050
Looping result0.00180.17191980.0000
Template Total1.029397.220.5147
Template load0.00300.280020.0015
Template processing1.026496.894820.5132
Template load and register function0.00010.013910.0001
states
state_id_array0.00080.075010.0008
state_identifier_array0.00130.126220.0007
Override
Cache load0.00260.2488200.0001
Sytem overhead
Fetch class attribute can translate value0.00110.102630.0004
Fetch class attribute name0.00130.125360.0002
XML
Image XML parsing0.00090.085130.0003
class_abstraction
Instantiating content class attribute0.00000.001570.0000
General
dbfile0.00190.1809280.0001
String conversion0.00000.000430.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
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
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 14
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs