Forums / Install & configuration / Change name of path folder

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.

eZ debug

Timing: Jan 18 2025 18:13:38
Script start
Timing: Jan 18 2025 18:13:38
Module start 'content'
Timing: Jan 18 2025 18:13:38
Module end 'content'
Timing: Jan 18 2025 18:13:38
Script end

Main resources:

Total runtime0.3473 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0070 587.8125180.8281
Module start 'content' 0.00700.0051 768.6406102.0234
Module end 'content' 0.01210.3351 870.6641531.3047
Script end 0.3472  1,401.9688 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00391.1328200.0002
Check MTime0.00150.4335200.0001
Mysql Total
Database connection0.00070.206210.0007
Mysqli_queries0.292484.20621410.0021
Looping result0.00160.46331390.0000
Template Total0.334796.410.3347
Template load0.00080.226110.0008
Template processing0.333996.163810.3339
Override
Cache load0.00050.157210.0005
Sytem overhead
Fetch class attribute can translate value0.00100.285710.0010
XML
Image XML parsing0.00040.115810.0004
General
dbfile0.00601.7315200.0003
String conversion0.00000.001830.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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs