Forums / Install & configuration / moving site up one folder

moving site up one folder

Author Message

Kevin Myles

Monday 19 July 2004 10:43:32 am

I'd like to move my site that i've created...
now it is in a folder mysite.org/cms and I want to move it to mysite.org

If I just copy everything to the base folder, will it still work or will there be issues? Should I just run a php script to redirect mysite.org/index.php to mysite.org/cms/index.php ?

Thanks for the advice!

Kevin.

kracker (the)

Monday 19 July 2004 12:04:51 pm

Hey Kevin,

I would recommend that you tar.gz / zip a backup of your work first. Just in Case. I've had problems with moving configured eZ publish installations.

Till yesterday I've had mix results moving eZ publish installations. It's is possible but you have to be careful.

What I've found is that eZ publish 3 is very sensitive to file & directory permissions. Specifically when the files in design/ are not set to 757. I could be wrong but it seems like the modfix.sh script in bin/modfix.sh does not check or alter permissions for the design/ folder.

Var permissions in the documentation say to match : chmod og+rwx -R var
Settings Permissions are suggested in the documentation comments to match: chmod 777 -R settings/siteaccess

I do know that all my problems have happened when I used the copy command which copies an existing directory / file and creates a new duplicate copy (with new & often incorrect file & directory permissions).

To avoid this I would move the directory instead. move commands don't change the file / directory permissions. I move the directory from a the existing name to the name of the folder i want it to be when after the move like this example. I would also backup the directory before I installed it just in case.

I have found that if you tar.gz an eZ publish installation you can drop the archive in the parent folder where you want the code to live and simple un pack it without having to worry about file permissions becoming a problem (most of the time, always exceptions to any rule).

mv cms public_html;
tar -zcf public_html_7_19_2004_v2-0-1.tar.gz public_html;


You may want to review some of the documenation file permissions:
http://ez.no/ez_publish/documentation/configuration/configuration/tips_tricks/manual_modfix
http://ez.no/ez_publish/documentation/installation/manual_installation/manual_configuration_of_ez_publish
http://ez.no/ez_publish/documentation/configuration/troubleshooting/permissions_of_cache_files
http://ez.no/ez_publish/documentation/configuration/configuration/tips_tricks/file_permissions

http://ez.no/ez_publish/documentation/building_an_ez_publish_site/the_news_page/overview_of_the_latest_news/finally_fixed_an_issue_with_templates
http://ez.no/ez_publish/documentation/configuration/backup_restore/move_to_new_provider

(at the very bottom are some comments about permissions settings:
http://ez.no/ez_publish/documentation/building_an_ez_publish_site/the_welcome_page/creating_and_using_a_custom_template

http://ez.no/content/advancedsearch?SearchText=permissions&SearchDate=-1&SearchPageLimit=6&SubTreeArray%5B%5D=488&SearchButton=Search

I posted a follow up comment to you at the end of the thread:
http://ez.no/community/forum/setup_design/which_template
http://ez.no/community/forum/setup_design/which_template/dead_serious_about_ez_publish_development

I don't know if you have seen the above post, I just wanted to ask if you would care to comment?
You didn't ask but I wonder if you are also interested in removing the index.php from the url of your eZ publish links?

Cheers,
kracker

Modest Mouse - Good News For People Who Love Bad News - A Life Of Artic Sounds

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

Kevin Myles

Monday 19 July 2004 2:02:47 pm

Kracker, I sent you an email to your address, perhaps you didn't get it? let me know if you still haven't received it.
Thanks for all of your advice, i'll definitely back up. I'll let you know how it works out!
Kevin.

kracker (the)

Monday 19 July 2004 6:04:52 pm

Kevin,

I'm sorry the ezpub.co.uk site & email went down 7/19/2004 @round 6:30 AM CST due to unknown server os corruption with our old web hosting firm. After a solid day of downtime we are taking proactive measures to see that it doesn't happen again.

In short we are moving the eZ pub. We will be hosting eZ pub with FireBright ( http://firebright.com/ ) asap. We don't have an estimate (yet) on the availability of the site or the transition to firebright (yet) but it shouldn't be much longer than dns propagation.

So . . . long story, I never got your email to the ezpub.co.uk address, I think it's lost forever on a dead disk drive. I would really appreciate it if you could resend your email to brookinsconsulting [at] yahoo.com

Cheers,
\\kracker
Limp Bizkit - Intro / Hot Dog

I just gotta send a Big Thank You to FireBright for Sponsoring the Site!
If you don't host with FireBright.com your struggling in vain, get one today!

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

eZ debug

Timing: Jan 18 2025 22:15:06
Script start
Timing: Jan 18 2025 22:15:06
Module start 'content'
Timing: Jan 18 2025 22:15:06
Module end 'content'
Timing: Jan 18 2025 22:15:07
Script end

Main resources:

Total runtime0.8123 sec
Peak memory usage4,096.0000 KB
Database Queries197

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0082 587.7344180.8281
Module start 'content' 0.00820.6732 768.5625576.1016
Module end 'content' 0.68130.1309 1,344.6641337.3984
Script end 0.8123  1,682.0625 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00490.6012210.0002
Check MTime0.00180.2175210.0001
Mysql Total
Database connection0.00110.133510.0011
Mysqli_queries0.722788.96351970.0037
Looping result0.00210.25571950.0000
Template Total0.776395.620.3882
Template load0.00240.294420.0012
Template processing0.773995.273420.3870
Template load and register function0.00010.015810.0001
states
state_id_array0.00090.113910.0009
state_identifier_array0.00260.322920.0013
Override
Cache load0.00220.2743540.0000
Sytem overhead
Fetch class attribute can translate value0.00180.219330.0006
Fetch class attribute name0.00160.198350.0003
XML
Image XML parsing0.00100.123230.0003
class_abstraction
Instantiating content class attribute0.00000.002560.0000
General
dbfile0.00770.9507290.0003
String conversion0.00000.000930.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
11content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
13content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 33
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs