Problem with Nice URL

Author Message

Taras Nesterov

Monday 10 May 2004 1:39:48 pm

I made everything as said here: http://ez.no/ez_publish/documentation/customization/tips_tricks/creating_nice_urls.

I have site on virtual hosting so I insert '[URLTranslator]' section in '/settings/siteaccess/yoursite/site.ini.append' file, changed links in template and changed .htaccess.

Now all the first level links (e.g. http://sitename/products) work fine but all the second level links (e.g. http://sitename/products/top_100_set) do not work at all (can not find a page).

What did I do wrong?
Thanks in advance.

Bruce Morrison

Monday 10 May 2004 3:58:48 pm

Have you run the update/common/scripts/updateniceurls.php script? See http://ez.no/community/forum/install_configuration/question_about_updateniceurlsphp for more info

Cheers
Bruce http://www.designit.com.au

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Taras Nesterov

Tuesday 11 May 2004 7:18:08 am

My site is on virtual hosting so I do not know how to run script in command-line mode, so I run it in browser (IE6) and got this message:

#!/usr/bin/env php
Fatal error: Undefined class name 'ezcli' in /pub/home/shpolbde/proba/update/common/scripts/updateniceurls.php on line 49

That's all at this moment.

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 19 2025 01:01:44
Script start
Timing: Jan 19 2025 01:01:44
Module start 'layout'
Timing: Jan 19 2025 01:01:44
Module start 'content'
Timing: Jan 19 2025 01:01:45
Module end 'content'
Timing: Jan 19 2025 01:01:45
Script end

Main resources:

Total runtime0.7134 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0085 589.1563152.6250
Module start 'layout' 0.00850.0054 741.781339.4609
Module start 'content' 0.01390.6981 781.2422531.5625
Module end 'content' 0.71200.0014 1,312.804712.1719
Script end 0.7133  1,324.9766 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.5307160.0002
Check MTime0.00150.2058160.0001
Mysql Total
Database connection0.00150.214110.0015
Mysqli_queries0.654991.8045570.0115
Looping result0.00130.1794550.0000
Template Total0.661992.820.3310
Template load0.00260.370520.0013
Template processing0.659292.413320.3296
Template load and register function0.00020.033810.0002
states
state_id_array0.00140.192410.0014
state_identifier_array0.00140.195320.0007
Override
Cache load0.00220.3096180.0001
Sytem overhead
Fetch class attribute can translate value0.00090.125320.0004
Fetch class attribute name0.00130.179440.0003
XML
Image XML parsing0.00070.096320.0003
class_abstraction
Instantiating content class attribute0.00000.001340.0000
General
dbfile0.00230.3201160.0001
String conversion0.00000.001940.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/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: 15
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs