Thread: root directory

Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 24
  1. #11
    Join Date
    Mar 2009
    Location
    Scotland
    Posts
    72
    Plugin Contributions
    0

    Default Re: root directory

    Ok Kuroni I will take what you have said back to them and see if it sheds any light on the matter...here is hoping....
    [FONT="Book Antiqua"]www.shoe-addiction.co.uk[/FONT]

  2. #12
    Join Date
    May 2009
    Location
    Virginia
    Posts
    101
    Plugin Contributions
    0

    Default Re: root directory

    I deleted my old HTML site and now am trying to run strictly from Zen Cart, but now my domain (janaygreen.com) just shows the dir folder "catalog". I don't know how to get it to just go to the catalog without changing the home page to janaygreen.com/catalog.

    It was working before just going to janaygreen.com. Any suggestions?

  3. #13
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: root directory

    Move all the folders and files from /catalog to the root directory (usually public_html) and follow the directions in https://www.zen-cart.com/tutorials/i...hp?article=122
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  4. #14
    Join Date
    Jun 2009
    Posts
    4
    Plugin Contributions
    0

    Default Re: root directory

    I am a brand new zenner. Can you tell me what is the root directory...as in which file. I have been trying to figure it out all morning. Thanks.

  5. #15
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: root directory

    "root" directory can be used in two different ways. The first is the root directory for you hosting account, which usually refers to the place that your web host tells you to put your publicly viewable files.

    The other root directory is the one for your Zen Cart. This is the directory into which you have installed your Zen Cart with all its sub directories.

    The two roots are often the same, though will be different if you have installed your Zen Cart in a sub directory.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  6. #16
    Join Date
    May 2009
    Location
    Virginia
    Posts
    101
    Plugin Contributions
    0

    Default Re: root directory

    Ok, I'm working with my host to move my shop into the directory "shop" and it has been done, but now everything shows up without any graphics and all of the links bring up 404 statuses. When I go to old links to my site, they show up, but only in text without any graphics or styling.

    I'm so angry because in order to have multiple shops I needed to have multiple directories, but now I've just messed everything up and I don't know what to do. While I'm emailing my host, does anyone have any suggestions or has this happened to anyone else where the old links work, but the new ones don't.

    I've cleared my browser's cache. Maybe someone else views my site differently: http://www.janaygreen.com.

  7. #17
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: root directory

    Unfortunately we can't see how your site is being re-directed down to the shop folder, which limits the advice we can give. However in principle this looks like an inconsistency between however that redirection is being effected and what you includes/configure.php file has been set to.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  8. #18
    Join Date
    May 2009
    Location
    Virginia
    Posts
    101
    Plugin Contributions
    0

    Default Re: root directory

    If this helps, here are the changes to my configure files:



    Code:
    define('HTTP_SERVER', 'http://www.janaygreen.com');
      define('HTTPS_SERVER', 'https://www.janaygreen.com');
    
      define('DIR_WS_CATALOG', '/shop/');
      define('DIR_WS_HTTPS_CATALOG', '/shop/');
      define('DIR_FS_CATALOG', '/usr/www/users/jgreen23/shop/');
      define('DIR_FS_SQL_CACHE', '/usr/www/users/jgreen23/shop/cache');

    and:


    Code:
    define('HTTP_SERVER', 'http://www.janaygreen.com');
      define('HTTPS_SERVER', 'https://www.janaygreen.com');
      define('HTTP_CATALOG_SERVER', 'http://www.janaygreen.com');
      define('HTTPS_CATALOG_SERVER', 'https://www.janaygreen.com');
      define('DIR_WS_ADMIN', '/shop/xxxxxxx/');
      define('DIR_WS_CATALOG', '/shop/');
      define('DIR_WS_HTTPS_ADMIN', '/shop/xxxxxxx/');
      define('DIR_WS_HTTPS_CATALOG', '/shop/');
      define('DIR_FS_ADMIN', '/usr/www/users/jgreen23/shop/xxxxxxx/');
      define('DIR_FS_CATALOG', '/usr/www/users/jgreen23/shop/');
      define('DIR_FS_SQL_CACHE', '/usr/www/users/jgreen23/shop/cache');
    with the "xxxxxxx" being my admin name. Any suggestions?

  9. #19
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: root directory

    My best guess based on the information available is that your URLs are being re-written behind the scenes to point into the shop directory. That would explain why your main URL starts to display your Zen Cart even though it's actually in a directory called shop.

    By also adding shop to the stores internal URLs, you may be trying to send to shop/shop. Try removing the references to shop from DIR_WS_CATALOG and DIR_WS_HTTPS_CATALOG, but *not* from DIR_FS_CATALOG and DIR_FS_SQL_CACHE.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  10. #20
    Join Date
    May 2009
    Location
    Virginia
    Posts
    101
    Plugin Contributions
    0

    Default Re: root directory

    [FONT="Arial"]Oh, my God. You are ******* brilliant.
    I love you. <3

    In other words:
    It worked!. [/FONT]

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. v139h Moved to root Directory
    By jennygrl99 in forum Customization from the Admin
    Replies: 5
    Last Post: 29 Feb 2012, 01:12 AM
  2. Changing root directory
    By Sancho in forum General Questions
    Replies: 2
    Last Post: 30 Jun 2009, 03:41 AM
  3. Root directory?
    By littleonlinestore in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 17 Jun 2009, 09:24 PM
  4. Favicon in Root Directory
    By ben harry in forum Templates, Stylesheets, Page Layout
    Replies: 19
    Last Post: 12 Jun 2007, 04:43 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