Forums / Developer / Site Admin Links not working

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

eZ debug

Timing: Jan 18 2025 21:08:22
Script start
Timing: Jan 18 2025 21:08:22
Module start 'content'
Timing: Jan 18 2025 21:08:23
Module end 'content'
Timing: Jan 18 2025 21:08:23
Script end

Main resources:

Total runtime0.9818 sec
Peak memory usage4,096.0000 KB
Database Queries203

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 588.8281180.8359
Module start 'content' 0.00610.8365 769.6641587.2188
Module end 'content' 0.84260.1392 1,356.8828341.3750
Script end 0.9818  1,698.2578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00470.4752210.0002
Check MTime0.00180.1801210.0001
Mysql Total
Database connection0.00070.072310.0007
Mysqli_queries0.894591.10712030.0044
Looping result0.00240.24542010.0000
Template Total0.954297.220.4771
Template load0.00180.186420.0009
Template processing0.952396.993120.4762
Template load and register function0.00010.010310.0001
states
state_id_array0.00070.071710.0007
state_identifier_array0.00140.137920.0007
Override
Cache load0.00160.1587400.0000
Sytem overhead
Fetch class attribute can translate value0.00180.187330.0006
Fetch class attribute name0.00140.139980.0002
XML
Image XML parsing0.00130.128730.0004
class_abstraction
Instantiating content class attribute0.00000.0024120.0000
General
dbfile0.00520.5318340.0002
String conversion0.00000.000630.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
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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 29
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs