osCmax v2.5 User Manual
Results 1 to 6 of 6

Installation Help Please!

This is a discussion on Installation Help Please! within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; My Info: IIS 5.1 MySQL 4.1 PHP 4.3.10 myphpadmin 2.2.7 I am new to all of this but I have ...

      
  1. #1
    New Member
    Join Date
    Jan 2005
    Posts
    13
    Rep Power
    0


    Default Installation Help Please!

    My Info:

    IIS 5.1
    MySQL 4.1
    PHP 4.3.10
    myphpadmin 2.2.7

    I am new to all of this but I have all of the above successfully installed on my local machine. I have gone thru the osCommerce install and the last page (the one with the catalog and admin tool buttons) I have the following errors on the screen:

    New Installation

    osCommerce Configuration


    Warning: fopen(c:/inetpub/wwwroot/catalog/includes/configure.php): failed to open stream: Permission denied in c:\inetpub\wwwroot\catalog\install\templates\pages \install_7.php on line 209

    Warning: fputs(): supplied argument is not a valid stream resource in c:\inetpub\wwwroot\catalog\install\templates\pages \install_7.php on line 210

    Warning: fclose(): supplied argument is not a valid stream resource in c:\inetpub\wwwroot\catalog\install\templates\pages \install_7.php on line 211

    Warning: fopen(c:/inetpub/wwwroot/catalog/admin/includes/configure.php): failed to open stream: Permission denied in c:\inetpub\wwwroot\catalog\install\templates\pages \install_7.php on line 259

    Warning: fputs(): supplied argument is not a valid stream resource in c:\inetpub\wwwroot\catalog\install\templates\pages \install_7.php on line 260

    Warning: fclose(): supplied argument is not a valid stream resource in c:\inetpub\wwwroot\catalog\install\templates\pages \install_7.php on line 261
    The configuration was successful!

    Could someone please help me as to what I need to change to get this up and working? Thank you in advance!

  2. #2
    New Member
    Join Date
    Jan 2005
    Posts
    13
    Rep Power
    0


    Default moved past that but now have other issues

    I am now getting the following errors:

    Warning: session_start(): open(/tmp\sess_6b0fe2fd81122c6cf2379db395e8c493, O_RDWR) failed: No such file or directory (2) in c:\inetpub\wwwroot\catalog\includes\functions\sess ions.php on line 67

    Warning: session_start(): Cannot send session cookie - headers already sent by (output started at c:\inetpub\wwwroot\catalog\includes\functions\sess ions.php:67) in c:\inetpub\wwwroot\catalog\includes\functions\sess ions.php on line 67

    Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at c:\inetpub\wwwroot\catalog\includes\functions\sess ions.php:67) in c:\inetpub\wwwroot\catalog\includes\functions\sess ions.php on line 67
    Warning: The sessions directory does not exist: /tmp. Sessions will not work until this directory is created

    Warning: session_write_close(): open(/tmp\sess_6b0fe2fd81122c6cf2379db395e8c493, O_RDWR) failed: No such file or directory (2) in c:\inetpub\wwwroot\catalog\includes\functions\sess ions.php on line 106

    Warning: session_write_close(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in c:\inetpub\wwwroot\catalog\includes\functions\sess ions.php on line 106

    any help would be greatly appreciated!

  3. #3
    New Member
    Join Date
    Jan 2005
    Posts
    13
    Rep Power
    0


    Default

    I have created the /tmp directory in my inetpub/wwwroot folder and when i change it from read only it reverts back to that setting everytime. What am I doing wrong here?

  4. #4
    New Member
    Join Date
    Jan 2005
    Posts
    13
    Rep Power
    0


    Default

    nm up and running

  5. #5
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default

    BH,

    How about posting what your solution was.

    I am no help with IIS as I never use it to run osC. But I am sure whatever issues you were having, others who use IIS will also come across. How you fixed your problem will be a big help to them.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  6. #6
    New Member
    Join Date
    Jan 2005
    Posts
    13
    Rep Power
    0


    Default

    Sure msasek would be glad to help. My problem was due to incorrect configure.php settings in both files. I located my store in my root directory (/wwwroot) and these are my configure.php settings:

    Admin/includes/configure.php

    <?php
    /*
    $Id: configure.php,v 1.14 2003/02/21 16:55:24 dgw_ Exp $

    osCommerce, Open Source E-Commerce Solutions
    http://www.oscommerce.com

    Copyright (c) 2002 osCommerce

    Released under the GNU General Public License
    */

    // define our webserver variables
    // FS = Filesystem (physical)
    // WS = Webserver (virtual)
    define('HTTP_SERVER', 'http://localhost'); // eg, http://localhost or - https://localhost should not be NULL for productive servers
    define('HTTP_CATALOG_SERVER', '');
    define('HTTPS_CATALOG_SERVER', '');
    define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module
    define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)
    define('DIR_WS_ADMIN', '/admin/');
    define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);
    define('DIR_WS_CATALOG', '/');
    define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);
    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
    define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
    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', DIR_WS_CATALOG . 'includes/languages/');
    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_BACKUP', DIR_FS_ADMIN . 'backups/backup');

    // define our database connection
    define('DB_SERVER', 'localhost');
    define('DB_SERVER_USERNAME', 'root');
    define('DB_SERVER_PASSWORD', '123456');
    define('DB_DATABASE', 'trmeshop');
    define('USE_PCONNECT', 'false');
    define('STORE_SESSIONS', '/tmp');
    ?>

    /includes/configure.php

    <?php
    /*
    $Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $

    osCommerce, Open Source E-Commerce Solutions
    http://www.oscommerce.com

    Copyright (c) 2003 osCommerce

    Released under the GNU General Public License
    */

    // Define the webserver and path parameters
    // * DIR_FS_* = Filesystem directories (local/physical)
    // * DIR_WS_* = Webserver directories (virtual/URL)
    define('HTTP_SERVER', 'http://localhost'); // eg, http://localhost - should not be empty for productive servers
    define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers
    define('ENABLE_SSL', false); // secure webserver for checkout procedure?
    define('HTTP_COOKIE_DOMAIN', 'localhost');
    define('HTTPS_COOKIE_DOMAIN', '');
    define('HTTP_COOKIE_PATH', '/');
    define('HTTPS_COOKIE_PATH', '');
    define('DIR_WS_HTTP_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '');
    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_ICONS', DIR_WS_IMAGES . '/icons/');
    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_DOWNLOAD_PUBLIC', 'pub/');
    define('DIR_FS_CATALOG', 'c:/inetpub/wwwroot/');
    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
    define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

    // define our database connection
    define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers
    define('DB_SERVER_USERNAME', 'root');
    define('DB_SERVER_PASSWORD', '123456');
    define('DB_DATABASE', 'trmeshop');
    define('USE_PCONNECT', 'false'); // use persistent connections?
    define('STORE_SESSIONS', '/tmp'); // leave empty '' for default handler or set to 'mysql'
    ?>

Similar Threads

  1. installation
    By tclhost in forum osCmax v2 Installation issues
    Replies: 1
    Last Post: 07-28-2005, 05:23 AM
  2. OSC-MAX v1.7 Installation
    By Chippy in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 08-11-2004, 12:46 AM
  3. installation help
    By divishow in forum osCMax v1.7 Installation
    Replies: 5
    Last Post: 06-02-2004, 11:18 AM
  4. Mod installation
    By aalex in forum osCMax v1.7 General Mods Discussion
    Replies: 3
    Last Post: 01-25-2004, 02:05 PM
  5. Installation
    By Anonymous in forum osCommerce 2.2 Installation Help
    Replies: 0
    Last Post: 12-11-2002, 08:54 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
  •