Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Nov 2007
    Posts
    10
    Plugin Contributions
    0

    Default Just sucessfully install Zen Cart but can't view the webpage

    As above. Just finished setting everything up(install, databases etc) and when it says 'goto shop' it comes up with 404 error.

    The current main directories are:

    CPanel
    Trash
    Public_HTML

    Do I need to move a directory or is this normal?

    Also, should the permissions for ALL files and folders be set to 755 or not?


    Thanks in advance.

    Bob
    Last edited by BOB'5; 14 Nov 2007 at 12:21 AM.

  2. #2
    Join Date
    Sep 2007
    Location
    Dublin, Ireland
    Posts
    1,288
    Plugin Contributions
    8

    Default Re: Just sucessfully install Zen Cart but can't view the webpage

    you need to point your root folder to Public_HTML- Do this in configure.php in includes/

    Let me know if you need more detail
    Andrew

    Andrew Moore
    Omnicia Agile Development
    www.omnicia.com

  3. #3
    Join Date
    Nov 2007
    Posts
    10
    Plugin Contributions
    0

    Default Re: Just sucessfully install Zen Cart but can't view the webpage

    Thanks for the quick reply Andrew

    Am am totally new to this kind of thing. What do I need to do to that file exactly?



    Cheers,

    Bob

  4. #4
    Join Date
    Nov 2007
    Posts
    10
    Plugin Contributions
    0

    Default Re: Just sucessfully install Zen Cart but can't view the webpage

    I've got the file open, just need to know what to change...

    <?php
    /**
    *
    * @package Configuration Settings
    * @copyright Copyright 2003-2006 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    */


    /*************** NOTE: This file is similar, but DIFFERENT from the "admin" version of configure.php. ***********/
    /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/

    // Define the webserver and path parameters
    // HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
    // HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
    define('HTTP_SERVER', 'http://www.XXXX.co.uk');
    define('HTTPS_SERVER', 'https://www.XXXX.co.uk');

    // Use secure webserver for checkout procedure?
    define('ENABLE_SSL', 'false');

    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
    // * DIR_WS_* = Webserver directories (virtual/URL)
    // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_INCLUDES', 'includes/');
    define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
    define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
    define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
    define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
    define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
    define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');

    define('DIR_WS_PHPBB', '/');

    // * DIR_FS_* = Filesystem directories (local/physical)
    //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
    define('DIR_FS_CATALOG', '/home/XXXX/public_html/');

    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
    define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
    define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
    define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');

    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', '');
    define('DB_SERVER', 'localhost');
    define('DB_SERVER_USERNAME', 'XXXXXXt');
    define('DB_SERVER_PASSWORD', 'XXXXXXX);
    define('DB_DATABASE', 'XXXXXX');
    define('USE_PCONNECT', 'false'); // use persistent connections?
    define('STORE_SESSIONS', 'db'); // use 'db' for best support, or '' for file-based storage

    // The next 2 "defines" are for SQL cache support.
    // For SQL_CACHE_METHOD, you can select from: none, database, or file
    // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
    // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
    // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash
    define('SQL_CACHE_METHOD', 'none');
    define('DIR_FS_SQL_CACHE', '/home/XXXX/public_html/cache');

    ?>


    I have 'XXXX' out any sensitive info

  5. #5
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: Just sucessfully install Zen Cart but can't view the webpage

    Hi Bob you need to set the configure.php as exactly as it is pointing to your root folder


    // * DIR_FS_* = Filesystem directories (local/physical)
    //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/

    Here
    define('DIR_FS_CATALOG', '/home/XXXX/public_html/');
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  6. #6
    Join Date
    Nov 2007
    Posts
    10
    Plugin Contributions
    0

    Default Re: Just sucessfully install Zen Cart but can't view the webpage

    Hi,

    I couldn't figure out the complete path so tried /store/ on the end and now it comes up with the index when I open the website.

    have also tried /zencart/ and /zen_cart/ with the same result.

    I installed the original software from this site.


    Cheers,

    Bob

  7. #7
    Join Date
    Nov 2007
    Posts
    10
    Plugin Contributions
    0

    Default Re: Just sucessfully install Zen Cart but can't view the webpage

    admin area seems to work fine.

  8. #8
    Join Date
    Nov 2007
    Posts
    10
    Plugin Contributions
    0

    Default Re: Just sucessfully install Zen Cart but can't view the webpage

    have searched and searched but to no avail

  9. #9
    Join Date
    Nov 2007
    Posts
    10
    Plugin Contributions
    0

    Default Re: Just sucessfully install Zen Cart but can't view the webpage

    anyone?

  10. #10
    Join Date
    Sep 2007
    Location
    Dublin, Ireland
    Posts
    1,288
    Plugin Contributions
    8

    Default Re: Just sucessfully install Zen Cart but can't view the webpage

    Try setting the following define to 'localhost':

    define('DIR_WS_CATALOG', 'localhost/');

    if that fails try:

    define('DIR_WS_CATALOG', 'public_HTML/THE NAME OF YOUR ZENCART FOLDER/');
    Andrew

    Andrew Moore
    Omnicia Agile Development
    www.omnicia.com

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 2
    Last Post: 24 May 2012, 02:42 PM
  2. v150 https warnings-Do you want to view the only the webpage content delivered secure...
    By cardioforce in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 4 Apr 2012, 11:22 AM
  3. Replies: 16
    Last Post: 22 Jun 2010, 01:33 PM
  4. Refunded Partial Payment Through Paypal, but can't edit in the Admin on Zen Cart
    By scrappycat in forum Managing Customers and Orders
    Replies: 2
    Last Post: 28 May 2009, 08:30 AM
  5. Can I install zen cart in the Yahoo sever?
    By Winnie188 in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 27 Aug 2007, 05:34 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR