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

configure.php questions

This is a discussion on configure.php questions within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; I need to know if I've set up my configure files correctly. It works ok on my local machine, however ...

      
  1. #1
    Lurker
    Join Date
    Jan 2007
    Posts
    2
    Rep Power
    0


    Unhappy configure.php questions

    I need to know if I've set up my configure files correctly. It works ok on my local machine, however when I upload to my host, I get a few errors. The shipping, payment and order total modules don't look like they are pointed to the right path. I've set up my shop to be available at MyStore.com so I uploaded the files to the root of my site instead of having a catalog folder. I understand I need to change the config files but I don't see where I've screwed up. I am also getting 'catalog images directory does not exist' and I don't know how to fix it.

    admin/includes/configure.php is defined below

    define('HTTP_SERVER', 'http://www.mystore.com'); // eg, cPanel® - should not be empty for productive servers

    define('HTTP_CATALOG_SERVER', 'www.mystore.com');
    define('HTTPS_CATALOG_SERVER', '/');
    define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module
    define('DIR_FS_DOCUMENT_ROOT', 'www.mystore.com/'); // where the pages are located on the server
    define('DIR_WS_ADMIN', '/admin/'); // absolute path required
    define('DIR_FS_ADMIN', '/'); // absolute path required
    define('DIR_WS_CATALOG', '/'); // absolute path required
    define('DIR_FS_CATALOG', 'www.mystore.com/'); // absolute path required
    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/');


    includes/configure.php

    define('HTTP_SERVER', 'http://www.mystore.com'); // eg, cPanel® - should not be empty for productive servers

    define('HTTP_CATALOG_SERVER', 'www.mystore.com');
    define('HTTPS_CATALOG_SERVER', '/');
    define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module
    define('DIR_FS_DOCUMENT_ROOT', 'www.mystore.com/'); // where the pages are located on the server
    define('DIR_WS_ADMIN', '/admin/'); // absolute path required
    define('DIR_FS_ADMIN', '/'); // absolute path required
    define('DIR_WS_CATALOG', '/'); // absolute path required
    define('DIR_FS_CATALOG', 'www.mystore.com/'); // absolute path required
    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/');


    I'd really appreciate any help. Thanks in advance.

  2. #2
    osCMax Developer

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


    Default Re: configure.php questions

    This is incorrect:
    define('HTTP_CATALOG_SERVER', 'www.mystore.com');

    Should be
    define('HTTP_CATALOG_SERVER', '/');
    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

Similar Threads

  1. Configure.php???
    By ltldoc in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 03-20-2006, 08:58 PM
  2. Help configure SSL
    By paulchow2k in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 10-18-2004, 07:06 PM
  3. Configure.php problems
    By h4ppy_girl in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 10-14-2004, 03:48 AM
  4. How to configure SSL?
    By brucek in forum osCommerce 2.2 Installation Help
    Replies: 3
    Last Post: 03-31-2004, 01:30 PM
  5. Configure.php and SSL
    By judoka in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 05-29-2003, 09:14 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
  •