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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#11
| |||
| |||
| 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 |
| Sponsored Links | ||
| ||
|
#12
| |||
| |||
| 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, |
|
#13
| |||
| |||
| 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 !! |
|
#14
| |||
| |||
| 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. |
|
#15
| |||
| |||
| 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. |
|
#16
| ||||
| ||||
| 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
|
|
#17
| |||
| |||
| got it, thanks for the correct pointer. I did all of that and completely have lost cats on http or secure pages Thanks for any direction you guys can give me. BTW, i'm using the aabox template. |
|
#18
| |||
| |||
| 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 |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Manufacturer to show in meta tag on product pages? | JonCloud420 | osCMax v2 Customization/Mods | 0 | 08-29-2006 03:52 PM |
| USPS shipping module not working, doesnt show up before paym | Redeye_Joe | osCMax v2 Features Discussion | 12 | 02-26-2006 09:02 PM |
| extra pages mod - doesnt resemble main pages | battleaxe | osCMax v1.7 Discussion | 3 | 11-05-2004 06:32 AM |
| Want to show categories AND sub categories in index.php!! | calle | osCommerce 2.2 Modification Help | 0 | 10-27-2004 12:51 PM |
| CATEGORIES BOX does not display categories list | glk | osCMax v1.7 Discussion | 2 | 03-05-2004 11:09 AM |