Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1

    Problems with Installation

    I installed yesterday for the first time and I could get to the admin section, but not the store. So I looked around here and realized I didn't ftp all the install files. So, I went ahead and installed again, this time I used SSL. At the end of the install when I click to go to admin I get a warning saying the certificate doesn't match the intended username. I can get past that and it says I've installed a new certificate. When I try to go to the admin though I get the 404 error. I am also getting that when I click to check the store. My website is www.thehappiestkids.com Please help!

  2. #2
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Problems with Installation

    It appears that the information you entered for SSL support is not correct.

    To work around it for now, you can edit your configure.php files to disable the SSL support for the time being. This post should help you do that:
    http://www.zen-cart.com/forum/showpo...66&postcount=6
    .

    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.

  3. #3

    Default Re: Problems with Installation

    Thank you. I changed those files and I can get to the admin area now. When I try to click on go to store I get The Page cannot be found http 404 error.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Problems with Installation

    Sounds like you missed a setting.

    Please post both your /includes/configure.php and /admin/includes/configure.php files without passwords
    .

    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.

  5. #5

    Default Re: Problems with Installation

    Thank you very much!! Here you go
    includes/configure.php

    <?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
    */


    // 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://thehappiestkids.com');
    define('HTTPS_SERVER', 'https://thehappiestkids.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', '/');

    // * 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/thehappi/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', 'thehappi_');
    define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty
    define('DB_SERVER_USERNAME', '');
    define('DB_SERVER_PASSWORD', ');
    define('DB_DATABASE', 'thehappi_zencart');
    define('USE_PCONNECT', 'false'); // use persistent connections?
    define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db'

    // 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', 'database');
    define('DIR_FS_SQL_CACHE', '/home/thehappi/public_html/cache');

    ?>


    <?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
    */


    // Define the webserver and path parameters
    // Main webserver: eg, http://localhost - should not be empty for productive servers
    // HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
    // HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
    // HTTP_CATALOG_SERVER is your Main webserver: eg, http://www.yourdomain.com
    // HTTPS_CATALOG_SERVER is your Secure webserver: eg, https://www.yourdomain.com
    /*
    * URLs for your site will be built via:
    * HTTP_SERVER plus DIR_WS_ADMIN or
    * HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or
    * HTTP_SERVER plus DIR_WS_CATALOG or
    * HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG
    * ...depending on your system configuration settings
    */
    define('HTTP_SERVER', 'http://thehappiestkids.com');
    define('HTTPS_SERVER', 'https://thehappiestkids.com');
    define('HTTP_CATALOG_SERVER', 'http://thehappiestkids.com');
    define('HTTPS_CATALOG_SERVER', 'https://thehappiestkids.com');

    // Use secure webserver for catalog module and/or admin areas?
    define('ENABLE_SSL_CATALOG', 'false');
    define('ENABLE_SSL_ADMIN', '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_ADMIN', '/admin/');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_ADMIN', '/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
    define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
    define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
    define('DIR_WS_INCLUDES', 'includes/');
    define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
    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_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');

    // * 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_ADMIN', '/home/thehappi/public_html/admin/');
    define('DIR_FS_CATALOG', '/home/thehappi/public_html/');

    define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
    define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
    define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
    define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/');
    define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', 'thehappi_');
    define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty
    define('DB_SERVER_USERNAME', ');
    define('DB_SERVER_PASSWORD', ');
    define('DB_DATABASE', 'thehappi_zencart');
    define('USE_PCONNECT', 'false'); // use persistent connections?
    define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db'

    // 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', 'database');
    define('DIR_FS_SQL_CACHE', '/home/thehappi/public_html/cache');

    ?>

  6. #6
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Problems with Installation

    I don't see anything immediately wrong there.

    If you go to the site's main URL , does it work properly?
    Is it only when clicking "Online Catalog" from the admin area that you encounter the 404 message?
    .

    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.

  7. #7

    Default Re: Problems with Installation

    Yes, it works fine at the mail URL. I only get the message from the online catalog.

  8. #8

    Default Re: Problems with Installation

    The site itself works fine, but the store isn't there. You can see the website I built, but not the store.

  9. #9

    Default Re: Problems with Installation

    I checked my error log on the server and I was getting this when I tried going to my store.
    Wed Jun 28 07:10:04 2006] [error] [client 65.93.149.55] File does not exist: /home/thehappi/public_html/store [Wed Jun 28 07:10:00 2006] [error] [client 65.93.149.55] File does not exist: /home/thehappi/public_html/shop [Wed Jun 28 07:09:41 2006] [error] [client 65.93.149.55] File does not exist: /home/thehappi/public_html/favicon.ico [Wed Jun 28 04:55:17 2006] [error] [client 71.100.0.69] File does not exist: /home/thehappi/public_html/zc_install/index.php [Wed Jun 28 04:55:16 2006] [error] [client 71.100.0.69] File does not exist: /home/thehappi/public_html/zc_install/index.php [Wed Jun 28 04:55:14 2006] [error] [client 71.100.0.69] File does not exist: /home/thehappi/public_html/zc_install/index.php [Wed Jun 28 04:55:11 2006] [error] [client 71.100.0.69] File does not exist: /home/thehappi/public_html/zc_install/index.php [Wed Jun 28 04:55:02 2006] [error] [client 71.100.0.69] File does not exist: /home/thehappi/public_html/index.php [Wed Jun 28 04:47:45 2006] [error] [client 71.100.0.69] File does not exist: /home/thehappi/public_html/index.php [Wed Jun 28 04:47:42 2006] [error] [client 71.100.0.69] File does not exist: /home/thehappi/public_html/index.php [Wed Jun 28 04:47:18 2006] [error] [client 71.100.0.69] File does not exist: /home/thehappi/public_html/index.php [Wed Jun 28 04:47:15 2006] [error] [client 71.100.0.69] File does not exist: /home/thehappi/public_html/index.php [Wed Jun 28 04:46:31 2006] [error] [client 71.100.0.69] File does not exist: /home/thehappi/public_html/index.php


    so, I copied over my index.php file to public_html and zc_install. I can't find a file or directory named shop anywhere. I'm either missing it or just not looking in the right place. When I go to the store now, I'm getting this error message

    Warning: main(includes/languages/english.php): failed to open stream: No such file or directory in /home/thehappi/public_html/includes/init_includes/init_languages.php on line 26

    Warning: main(includes/languages/english.php): failed to open stream: No such file or directory in /home/thehappi/public_html/includes/init_includes/init_languages.php on line 26

    Fatal error: main(): Failed opening required 'includes/languages/english.php' (include_path='.:/usr/local/lib/php') in /home/thehappi/public_html/includes/init_includes/init_languages.php on line 26


    Something seems to be wrong with my languages file too. I had to copy english.php over to the English folder manually. Can I just re-install the languages folder? and the store folder if I need that too?

  10. #10
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Problems with Installation

    Sounds like you had a bad upload and many of the files are missing.....

    Some FTP programs are bad for timeouts.

    FileZilla (filezilla.sf.net) is free and I've heard no complaints about its reliability.

    I suggest re-uploading the files to your site.
    .

    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.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Problems with installation
    By bmw2182 in forum Installing on a Linux/Unix Server
    Replies: 8
    Last Post: 1 Aug 2008, 05:32 PM
  2. Problems with Thunderbird installation
    By Marlake in forum Installing on a Windows Server
    Replies: 2
    Last Post: 9 Apr 2008, 09:53 PM
  3. Problems with installation in cPanel
    By icnmcotto in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 8 Nov 2007, 05:14 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