osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #11  
Old 03-07-2004, 04:35 AM
Anonymous
Guest
 
Posts: n/a
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #12  
Old 03-12-2004, 08:10 AM
New Member
 
Join Date: Mar 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jernst
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,
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #13  
Old 03-26-2004, 10:30 AM
Anonymous
Guest
 
Posts: n/a
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 !!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #14  
Old 09-24-2004, 01:46 PM
New Member
 
Join Date: May 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
kjedr
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #15  
Old 09-28-2004, 07:40 PM
909 909 is offline
New Member
 
Join Date: Sep 2004
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
909
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #16  
Old 09-29-2004, 10:11 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,083
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
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 Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #17  
Old 10-04-2004, 08:34 PM
909 909 is offline
New Member
 
Join Date: Sep 2004
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
909
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #18  
Old 10-29-2004, 01:37 AM
New Member
 
Join Date: Jul 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
brough
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 11:50 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax