Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

product categories list doesnt show up in non ssl pages

This is a discussion on product categories list doesnt show up in non ssl pages within the osCmax v1.7 Discussion forums, part of the osCmax v1.7 Forums category; ok i also had this problem with the categories not showing up in NONSSL mode when the cache was turned ...

      
  1. #11
    Anonymous
    Guest


    Default

    ok i also had this problem with the categories not showing up in NONSSL mode when the cache was turned on.......for me the solution was not to turn it off but to find out why..

    Has somethign to do with the subdomain (for me anyways)

    The FIx:
    (because people should always post what the fix is not just "thanks no help need now as i found a solution"- I hate seeing that without a solution post)


    // Define the webserver and path parameters
    // * DIR_FS_* = Filesystem directories (local/physical)
    // * DIR_WS_* = Webserver directories (virtual/URL)
    define('HTTP_SERVER', 'http://hydroponic.medical-marijuana-system.com'); // eg, http://localhost - should not be empty for productive servers
    define('HTTPS_SERVER', 'https://www2.securevaults.com/~mms1web/hydroponic'); // eg, https://localhost - should not be empty for productive servers
    define('ENABLE_SSL', true); // secure webserver for checkout procedure?
    // changing this solved the categories cache problem
    // define('HTTP_COOKIE_DOMAIN', 'hydroponic.medical-marijuana-system.com');
    define('HTTP_COOKIE_DOMAIN', 'www.medical-marijuana-system.com/hydroponic');
    // end of change
    define('HTTPS_COOKIE_DOMAIN', 'www2.securevaults.com/~mms1web/hydroponic');
    define('HTTP_COOKIE_PATH', '/');
    define('HTTPS_COOKIE_PATH', '/');
    define('DIR_WS_HTTP_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');
    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
    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/');

    Regards
    crshNbrn

    hope it works for others

  2. #12
    New Member
    Join Date
    Mar 2004
    Posts
    5
    Rep Power
    0


    Default

    Thanks for this hint but unfortunately it doesn't help here...

    I really thnik that caching could speed up things a bit but caching works only with manufacturer box and not with categories.

    I looked into the code and it seems the problem is that when writing to the cache file only the header and footer of the box are written (not the categories themselves).

    Do someone know how to fix it ?

    thanks,

  3. #13
    Anonymous
    Guest


    Default

    I find a solution for the cache problem with the categories box, i change the code in /catalog/includes/functions/cache.php

    find this line

    function tep_cache_categories_box($auto_expire = false, $refresh = false) {
    global $cPath, $language, $languages_id, $tree, $cPath_array, $categories_string, $cat_name;

    change to:

    function tep_cache_categories_box($auto_expire = false, $refresh = false) {
    global $cPath, $language, $languages_id, $tree, $cPath_array, $categories_string, $cat_name, $boxContent;

    thats all !!

  4. #14
    New Member
    Join Date
    May 2004
    Posts
    7
    Rep Power
    0


    Default

    Thanks Guest!

    Adding that code to the line did the trick for me! After resetting the cache all cats show up fine now.
    I hope this cache will improve speed.

    Regards!
    Erwin.

  5. #15
    909
    909 is offline
    New Member
    Join Date
    Sep 2004
    Posts
    15
    Rep Power
    0


    Default

    I am also having the same problem. Shows on SSL pages but not on the non ssl. Can someone tell me where the info crshNbrn posted is supposed to be located? I have a helluva time finding these things so please post the path/filename if you're going to post code. Thanx.

  6. #16
    osCMax Developer

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


    Default

    909 look 2 posts up from yours. The exact file path/name and the exact line of code is given.

    crshnbrn's is not a solution, but a workaround. His workaround is in the catalog/includes/configure.php file. The fix is posted by guest 2 up from your post....
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    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

  7. #17
    909
    909 is offline
    New Member
    Join Date
    Sep 2004
    Posts
    15
    Rep Power
    0


    Default

    got it, thanks for the correct pointer. I did all of that and completely have lost cats on http or secure pages so I reloaded the default/dhtml/cool menu files back up to the server to see if something was corrupt or screwed there, still no go... I then switched from DHTML to coolmenu in the admin console and managed to get cats back, problem is, they are at the top of the page and left of the header...... damn!!! Can someone help me get this fixed? the site is www.909industries.com/catalog

    Thanks for any direction you guys can give me. BTW, i'm using the aabox template.

  8. #18
    New Member
    Join Date
    Jul 2004
    Posts
    5
    Rep Power
    0


    Default

    I tried changing /catalog/includes/functions/cache.php as suggested above, but it did not work. My pages are all nonssl.
    There is more information on the cache here: http://forums.oscommerce.com/index.php?showtopic=70820

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Manufacturer to show in meta tag on product pages?
    By JonCloud420 in forum osCmax v2 Customization/Mods
    Replies: 0
    Last Post: 08-29-2006, 03:52 PM
  2. USPS shipping module not working, doesnt show up before paym
    By Redeye_Joe in forum osCMax v2 Features Discussion
    Replies: 12
    Last Post: 02-26-2006, 09:02 PM
  3. extra pages mod - doesnt resemble main pages
    By battleaxe in forum osCmax v1.7 Discussion
    Replies: 3
    Last Post: 11-05-2004, 06:32 AM
  4. Want to show categories AND sub categories in index.php!!
    By calle in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 10-27-2004, 12:51 PM
  5. CATEGORIES BOX does not display categories list
    By glk in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 03-05-2004, 11:09 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
  •