Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Dec 2007
    Posts
    26
    Plugin Contributions
    0

    Default Making Zen Cart my home page

    I've stumbled on several threads that explain how to move the /store folder into the root of the domain (public_html, etc.).

    Basically everything from the /store folder is moved.

    THEN

    2 configure.php files need to be modified.

    It all seems simple... in the example below... remove /shop, but what about ..._CATALOG? Is it supposed to be '/' ?

    define('DIR_WS_ADMIN', '/shop/admin/');
    define('DIR_WS_CATALOG', '/shop/');
    define('DIR_WS_HTTPS_ADMIN', '/shop/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/shop/');

    ALSO... I have a question.

    What is the benefit of making the Zen Cart my homepage instead of creating a new index.html page in Dreamweaver using the code copied from View Source?

    Thanks in advanced.

  2. #2
    Join Date
    Sep 2004
    Location
    Murfreesboro, TN
    Posts
    588
    Plugin Contributions
    0

    Default Re: Making Zen Cart my home page

    asdweb;

    I also replied to your other post.

    Your answer to this one is yes, your new path at a root directory that is the public level top is '/'

    Not sure how to answer your second question on what you are trying to accomplish. Also be careful with dreamweaver as I have had some blank spaces creep in on me making troubleshooting the site harder,

    Sincerely,

    0be1
    "Give me one hundred preachers who fear nothing but sin and desire nothing but God, and I care not whether they be clergymen or laymen, they alone will shake the gates of Hell and set up the kingdom of Heaven upon Earth." - John Wesley

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

    Default Re: Making Zen Cart my home page

    Quote Originally Posted by asdweb View Post

    What is the benefit of making the Zen Cart my homepage instead of creating a new index.html page in Dreamweaver using the code copied from View Source?
    If you mean that you're going to copy the source from the Zencart main page and use it to create a fake main page in the root when your cart is in /shop, that won't work.

    If you mean just create a 'jump' page in root that links to Zencart in /shop - you can do that, but you'll really tick off customers like me who hate having to click for no reason. Zencart belongs in the root directory.

  4. #4
    Join Date
    Dec 2007
    Posts
    26
    Plugin Contributions
    0

    Default Re: Making Zen Cart my home page

    Quote Originally Posted by 0be1 View Post
    asdweb;
    Your answer to this one is yes, your new path at a root directory that is the public level top is '/'
    Okay I did that, removed /shop from the two configure.php files and was greeted both times with "[a fatal error or timeout occurred while processing this directive]" when I saved the file. ?!?!?

    Now when I go to the site, it is all messed up and zc_install/index.php is followed after my domain name.

    WHAT DID I DO?????

    (fortunately I downloaded the original files!)

  5. #5
    Join Date
    Sep 2004
    Location
    Murfreesboro, TN
    Posts
    588
    Plugin Contributions
    0

    Default Re: Making Zen Cart my home page

    What is the URL to take a peek please.

    0be1
    "Give me one hundred preachers who fear nothing but sin and desire nothing but God, and I care not whether they be clergymen or laymen, they alone will shake the gates of Hell and set up the kingdom of Heaven upon Earth." - John Wesley

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

    Default Re: Making Zen Cart my home page

    Old configure.php contents:
    Code:
    define('DIR_WS_ADMIN', '/shop/admin/');
    define('DIR_WS_CATALOG', '/shop/');
    define('DIR_WS_HTTPS_ADMIN', '/shop/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/shop/');
    Are the new configure.php contents as below?
    Code:
    define('DIR_WS_ADMIN', '/admin/');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_ADMIN', '/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/');
    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

  7. #7
    Join Date
    Dec 2007
    Posts
    26
    Plugin Contributions
    0

    Default Re: Making Zen Cart my home page

    I did that PLUS I removed /shop from the very last line in the configure.php files from between public_html and cache.

    was I not supposed to do that?

    define('DIR_FS_SQL_CACHE', '/home/mypassword/public_html/cache');

    I redid the configure files and now the site is up now with this error message on the top...

    "Warning: I am able to write to the configuration file: %s. This is a potential security risk - please set the right user permissions on this file (read-only, CHMOD 644 or 444 are typical). You may need to use your webhost control panel/file-manager to change the permissions effectively. Contact your webhost for assistance."

    When I checked the permissions for the configure.php files they are set at 644.

    ?!?!

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

    Default Re: Making Zen Cart my home page

    Site's up - that's good.

    Did you try changing the permissions via your control panel's file manager rather than your FTP client? Sometimes that's the only way, for some reason.

  9. #9
    Join Date
    Dec 2007
    Posts
    26
    Plugin Contributions
    0

    Default Re: Making Zen Cart my home page

    very good. whew!

    I don't know what permissions I am supposed to change. I checked the configure.php files and they are set at 644.

    ?!?!

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

    Default Re: Making Zen Cart my home page

    What the permission needs to be can depend on your hosting service. Try changing the permission to 444 and see what happens.
    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

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Making My Shopping Cart Home Page
    By sharc316 in forum Basic Configuration
    Replies: 4
    Last Post: 22 Oct 2011, 11:41 PM
  2. Making zen my home page
    By bizzare in forum Basic Configuration
    Replies: 7
    Last Post: 16 Aug 2009, 09:56 PM
  3. Auto redirect from home page to zen cart home
    By gizmo_girl in forum Basic Configuration
    Replies: 5
    Last Post: 4 Nov 2008, 03:46 PM
  4. Customer Login on Home Page (not on zen-cart page) ?
    By dcfxking in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 26 Aug 2007, 09:18 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