Results 1 to 9 of 9
  1. #1
    Join Date
    Jul 2008
    Posts
    4
    Plugin Contributions
    0

    Default Problems with installation

    I'm installing ZenCart on Ipower (linux server). I installed the files on my pc and ftp'd them to store in the httpdocs folder. I did create my database with MySQL. I renamed the dist_configure.php files in both locations to configure.php. I changed the permissions on all the folders like it said. When I point my browser to the zc_install, I don't get an error message, however, it's trying to download a file from my website to my pc. What am I doing wrong?

    This is the first time I'm trying to install ZenCart, so I'm sure it's something simple, but I'm ready to tear my hair out. I would expect it would come up to an installation screen.

    Any help would be appreciated.
    Last edited by bmw2182; 21 Jul 2008 at 01:32 AM.

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

    Default Re: Problems with installation

    If you're getting a file download box when you run the Zencart installation, it's probably a PHP problem, and would be a question for your host.

  3. #3
    Join Date
    Jul 2008
    Posts
    4
    Plugin Contributions
    0

    Default Re: Problems with installation

    I was able to complete the installation and it goes through fine. I'm going to http://www.ecopelagicon.com/store/admin to login to continue to set things up and I get the following message:

    Warning: main(includes/configure.php) [function.main]: failed to open stream: No such file or directory in /var/www/vhosts/ecopelagicon.com/httpdocs/store/admin/includes/application_top.php on line 61

    Warning: main() [function.include]: Failed opening 'includes/configure.php' for inclusion (include_path='\') in /var/www/vhosts/ecopelagicon.com/httpdocs/store/admin/includes/application_top.php on line 61


    Any ideas? I've checed the application _top.php file and it refers to the includes/configure.php, and it is there. What am I missing?

    It continues with the following as well:
    Hello. Thank you for loading Zen Cart™.
    You are seeing this page for one or more reasons:
    This is your first time using Zen Cart™ and you haven't yet completed the normal Installation procedure.
    If this is the case for you, you will need to upload the "zc_install" folder using your FTP program, and then run zc_install/index.php via your browser (or reload this page to see a link to it).


    Your /includes/configure.php and/or /admin/includes/configure.php file contains invalid path information and/or invalid database-connection information.
    If you recently edited your configure.php files for any reason, or maybe moved your site to a different folder or different server, then you'll need to review and update all your settings to the correct values for your server.
    See the Online FAQ and Tutorials area on the Zen Cart™ website for assistance.


    To begin installation ...
    The Installation Documentation can be read by clicking here: Documentation
    You will need to upload the "zc_install" folder using your FTP program, and then run zc_install/index.php via your browser (or reload this page to see a link to it).
    The Online FAQ and Tutorials area on the Zen Cart™ website will also be of value if you run into difficulties.

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

    Default Re: Problems with installation

    You're looking in admin/includes for the configure.php file, right?

    If it's there, make sure the path info in it is correct.

  5. #5
    Join Date
    Jul 2008
    Posts
    4
    Plugin Contributions
    0

    Default Re: Problems with installation

    I checked my configure.php in admins/includes and everything appears fine. This is what it has in it: Any ideas?

    <?php
    /**
    * @package Configuration Settings circa 1.3.8
    * @copyright Copyright 2003-2007 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 "store" version of configure.php. ***********/
    /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/

    // Define the webserver and path parameters
    // Main webserver: eg-http://www.your_domain.com -
    // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
    // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
    // HTTP_CATALOG_SERVER is your Main webserver: eg-http://www.your_domain.com
    // HTTPS_CATALOG_SERVER is your Secure webserver: eg-https://www.your_domain.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
    *
    * If you desire your *entire* admin to be SSL-protected, make sure you use a "https:" URL for all 4 of the following:
    */
    define('HTTP_SERVER', 'http://www.ecopelagicon.com');
    define('HTTPS_SERVER', 'https://www.ecopelagicon.com');
    define('HTTP_CATALOG_SERVER', 'http://www.ecopelagicon.com');
    define('HTTPS_CATALOG_SERVER', 'https://www.ecopelagicon.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', '/store/admin/');
    define('DIR_WS_CATALOG', '/store/');
    define('DIR_WS_HTTPS_ADMIN', '/store/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/store/');

    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', '/var/www/vhosts/ecopelagicon.com/httpdocs/store/admin/');
    define('DIR_FS_CATALOG', '/var/www/vhosts/ecopelagicon.com/httpdocs/store/');

    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', '');
    define('DB_SERVER', 'localhost');
    define('DB_SERVER_USERNAME', 'admin2');
    define('DB_SERVER_PASSWORD', 'xxxxxx');
    define('DB_DATABASE', 'ecostore');
    define('USE_PCONNECT', 'false');
    define('STORE_SESSIONS', 'db');
    // for STORE_SESSIONS, 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', '/var/www/vhosts/ecopelagicon.com/httpdocs/store/cache');

    // EOF

  6. #6
    Join Date
    Jul 2008
    Posts
    4
    Plugin Contributions
    0

    Default Re: Problems with installation

    I recently installed Zen-cart on Ipower, but I can't get into the administration area. When I go to http://www.ecopelagicon.com/store/admin I get the following message:

    Warning: main(includes/configure.php) [function.main]: failed to open stream: No such file or directory in /var/www/vhosts/ecopelagicon.com/httpdocs/store/admin/includes/application_top.php on line 61

    Warning: main() [function.include]: Failed opening 'includes/configure.php' for inclusion (include_path='\') in /var/www/vhosts/ecopelagicon.com/httpdocs/store/admin/includes/application_top.php on line 61

    I have checked the following files:

    store/admin/includes - configure.php line 61 says: define('DIR_FS_CATALOG', '/var/www/vhosts/ecopelagicon.com/httpdocs/store/');

    store/includes - configure.php line 61 says: // For SQL_CACHE_METHOD, you can select from: none, database, or file

    store/admin/includes - application_top.php line 61 says include('includes/configure.php');


    Any ideas why I can't get in??? I'm tearing my hair out. I really need to get this resolved before I go on vacation. If you need more information, I'm happy to provide anything that you need. PLEASE HELP - I'm really frustrated.

  7. #7
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Problems with installation

    Quote Originally Posted by bmw2182 View Post
    Failed opening 'includes/configure.php' for inclusion (include_path='\') in /var/www/vhosts/ecopelagicon.com/httpdocs/store/admin/includes/application_top.php on line 61
    You'll want to get your hosting company to change the include_path to also include the current directory, usually indicated by a "dot": .
    .

    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
    Jul 2008
    Location
    India
    Posts
    46
    Plugin Contributions
    0

    Default Re: Problems with installation

    Quote Originally Posted by bmw2182 View Post
    I'm installing ZenCart on Ipower (linux server). I installed the files on my pc and ftp'd them to store in the httpdocs folder. I did create my database with MySQL. I renamed the dist_configure.php files in both locations to configure.php. I changed the permissions on all the folders like it said. When I point my browser to the zc_install, I don't get an error message, however, it's trying to download a file from my website to my pc. What am I doing wrong?

    This is the first time I'm trying to install ZenCart, so I'm sure it's something simple, but I'm ready to tear my hair out. I would expect it would come up to an installation screen.

    Any help would be appreciated.


    Use the orignal dist-configure.php

    backup your configure.php and use a blank file named configure.php in both location set the permission writable by using your ftp program

    it will solve your problem

  9. #9
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Problems with installation

    Quote Originally Posted by Amit001 View Post
    Use the orignal dist-configure.php

    backup your configure.php and use a blank file named configure.php in both location set the permission writable by using your ftp program

    it will solve your problem
    No, I disagree. The problem is not with the configure.php files. It's in the include_path setting of the server's PHP configuration
    .

    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.

 

 

Similar Threads

  1. Problems with Thunderbird installation
    By Marlake in forum Installing on a Windows Server
    Replies: 2
    Last Post: 9 Apr 2008, 09:53 PM
  2. Problems with Paypal installation
    By suchil in forum PayPal Express Checkout support
    Replies: 1
    Last Post: 21 Mar 2008, 07:39 PM
  3. Problems with Installation
    By monicagallien in forum Installing on a Linux/Unix Server
    Replies: 10
    Last Post: 29 Jun 2006, 10:56 PM
  4. Problems with QuickUpdates installation
    By Reesy in forum All Other Contributions/Addons
    Replies: 29
    Last Post: 30 May 2006, 06:48 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