Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Jan 2008
    Posts
    22
    Plugin Contributions
    0

    Default Changing Server Folder Name

    Hi all

    Could anyone tell me how I might be able to change the name of the folder I installed Zen Cart in (host uses cPanel)?

    It is a folder in my 'public_html' folder, called 'ZenCart'. I just want to rename it to 'Store'. (my plan is to use Zen Cart as store only, linked to the main non-Zen cart site).

    I realise I can't just rename the folder in cPanel (I did try that though). I am hoping I can do this without losing all the configuration changes I have made......

    Any help would be greatly appreciated.

  2. #2
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,860
    Plugin Contributions
    2

    Default Re: Changing Server Folder Name

    Did you install ZenCart manually or use Fantastico via CPanel?
    Dezina ZenCart Templates
    Please do not PM for support queries..Post in forums..help others

  3. #3
    Join Date
    Jan 2008
    Posts
    22
    Plugin Contributions
    0

    Default Re: Changing Server Folder Name

    Through Fantastico.

  4. #4
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,860
    Plugin Contributions
    2

    Default Re: Changing Server Folder Name

    Quote Originally Posted by Mike123acc View Post
    Through Fantastico.
    Changing folder name, where Fantastico installed, may cause problems
    if you attempt a future zencart upgrade, using Fantastico..
    Dezina ZenCart Templates
    Please do not PM for support queries..Post in forums..help others

  5. #5
    Join Date
    Nov 2007
    Location
    Burney, CA. USA
    Posts
    131
    Plugin Contributions
    4

    Default Re: Changing Server Folder Name

    Quote Originally Posted by Mike123acc View Post
    Hi all

    Could anyone tell me how I might be able to change the name of the folder I installed Zen Cart in (host uses cPanel)?

    It is a folder in my 'public_html' folder, called 'ZenCart'. I just want to rename it to 'Store'. (my plan is to use Zen Cart as store only, linked to the main non-Zen cart site).

    I realise I can't just rename the folder in cPanel (I did try that though). I am hoping I can do this without losing all the configuration changes I have made......

    Any help would be greatly appreciated.
    Using a program like FileZilla can change the name of the folder from ZenCart to store.

    But after making that change, to keep the store in-tact you will have to edit your "configure.php" files to reflect the change.

    In: "../admin/includes/configure.php" you will (should) need to change 7 lines:
    Lines 41 - 44
    Lines 60 & 61
    Line 88

    In: "../includes/configure.php" you will need to also change:
    Lines 25 & 26
    Line 41
    Line 66

    I am pretty sure those are the only changes needed in those files, but incase I missed a line you will need to change any line where you see the old folder name, you will need to replace with the new folders name. remember after editing these files to reset permissions to 444.

    After making the above changes you will be able to point your browser to the new folder and be able to access your store. (If you have any hard coded images you will also have to change the addresses to those images to make them show properly).
    [FONT="Georgia"]Patience is Virtue...
    ShopWells.com
    [/FONT]
    [FONT="Georgia"]Current Version of Zen Cart: 1.3.8a[/FONT]

  6. #6
    Join Date
    Jul 2006
    Location
    Louisiana
    Posts
    124
    Plugin Contributions
    0

    Default Re: Changing Server Folder Name

    Quote Originally Posted by Mike123acc View Post
    Hi all

    Could anyone tell me how I might be able to change the name of the folder I installed Zen Cart in (host uses cPanel)?

    It is a folder in my 'public_html' folder, called 'ZenCart'. I just want to rename it to 'Store'. (my plan is to use Zen Cart as store only, linked to the main non-Zen cart site).

    I realise I can't just rename the folder in cPanel (I did try that though). I am hoping I can do this without losing all the configuration changes I have made......

    Any help would be greatly appreciated.
    I have had the same situation. You can put the current store in maintenance through <configuration> or
    place the store in View Only,
    <Configuration> <My Sotre> <Store Status>
    then re-install another copy into another folder (Store) and access the original/same SQL data base. Once installed properly, delete the bad (ZenCart) folder.

    There will be some files and folders that you can not easily delete that contain '.htaccess' but if you [FTP] to the folder you can change and delete these files.

 

 

Similar Threads

  1. Download folder on a different server?
    By catalano in forum Installing on a Linux/Unix Server
    Replies: 9
    Last Post: 10 Nov 2007, 10:41 PM
  2. Replies: 6
    Last Post: 27 Jan 2007, 08:09 PM
  3. Change the site path/folder on my server
    By brownsgreens in forum Basic Configuration
    Replies: 13
    Last Post: 12 Oct 2006, 04:58 AM

Bookmarks

Posting Permissions

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