PDA

View Full Version : Win XP Pro Local Host Installation Issue



maxwelltl
09-21-2003, 07:22 PM
Sorry in advance for a basic installation issue.

I am installing OSC on my local PC for learning, testing, and modification.

I am running WIN XP Pro and have MYSQL, PHP, IIS installed. My local host IP address is 192.168.1.50. The path to my IIS web directory is:

c:/Inetpub/wwwroot/

OSC files are located in c:/Inetpub/wwwroot/catalog/

The OSC installation works fine up to the second to last install screen. The DB does connect, is created, and initializes fine. I am at a loss as to what needs to go into the osCommerce Configuration Screen fields:

www Address:
Webserver Root Directory:
HTTP Cookie Domain:
HTTP Cookie Path:

I have tried every combination of 'localhost', '192.168.1.50', '/catalog/', etc. and can't get the final install to function properly.

The final install screen indicates 'The configuration is successful', but when I click on the 'Catalog' or 'Administrative Tool' test buttons, a new browser window opens with an error indicating 'The page cannot be found.'
The URL in this browser window URL is way out of wack. An example is:

http://192.168.1.50/catalog/install/://192.168.1.50/catalog/index.php

If I explicitly type into the browser URL:

192.168.1.50/catalog/index.php it pauses for a second or two and then goes into the opening OSC installation Welcome screen.

A little education will be much appreciated!

nevets
09-21-2003, 09:29 PM
I'd highly recommend installing one of the integrated apache/mysql/php packages for windows and not using IIS.

These 2 have both worked well for me:

http://apache2triad.org/

http://www.firepages.com.au/

jpf
09-27-2003, 04:17 PM
I would say you dubbled up soming and was save to BOTH configure.php files.

'http:\\192.168.1.50' and 'https:\\192.168.1.50' should only be listed once.
My "localhost" set from my configure.php files:


define('HTTP_SERVER', 'http://localhost');
define('HTTP_CATALOG_SERVER', 'http://localhost');
define('HTTPS_CATALOG_SERVER', 'https://localhost');
define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module
define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // Or chage to your accual path to your ROOT directory - see below.
// define('DIR_FS_DOCUMENT_ROOT', "/inetpub/wwwroot"); // IE Windows Server
define('DIR_WS_ADMIN', '/catalog/admin/');
define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);
define('DIR_WS_CATALOG', '/catalog/'); // absolute path required
define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);


Change localhost to your IP if you want. And set SSL if you have.