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

dir_ws_http_catalog - where is this defined in osCMax v2.0.15

This is a discussion on dir_ws_http_catalog - where is this defined in osCMax v2.0.15 within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; My site stopped working because the navigation is now flawed. The content is there as before. I get the error ...

      
  1. #1
    New Member cse709's Avatar
    Join Date
    Oct 2007
    Location
    Northern NJ
    Posts
    20
    Rep Power
    0


    Default dir_ws_http_catalog - where is this defined in osCMax v2.0.15

    My site stopped working because the navigation is now flawed. The content is there as before. I get the error that the browser cannot find:

    my_web_site.comdir_ws_http_catalogindex.php

    It works fine when I manually insert /catalog/ for dir_ws_http_catalog in the browser. Therefore I am assuming the definition is missing. I get similar results when I try to checkout and get a similar error that the file was not found:

    my_web/catalog/HTTPS_SERVERDIR_WS_HTTPS_CATALOGcheckout_shipping. php

    Where is dir_ws_http_catalog defined in osCMax v2.0.15
    Last edited by cse709; 07-12-2010 at 09:30 AM. Reason: additional information

  2. #2
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,678
    Rep Power
    49


    Smile Re: dir_ws_http_catalog - where is this defined in osCMax v2.0.15

    Look in catalog/includes/configure.php

    Regards,
    pgmarshall
    _______________________________

  3. #3
    New Member cse709's Avatar
    Join Date
    Oct 2007
    Location
    Northern NJ
    Posts
    20
    Rep Power
    0


    Default Re: dir_ws_http_catalog - where is this defined in osCMax v2.0.15

    I started looking there: catalog/includes/configure.php

    That is where I started. I see no definitions for dir_ws_http_catalog in the current configure.php (although there was such a line in a previous version of osCMax).

    Here is my file:
    <?php
    /*
    osCMax v2.0, Open Source E-Commerce Solutions
    osCommerce Documentation by OSCdox :: osCommerce and osCMax documentation

    Copyright 2008 osCMax, 2008 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://closeknityarns.com');
    define('HTTP_CATALOG_SERVER', 'http://closeknityarns.com');
    define('HTTPS_CATALOG_SERVER', 'https://secure31.encrypted-secure.com/~closekni');
    define('ENABLE_SSL_CATALOG', 'true');
    define('DIR_FS_DOCUMENT_ROOT', '/home/closekni/public_html/catalog/');
    define('DIR_WS_ADMIN', '/catalog/admin/');
    define('DIR_FS_ADMIN', '/home/closekni/public_html/catalog/admin/');
    define('DIR_WS_CATALOG', '/catalog/');
    define('DIR_FS_CATALOG', '/home/closekni/public_html/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('DIR_FCKEDITOR', DIR_FS_CATALOG . 'FCKeditor/');
    define('DIR_WS_FCKEDITOR', DIR_WS_CATALOG . 'FCKeditor/');

    // define our database connection
    define('DB_SERVER', 'xxxx');
    define('DB_SERVER_USERNAME', 'xxxx');
    define('DB_SERVER_PASSWORD', 'xxxxx');
    define('DB_DATABASE', 'xxxx');
    define('USE_PCONNECT', 'false');
    define('STORE_SESSIONS', 'mysql');
    ?>
    The navigation for the Admin Panel works fine.
    Last edited by cse709; 07-12-2010 at 09:48 AM. Reason: Removed passwords for database.

  4. #4
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    3,014
    Rep Power
    36


    Default Re: dir_ws_http_catalog - where is this defined in osCMax v2.0.15

    You have case issues: that definition should be in upper case; DIR_WS_HTTP_CATALOG
    Enable template switching in Admin and try
    Close Knit :, to rule out a template issue.
    Hosting plans with installation, configuration, contributions, support and maintenance.

  5. #5
    New Member cse709's Avatar
    Join Date
    Oct 2007
    Location
    Northern NJ
    Posts
    20
    Rep Power
    0


    Default Re: dir_ws_http_catalog - where is this defined in osCMax v2.0.15

    I already tried switching to the fallback template with the same result. The config.php file is in caps (although the subject of the posting is not). I noticed that the file for osCMax v2.0.15 is copyrighted 2008 and had no instruction for DIR_WS_HTTP_CATALOG, (instead it has and a previous version is copywighted 2006 and does have such an entry.

  6. #6
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,678
    Rep Power
    49


    Smile Re: dir_ws_http_catalog - where is this defined in osCMax v2.0.15

    Have you changed anything in the breadcrumb.php in classes folder?

    Regards,
    pgmarshall
    _______________________________

  7. #7
    New Member cse709's Avatar
    Join Date
    Oct 2007
    Location
    Northern NJ
    Posts
    20
    Rep Power
    0


    Default Re: dir_ws_http_catalog - where is this defined in osCMax v2.0.15

    I made no changes to ../includes/breadcrumb.php. I replaced it with an original just in case with no change.

    Another idea: where do the values for

    . "define('DIR_WS_CATALOG', '/catalog/');"
    get converted into
    . "dir_ws_http_catalog"

    which seems to combine the server address with the catalog address in Max 2.0.15

    OR: can I reinstall the catalog and keep all the product information already created? I guess I would then have to reset all the admin settings. Is that right?
    Last edited by cse709; 07-12-2010 at 12:50 PM. Reason: more ideas

  8. #8
    osCMax Developer

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


    Default Re: dir_ws_http_catalog - where is this defined in osCMax v2.0.15

    Your problem was that you had used the admin/includes/configure.php on the catalog side. They are not interchangeable. The catalog configure.php is completely different than the admin configure.php file.
    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. styles-sheet defined
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 02-22-2007, 07:50 PM
  2. javascript for coupon info not defined
    By kjedr in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 01-22-2005, 08:31 PM
  3. Which file is OSCMAX_top defined
    By Astro in forum osCMax v1.7 Installation
    Replies: 1
    Last Post: 10-03-2004, 05:22 PM
  4. where is web_site_tagline defined?
    By MikeF in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 10-17-2003, 04:29 AM
  5. Where are these defined???
    By ladykeetes in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 12-28-2002, 01:34 PM

Tags for this Thread

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
  •