Results 1 to 10 of 35

Hybrid View

  1. #1
    Join Date
    Mar 2008
    Posts
    73
    Plugin Contributions
    0

    Default Re: renaming directory folder

    it says:

    define('DIR_FS_CATALOG', '/home/danci18/public_html/webstore/');

  2. #2
    Join Date
    Mar 2008
    Posts
    73
    Plugin Contributions
    0

    Default Re: renaming directory folder

    Quote Originally Posted by bluelion View Post
    it says:

    define('DIR_FS_CATALOG', '/home/danci18/public_html/webstore/');
    I've been reading lots of forum posts. Would the following work?

    Remove all the zencart docs and folders from the primary "webstore" folder so the directory would be /public_html/... (all the documents contained in the current webstore folder)?

    In other words, since my host says I have to have index.xxx at the "top level" under /public_html/ for the URL to work, do all the files and folders for zencart have to be in a separate folder named (in this case) webstore, or can they be taken out of the "top level" folder?

  3. #3
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: renaming directory folder

    You're making thei harder than it needs to be, I think.

    Move all the folders and files from the /webstore directory to the root (public_html) directory.

    Remove the index.html file from the public_html folder.

    Edit the two configure.php Zencart files to remove all mention of /webstore (so the define above will be: define('DIR_FS_CATALOG', '/home/danci18/public_html/'); - (there are also other places to remove the /webstore part).

    Done. Zencart uses index.php in the root to start your store.

  4. #4
    Join Date
    Mar 2008
    Posts
    73
    Plugin Contributions
    0

    Default Re: renaming directory folder

    Thanks so much. I'll give it a try and let you know the results. I really appreciate this--can't try it right now but will do so later on today. Thanks again.

  5. #5
    Join Date
    Mar 2008
    Posts
    73
    Plugin Contributions
    0

    Default Re: renaming directory folder

    Still not working...

    I've been working on this on and off and followed your directions. I did get everything out of webstore folder, reset the configure.php in includes and admin, but when I go to the site the text has loaded but none of the images.

    I reset sessions in the admin session directory as well. Anything I try to do out of admin takes me to a error page which shows this: The requested URL /webstore/xxxx/admin.php was not found on this server.

    where xxxx is the renamed admin folder. So there is still some setting that says webstore, right?

    HELP!!!!!

  6. #6
    Join Date
    Mar 2008
    Posts
    73
    Plugin Contributions
    0

    Default Re: renaming directory folder

    Quote Originally Posted by bluelion View Post
    Still not working...

    I've been working on this on and off and followed your directions. I did get everything out of webstore folder, reset the configure.php in includes and admin, but when I go to the site the text has loaded but none of the images.

    I reset sessions in the admin session directory as well. Anything I try to do out of admin takes me to a error page which shows this: The requested URL /webstore/xxxx/admin.php was not found on this server.

    where xxxx is the renamed admin folder. So there is still some setting that says webstore, right?

    HELP!!!!!
    MORE INFO AND UPDATE

    I found a couple of lines of code with /webstore/ that I had failed to change. But the site still does not load images. www.dancingtothespiritofthewood.com

    --when I updated the code for the directories (for such things as DIR_WS_CATALOG) I used the entire path (home/danci18/public_html) instead of just public_html. In some places there was previously just /webstore/ and in some the entire path.

    --I changed includes/configure.php and xxxx (new admin)/includes/configure.php.

    --In Admin Configuration Sessions, I changed it to /home/danci18/public_html/cache. I can't change it back now--it still takes me to error message "The requested URL /home/danci18/public_html/ha5Ly2/configuration.php was not found on this server."


    --to deal with hacking issues from several years ago, I created a new admin folder with xxxx (not the real name) for its name. There is still a folder named Admin which has the following folders in it: includes, classes, functions, and modules. Under the old directory hierarchy (/webstore/) everything was working fine, so I don't think I need to delete it, but should I move those files into the xxxx (new admin) folder?

    Thanks so much for any and all help.

  7. #7
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: renaming directory folder

    It appears to me that your configure.php is not setup correctly ...

    Could you post your file, from the server, for:
    /includes/configure.php

    without your username and password ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. v151 Renaming Admin Directory
    By CarLile in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 15 Mar 2013, 01:59 PM
  2. Renaming the zencart directory.
    By Jeffries Productions in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 24 Sep 2009, 11:25 AM
  3. Renaming Folder
    By Moneyca in forum General Questions
    Replies: 2
    Last Post: 19 Nov 2008, 08:20 PM
  4. Renaming directory
    By Decostyle in forum General Questions
    Replies: 7
    Last Post: 23 Apr 2008, 03:59 PM
  5. Problem renaming admin directory!
    By IronMan101 in forum General Questions
    Replies: 2
    Last Post: 15 Jul 2007, 08:34 AM

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