osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Installation Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 01-23-2005, 12:38 PM
New Member
 
Join Date: Jan 2005
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
BHenderson
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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 01-23-2005, 08:12 PM
New Member
 
Join Date: Jan 2005
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
BHenderson
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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 01-23-2005, 08:49 PM
New Member
 
Join Date: Jan 2005
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
BHenderson
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 01-24-2005, 06:55 PM
New Member
 
Join Date: Jan 2005
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
BHenderson
Default

nm up and running
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 01-24-2005, 07:42 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,488
Thanks: 73
Thanked 334 Times in 313 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
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 Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 01-24-2005, 08:15 PM
New Member
 
Join Date: Jan 2005
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
BHenderson
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'
?>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 07:57 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax