Results 1 to 5 of 5

Please check my Admin Config.php file?

This is a discussion on Please check my Admin Config.php file? within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; Can someone please check my Admin Config file? I am having trouble in 3 areas: 1. module directories are shown ...

      
  1. #1
    Lurker
    Join Date
    Jun 2004
    Posts
    3
    Rep Power
    0


    Default Please check my Admin Config.php file?

    Can someone please check my Admin Config file?
    I am having trouble in 3 areas:
    1. module directories are shown while trying to install (click button "install" nothing happens path is just displayed)
    2. Error: Catalog images directory does not exist: web/catalog/images/
    3. Error: Backup directory does not exist. Please set this in configure.php.

    Running on a windows server 2003 platform IIS
    ****=password and username

    Permissions have been checked and set to read & write
    Many Thanks......


    // define our webserver variables
    // FS = Filesystem (physical)
    // WS = Webserver (virtual)
    define('HTTP_SERVER', 'http://mystore.com/web/catalog/'); // eg, http://localhost or - https://localhost should not be NULL for productive servers
    define('HTTP_CATALOG_SERVER', 'http://mystore.com/web/catalog/');
    define('HTTPS_CATALOG_SERVER', 'https://mystore.com/web/catalog/');
    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 . 'web/catalog/admin/');
    define('DIR_WS_CATALOG', 'web/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/');

    // define our database connection
    define('DB_SERVER', '127.0.0.1');
    define('DB_SERVER_USERNAME', '*******');
    define('DB_SERVER_PASSWORD', '*******');
    define('DB_DATABASE', 'database');
    define('USE_PCONNECT', 'false');
    define('STORE_SESSIONS', 'mysql');
    ?>

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


    Default

    You have uploaded all files to /web/catalog????

    Upload all file (make sure all are uploaded) to say /catalog then you should be able to open your bowser and start the install.

    http://mystore.com/catalog/install/index.php

    if nothing happens then you -a)uploaded to the wrong dir. c)Permissions wrong. d)put in the wrong URL of the install file.

    For Window based servers - if you did NOT FTP the files but CUT'N PASTED them in from a NON-WEB directory on a NTFS based drive then you may have problems with NT-File based Security. See other posts here on the "IUSR".
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

  3. #3
    Lurker
    Join Date
    Jun 2004
    Posts
    3
    Rep Power
    0


    Default

    No the install went fine. Yes uploaded the files to web/catalog/. THose are the errors I am getting while in the Admin. I cannot install any modules, which is my main concern at this point. The other errors I think have to do with with a similar problem. Its a IIS6 also.
    Thanks for any help anyoe can provide.
    THANKS,
    Chad

  4. #4
    Lurker
    Join Date
    Jun 2004
    Posts
    3
    Rep Power
    0


    Default

    And yes used flashFXP to upload files

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


    Default

    How could I miss this.... Your http server and your working directory - both have the same PATH - DUPLICATED!

    IE:

    define('HTTP_SERVER', 'http://mystore.com/web/catalog/');
    define('HTTP_CATALOG_SERVER', 'http://mystore.com/web/catalog/');
    define('HTTPS_CATALOG_SERVER', 'https://mystore.com/web/catalog/');
    ...
    define('DIR_WS_ADMIN', 'admin/');
    define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . 'web/catalog/admin/');
    define('DIR_WS_CATALOG', 'web/catalog/');

    S/B

    define('HTTP_SERVER', 'http://mystore.com/');
    define('HTTP_CATALOG_SERVER', 'http://mystore.com/');
    define('HTTPS_CATALOG_SERVER', 'https://mystore.com/');
    ...
    define('DIR_WS_ADMIN', 'web/catalog/admin/');
    define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);
    define('DIR_WS_CATALOG', 'web/catalog/');


    There is no:
    http://mystore.com/web/catalog/web/catalog/admin....etc...

    Good Luck

Similar Threads

  1. Able to write to config file - after a few months I get this
    By ozstar in forum osCmax v2 Installation issues
    Replies: 3
    Last Post: 10-16-2005, 11:27 AM
  2. Admin ONLY for Cash or Check Purchase
    By JRiley in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 11-17-2004, 03:47 PM
  3. Shipping Config...
    By operadivamommy in forum osCmax v1.7 Discussion
    Replies: 4
    Last Post: 09-29-2004, 04:16 PM
  4. Admin File Access Questions?
    By Kristine in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 04-28-2004, 08:40 AM
  5. Where is? the config file for your sql database?
    By annea03 in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 09-02-2003, 09:16 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
  •