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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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! |
| Sponsored Links | ||
| ||
| |
|
#2
| |||
| |||
| 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
| |||
| |||
| 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
| |||
| |||
| nm up and running |
|
#5
| ||||
| ||||
| 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
|
|
#6
| |||
| |||
| 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' ?> |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| installation | tclhost | osCMax v2 Installation issues | 1 | 07-28-2005 05:23 AM |
| OSC-MAX v1.7 Installation | Chippy | osCMax v1.7 Discussion | 2 | 08-11-2004 12:46 AM |
| installation help | divishow | osCMax v1.7 Installation | 5 | 06-02-2004 11:18 AM |
| Mod installation | aalex | osCMax v1.7 General Mods Discussion | 3 | 01-25-2004 02:05 PM |
| Installation | Anonymous | osCommerce 2.2 Installation Help | 0 | 12-11-2002 08:54 PM |