Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Dec 2003
    Posts
    8
    Plugin Contributions
    0

    Default 404 error on install

    I can't get past the 404 error to even install zen-cart.

    I have never had trouble installing this cart before - but it seems the config.php files are more critical then before.

    I guess, anyway - that seems to be the only reason I can think of that the server would not see files that I know are there (permissions have all been set according to the instructions).

    So, here is my config file:

    define('HTTP_SERVER', 'http://www.tees-online.com');
    define('HTTPS_SERVER', 'https://www.tees-online.com');

    // 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', '/phpBB2/');

    // * 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/httpd/vhosts/tees-online.com/httpdocs/catalog/');

    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', ''); // prefix for database table names -- preferred to be left empty
    define('DB_SERVER', 'localhost');
    define('DB_SERVER_USERNAME', 'root');
    define('DB_SERVER_PASSWORD', ''); (this is not blank on mine)
    define('DB_DATABASE', 'tees_online');
    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/httpd/vhosts/tees-online.com/httpdocs/catalog/cache');

    ?>

  2. #2
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: 404 error on install

    I get this when going to your domain:

    This is the Plesk™ default page

    If you see this page it means:

    1) hosting for this domain is not configured
    or
    2) there's no such domain registered in Plesk.

    For more information please contact Administrator.
    Perhaps you need to contact your host?

  3. #3
    Join Date
    Apr 2006
    Posts
    3
    Plugin Contributions
    0

    Default Re: 404 error on install

    Having the same issue on http://www.alternea.us/garage_sale

    Haven't had problems in the past. This is a fresh install and index.php is definitely there and I have set permissions to 777 just in case that was the problem.

    Any advice?

    Chuck

  4. #4
    Join Date
    Dec 2003
    Posts
    8
    Plugin Contributions
    0

    Default Re: 404 error on install

    I checked with the tech people on the server side - and the setup is correct. But the zen install just won't fly.

  5. #5
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: 404 error on install

    Zen Cart will redirect itself to zc_install/index.php if it cannot read your configure.php files, or if it finds that their content is like the defaults found in the dist-configure.php example supplied with Zen Cart.

    So ... you need to be sure that:
    a. the file is truly readable
    b. the file contains valid content
    c. the database details specified are correct
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6
    Join Date
    Apr 2006
    Posts
    3
    Plugin Contributions
    0

    Default Re: 404 error on install

    Thanks for the prompt, doc. I am looking at the wrong index.php (duh, not looking in ZC_install). Even using Filezilla (a first for me), it looks like my FTP session was not completed.

    BTW, looking at another thread for 404 problems....there was a suggestion to make set /catalog to 777....this seems unwise to me. Am I off-base?

  7. #7
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: 404 error on install

    there was a suggestion to make set /catalog to 777....this seems unwise to me. Am I off-base?
    I agree with you ... there should be NO reason to set the entire site to 777. Bad idea.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #8
    Join Date
    Dec 2003
    Posts
    8
    Plugin Contributions
    0

    Default Re: 404 error on install

    To follow what you are saying - I deleted my self configured configure.php files, and renamed the default ones. I made sure that the zc_install directory and index.php files are 777. Still nothing but a 404 error.

    It won't go to the zc_install files.

    I reloaded the files twice - thinking that something did not load. I am using Transmit - so I dont' think it would be helpful to say that my ftp program is the issue. I have never had problems with it before.

  9. #9
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: 404 error on install

    rweiss, what EXACT folder have you uploaded to?

    It sounds like you don't have the files inside your public_html or httpdocs folder ...
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  10. #10
    Join Date
    Dec 2003
    Posts
    8
    Plugin Contributions
    0

    Default Re: 404 error on install

    They are in the /httpdocs/catalog/ folder

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Admin 404 Error After Install
    By firstcapitalfirearms in forum Installing on a Linux/Unix Server
    Replies: 6
    Last Post: 11 Oct 2012, 04:57 AM
  2. 404 error on install
    By goodbyeh in forum Installing on a Windows Server
    Replies: 1
    Last Post: 14 Aug 2010, 08:31 AM
  3. Error 404 on install
    By p8ntballsteve in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 26 May 2008, 04:11 AM
  4. 404 error on SSL install
    By jmouse in forum Installing on a Linux/Unix Server
    Replies: 11
    Last Post: 8 Apr 2008, 07:52 AM
  5. Fresh install, 404 error
    By grrajeshkumar in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 20 Jul 2006, 09: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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR