Change name of path folder

Author Message

trent jameson

Friday 06 August 2004 9:31:35 am

I love eZ! so much better than Nuke...
anyway,
Sorry to ask a silly question but i have read through the posts and docs as best I can and I cannot find an answer.
I'm building a site and I want to change the ezpublish directory name. of course,you can't just do that otherwise the stylesheets & links won't work.

I want to change
mysite.tld/path/index.php
to
mysite.tld/newpath/index.php

I've modified both the site.ini.append.php files in the news & admin folder,
but the something else needs to be done b/c the links all still say "path"

I've searched through all of the files for content that has "/path" but can only find these files.

Many thanks for suggestions, i'm very stuck on this problem!

trent jameson

Friday 06 August 2004 2:50:25 pm

Sadly, I've wasted an entire day working on this. Any help would sincerely be appreciated. again, is there another file i need to modify beside the site access files?
i didn't see anything in the override settings...
is there a lib file or something i need to fix, or is this not possible at all?

Paul Borgermans

Friday 06 August 2004 2:58:04 pm

Did you clear all caches, restarted the server?

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Kevin Myles

Friday 06 August 2004 4:19:44 pm

try refreshing the cache.

trent jameson

Friday 06 August 2004 4:26:15 pm

Thanx to both for the suggestions, but i did try refreshing the cache several times, and as far as the server is concerned 1) i'm on a shared host so i don't htink i can restart and 2) I wouldn't see other changes implemented, which i do.
this is really driving me nuts!
Regards, Trent.

trent jameson

Friday 06 August 2004 4:50:35 pm

So i was able to change the folder name by moding the .htaccess file.
however, this isn't an option as the links don't work...

Is there something in the override folder that needs to be adjusted, or some other file?

as it stands, the following is only in the site.ini.append.php file in settings/siteaccess/mysite

[SiteSettings]
SiteName=News
SiteURL=site.org/newpath
LoginPage=embedded

trent jameson

Saturday 07 August 2004 8:22:04 am

i'm still working on this issue, and i want to post exactly what i've changed so maybe someone can point out something specificially that i've done wrong.

I've modded the following files
siteaccess/mysite/site.ini.append.php
siteaccess/mysite_admin/site.ini.apppend.php (there are no site.ini.append files there)

i've also changed the site url on the override/site.ini.append.php file, but i don't think this one matters. ( i haven't added the code below..tried that and nothing worked)

[SiteSettings]
SiteName=News
SiteURL=www.mysite.com/newpathname/index.php (also tried /newpathname/ & /newpathname )
LoginPage=embedded

trent jameson

Sunday 08 August 2004 12:31:47 pm

I resolved this issue and for future generations of Ez users, I'm posting my response here:

To change the name of the path folder, first mod your site.ini.append.php files found in siteaccess/mysite and siteaccess/mysite_admin There's one line in the site access settings that pertains to this. simply modify the folder.

Next, you have to rename the folder, and then manually delete the cache found in var/mysite/cache delete all these files and you're good to go.

you have to rename the folder before you delete the cache, and after you rename the folder you can't automatically delete the cache! that's a real cache-22! okay, bad pun. sorry.

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

Main resources:

Total runtime0.8571 sec
Peak memory usage4,096.0000 KB
Database Queries74

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0044 588.0313152.6406
Module start 'layout' 0.00440.0035 740.671939.4609
Module start 'content' 0.00790.8477 780.1328630.4922
Module end 'content' 0.85560.0014 1,410.625016.1641
Script end 0.8571  1,426.7891 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00590.6927160.0004
Check MTime0.00130.1520160.0001
Mysql Total
Database connection0.00070.079410.0007
Mysqli_queries0.797993.0960740.0108
Looping result0.00070.0763720.0000
Template Total0.829896.820.4149
Template load0.00210.245020.0010
Template processing0.827796.568020.4138
Template load and register function0.00020.019910.0002
states
state_id_array0.00090.105710.0009
state_identifier_array0.00080.099220.0004
Override
Cache load0.00180.2107500.0000
Sytem overhead
Fetch class attribute can translate value0.00060.065530.0002
Fetch class attribute name0.00150.176390.0002
XML
Image XML parsing0.00070.083030.0002
class_abstraction
Instantiating content class attribute0.00000.001690.0000
General
dbfile0.00080.0957170.0000
String conversion0.00000.001140.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
8content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
12content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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: 32
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs