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

Win XP Pro Local Host Installation Issue

This is a discussion on Win XP Pro Local Host Installation Issue within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; Sorry in advance for a basic installation issue. I am installing OSC on my local PC for learning, testing, and ...

      
  1. #1
    New Member
    Join Date
    Sep 2003
    Posts
    9
    Rep Power
    0


    Default Win XP Pro Local Host Installation Issue

    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/...alog/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!

  2. #2
    New Member
    Join Date
    Sep 2003
    Posts
    6
    Rep Power
    0


    Default

    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/

  3. #3
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,699
    Rep Power
    22


    Default

    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:

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

Similar Threads

  1. moving to a different host
    By Christy in forum osCmax v2 Installation issues
    Replies: 5
    Last Post: 05-22-2006, 04:46 PM
  2. HOST URL change
    By tonybe33 in forum osCmax v2 Customization/Mods
    Replies: 4
    Last Post: 12-05-2005, 03:49 PM
  3. problems while installing oscommerce on local host
    By digitalmelody in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 12-19-2004, 11:09 PM
  4. Installation Issue
    By GFY in forum osCommerce 2.2 Installation Help
    Replies: 3
    Last Post: 07-23-2003, 09:07 AM
  5. Host' Install
    By unabashed in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 11-13-2002, 07:06 AM

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
  •