Results 1 to 10 of 11

Hybrid View

  1. #1
    Join Date
    Jul 2009
    Location
    Wimberley, TX
    Posts
    49
    Plugin Contributions
    0

    Default Moving from temporary to permanent folders

    Good morning!

    I'm using ZC 1.3.9h w/bluestrip_reloaded. I need to make my temporary folders, where I was learning to use ZC (still learning!), the premanent folders in the root. After reading tutorials (primarily #122) and posts in here, I think I understand. But what I can't seem to find is this:

    I currently have the original ZC site up and running - obviously not well, or I wouldn't be changing. I haven't seen any threads about moving the folders to replace existing folders under the same name.

    (1)The estore is currently under the root directory
    (2)The test site, which I now have working properly (except for email) is in the root directory in a folder named .../newtest/, with all the necessary folders below it.

    I have downloaded all the "newtest" folders and files to my hard drive as backup. If I move the folders from "newtest" to the root, will they automatically replace the folders with the same name in the root, or do I need to delete the current folders before moving the ones I want to be active as the primary URL?

    I know that I then need to change my /includes/configure files, to remove the "newtest" link - how does this affect my admin panel? I currently have the admin for the current url - do I just leave it there and use it, or move the "newtest" admin folder into it's place?

    Thanks in advance for the input - this forum and the tutorials are very helpful!

    Have a great day, and God bless!
    Andy
    The Ole Cowboy - Getting Older, But Not Aging
    Shannon Weston Gifts and Decor

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Moving from temporary to permanent folders

    To save your old site's files, you can move all of the Zen Cart folders into a new subfolder. They won't operate from there, but they will be safe. You can (and should) also save a backup of the entire server folder content to your pc.

    Then you can copy the entire test site to the root, where the original folders were, and edit the configure.php files as the tutorials instruct.

    If you copy the test site over the top of the original site, you will replace all files that have the same name and filepath, but any original files that do not have corresponding versions in the test site will remain, possibly causing confusion or errors.

  3. #3
    Join Date
    Jul 2009
    Location
    Wimberley, TX
    Posts
    49
    Plugin Contributions
    0

    Default Re: Moving from temporary to permanent folders

    Help!

    I moved everything from the old store to a new folder, then moved the "newtest" fiolders to the root directory. I thought I did it correctly, but can't get admin or the site to come up. Checking back, I realized that I didn't change the Session Directory before making the changes. Now I can't get into Admin to do that.

    Also, I see that, even though I made changes to the configures files offline, they didn't change when I uploaded them to the root directory. Can't figure out how to change the permissions to writabel to try that.

    Can somebody give a couple of hints to someone who's still trying to learn? Finally got the dang thing pretty much the way I wanted it, now none of it's working after the move! Willing to pay for the corrections, if necessary - really don't want to uninstall zc and start over!!!

    Thanks! Have a great evening, and God bless!
    Andy
    The Ole Cowboy - Getting Older, But Not Aging
    Shannon Weston Gifts and Decor

  4. #4
    Join Date
    Jan 2009
    Location
    Ireland
    Posts
    431
    Plugin Contributions
    0

    Default Re: Moving from temporary to permanent folders

    The simplest way to change your config files is:
    using your ftp client rename the ones on your server to something like config.phpOLD and then upload your modified files

  5. #5
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: Moving from temporary to permanent folders

    Andy,
    Use your ftp program and navigate to the configure.php file right mouse click on the file and you will see the permissions..

    Or your host should give you a cpanel... yourwebsite.com/cpanel
    click on the folder called file manager and you will see all the files and folders of zen cart there.. Right mouse click and change file permission...

    Or, change the ones that you have backed up to your hard drive and change the 2 configure files to match your new address..

    Or, they should match your old web site so FTP the old 2 configure to your hard drive change the database, which you had for the test site, and reload back to the server for the new site..

  6. #6
    Join Date
    Jul 2009
    Location
    Wimberley, TX
    Posts
    49
    Plugin Contributions
    0

    Default Re: Moving from temporary to permanent folders

    Hey, Donal & haredo!

    I worked all the angles suggested, and had some positive results.

    I have moved all the "newtest" folders back into "newtest", and I have been able to recover both my admin panel and the site: Shannon Weston Gifts - this is the site I want to move into the root directory.

    I am unable to access the old admin panel - it shows

    "ERROR: admin/includes/configure.php file not found. Suggest running zc_install/index.php?

    And when attempting to access the old storefront - http://www.shannonwestongifts.com - a "System Setup Required" page. NOTE: This is probably because I didn't move the old site folders back into the root directory - trying to not muddy the waters.

    I don't need anything pertaining to the old site (I reckon), but I need to move the newtest folders to the root.

    Following the tutorial, I know I have to remove "newtest" from
    DIR_WS_CATALOG
    DIR_WS_HTTPS_CATALOG
    DIR_FS_CATALOG
    DIR_FS_SQL_CACHE
    DIR_WS_ADMIN (in admin)
    DIR_WS_HTTPS_ADMIN (in admin)
    DIR_FS_ADMIN (in admin)

    I know I need to change the Sessions Directory in the admin panel (which, thanks to your help, I can now get to ).

    Step 3, moving the folder, seems to be where I'm having a problem.

    Any suggestions on what I might have been doing wrong, other than a problem, apparently, with permissions (still trying to find where to reset those) and the proper database link?

    Thanks again for the assist - I'm working on how and where to reset the permissions ans getting this moved properly, but am going to wait until I hear back on what might be wrong.

    Have a great day, and God bless!
    Andy
    The Ole Cowboy - Getting Older, But Not Aging
    Shannon Weston Gifts and Decor

 

 

Similar Threads

  1. temporary banner or pop-up window for a temporary message
    By champouxv in forum Customization from the Admin
    Replies: 1
    Last Post: 31 Aug 2012, 11:58 AM
  2. Moving the site from a temporary directory..
    By hoosiercanuck in forum Basic Configuration
    Replies: 2
    Last Post: 22 Mar 2011, 02:00 AM
  3. Shop broke after moving folders
    By paulcreedy in forum General Questions
    Replies: 3
    Last Post: 23 Sep 2010, 04:52 PM
  4. Moving Folders
    By dunkanm in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 12 Apr 2010, 04:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg