Site Admin Links not working

Author Message

Mahesh Arvind

Saturday 07 August 2004 3:44:37 am

Hi,

I just upgraded my site from Ez Publish 3.2-4 to 3.4. However, in the admin the hyperlinks for all folders under the root directory are not working. They are pointing to the admin site root. The 3.2-4 version uses content/view/full/node_number and 3.4 I think is using url_alias. Please help me how to fix these broken links. Also, whatever changes I do in the admin templates does not change the admin area. Is this becuase of some errors in upgradation?

Thanks
Mahesh

Thanks & Regards
Mahesh

Bård Farstad

Tuesday 10 August 2004 12:38:21 am

The first thing you should try is to clear the cache in eZ publish. I'm not sure what's happened during your upgrade but it might be that the pages are cached with some old content.

In 3.4 we uses template compilation by default so when you are doing development on templates I would recommend that you disable template compilation. Then re-enable the template compilation once you're done with your template changes.

You also should re-compile the templates once you're done with the changes. This is done with the script;

 bin/php/eztc.php -s siteaccess

--bård

Documentation: http://ez.no/doc

Mahesh Arvind

Tuesday 10 August 2004 5:48:48 am

Hi,

I have cleared the cache. But, whatever changes I make in the admin templates are not displayed in the admin. Also I noticed that for the folder "Resource Languages", it shows the link for it as http://domain.org/ages. This is the last four words of the folder name. It seems to cut off the first few words. All other folder names are short and they are showing the link of main directory of admin site. Any idea, why this is happenning?

Thanks
Mahesh

Thanks & Regards
Mahesh

Bård Farstad

Tuesday 10 August 2004 6:01:51 am

I'm not sure what's happening. I've not seen something like this before I think. Some things to check:
- If running an PHP Accelerator -> restart apache and clear it's cache files if any
- Do an eZ publish clearcache with the --clear-all parameter
- Check that your MatchOrder in SiteacessSettings are correct
- Check that the disk is not full.

--bård

Documentation: http://ez.no/doc

Mahesh Arvind

Tuesday 10 August 2004 9:05:32 am

Hi Bard,

I traced out the problem. The problem was that there were no write permissions to the template.

Thanks
Mahesh

Thanks & Regards
Mahesh

Bård Farstad

Tuesday 10 August 2004 10:15:15 am

Ahh, this could be one for our FAQ once we get that up and running.

Great that it works now.

--bård

Documentation: http://ez.no/doc

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 22:31:20
Script start
Timing: Jan 18 2025 22:31:20
Module start 'layout'
Timing: Jan 18 2025 22:31:20
Module start 'content'
Timing: Jan 18 2025 22:31:21
Module end 'content'
Timing: Jan 18 2025 22:31:21
Script end

Main resources:

Total runtime1.0455 sec
Peak memory usage4,096.0000 KB
Database Queries66

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 589.3438152.6250
Module start 'layout' 0.00650.0028 741.968839.4453
Module start 'content' 0.00931.0342 781.4141582.1406
Module end 'content' 1.04350.0019 1,363.554716.1641
Script end 1.0455  1,379.7188 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.3388160.0002
Check MTime0.00150.1462160.0001
Mysql Total
Database connection0.00210.199810.0021
Mysqli_queries0.979893.7163660.0148
Looping result0.00060.0569640.0000
Template Total1.013096.920.5065
Template load0.00200.192320.0010
Template processing1.011096.698620.5055
Template load and register function0.00010.008610.0001
states
state_id_array0.00080.081110.0008
state_identifier_array0.00080.076120.0004
Override
Cache load0.00170.1660400.0000
Sytem overhead
Fetch class attribute can translate value0.00040.041420.0002
Fetch class attribute name0.00140.130680.0002
XML
Image XML parsing0.00100.100220.0005
class_abstraction
Instantiating content class attribute0.00000.0031120.0000
General
dbfile0.00100.0965230.0000
String conversion0.00000.000840.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
6content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
10content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 29
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs