Karlin Posted January 23, 2004 Share Posted January 23, 2004 OK, I have a weird one! When cache is turned off, my webpage looks fine. But when I turn cache on, I get stray pound signs (#) on the page itself, not in any boxes. See for yourself here: Karlin Enterprises I would imagine I just have some stray pound signs in some file somewhere, but I have no idea where to look. Any ideas? Link to comment Share on other sites More sharing options...
241 Posted January 23, 2004 Share Posted January 23, 2004 with cache on where is the cache /tmp/ if so are you on a shared server? No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
Karlin Posted January 23, 2004 Author Share Posted January 23, 2004 Hmmm, nevermind. When I opened a fresh browser, the problem went away. Link to comment Share on other sites More sharing options...
Karlin Posted January 23, 2004 Author Share Posted January 23, 2004 Well, whenever I refresh, the stray characters come back. I am on a Unix box, and yes, there are other users on the box. I think I am the only user running the osCommerce shopping cart. I created my own temp directory for the cache, so that directory is not shared. Link to comment Share on other sites More sharing options...
241 Posted January 23, 2004 Share Posted January 23, 2004 they stay with me on refresh and are islated to the left column No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
Karlin Posted January 23, 2004 Author Share Posted January 23, 2004 Yes, they are always on the left side of the page, and in the exact same place regardless of where I go or what I do. Link to comment Share on other sites More sharing options...
241 Posted January 23, 2004 Share Posted January 23, 2004 a side note: is your cache temp folder set chmod 777 what are your sessions set for mysql or tmp folder Back on track: are you using SSL No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
Karlin Posted January 23, 2004 Author Share Posted January 23, 2004 is your cache temp folder set chmod 777 yes what are your sessions set for mysql or tmp folder I am not sure I understand the question, so in an attempt to answer it, here are my sessions setting: Sessions Session Directory /tmp Force Cookie Use False Check SSL Session ID False Check User Agent False Check IP Address False Prevent Spider Sessions True Recreate Session False Session Directory /tmp If this is not the answer you were looking for, please rephrase the question so I can get the right answer to you. Back on track: are you using SSL yes Link to comment Share on other sites More sharing options...
241 Posted January 23, 2004 Share Posted January 23, 2004 Sessions mysql would be found in the configure.php files both of them. do you have all your http cookie and https cookie domain and paths set in catalog/includes/configure.php and these questions are not for market research :P No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
Karlin Posted January 23, 2004 Author Share Posted January 23, 2004 what are your sessions set for mysql or tmp folder for /tmp: found no references for the /tmp directory setting for mysql: define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' do you have all your http cookie and https cookie domain and paths set in catalog/includes/configure.php define('HTTP_COOKIE_DOMAIN', 'www.karlin.com'); define('HTTPS_COOKIE_DOMAIN', 'www.karlin.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); Link to comment Share on other sites More sharing options...
241 Posted January 23, 2004 Share Posted January 23, 2004 just a suggestion: try either define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' or creating a directory for sessions and setting sessions to that directory Session Directory /your directory here No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
Karlin Posted January 23, 2004 Author Share Posted January 23, 2004 Well, neither of those things helped. Any other suggestions? Anyone else? Link to comment Share on other sites More sharing options...
Noobish-n-stuff Posted January 23, 2004 Share Posted January 23, 2004 this might sound dumb, they show up in my browser, but not in the source code. i did notice this: <!-- categories //--> <tr> <td> <table width=120 border=0 cellpadding=0 cellspacing=0> <tr> <td colspan=3> </td> </tr> i'm kinda wondering what the deal is with the <td colspan="3"></td> ?? a cell needs to hold something, right?? Link to comment Share on other sites More sharing options...
241 Posted January 23, 2004 Share Posted January 23, 2004 but also in the view source are the actual # signs themselves <!-- categories_eof //--> <!-- manufacturers //--> <tr> <td> # </td> # </tr> #<!-- manufacturers_eof //--> #<!-- search //--> No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
241 Posted January 23, 2004 Share Posted January 23, 2004 Question how did you comment out the boxes in your column_left.php can you post the code No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
241 Posted January 23, 2004 Share Posted January 23, 2004 could each # represent a box that has been commented out? No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
Noobish-n-stuff Posted January 23, 2004 Share Posted January 23, 2004 from what i can see in the view source, i don't think it's a commenting issue. could be though, it depends on how it was done i guess. have you done a search on this?? i swear i remember seeing something about this a while back. only i think it was /// not ###, if that makes a difference. Link to comment Share on other sites More sharing options...
Karlin Posted January 26, 2004 Author Share Posted January 26, 2004 Here is my includes/column_left.php file: more column_left.php <?php /* $Id: column_left.php,v 1.15 2003/07/01 14:34:54 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_categories_box(); } else { include(DIR_WS_BOXES . 'categories.php'); } if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_manufacturers_box(); } else { // include(DIR_WS_BOXES . 'manufacturers.php'); } require(DIR_WS_BOXES . 'search.php'); require(DIR_WS_BOXES . 'information.php'); ?> From what I can see, there are no stray characters in this file. Could the lines: if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_manufacturers_box(); } else { be causing a problem since they are not commented out, but the line below it is commented out? My intention was to remove the Manufacturer's box from the left column. Should I have commented out all four lines instead of just the one line? Link to comment Share on other sites More sharing options...
241 Posted January 26, 2004 Share Posted January 26, 2004 You have got it in one try this // if ((USE_CACHE == 'true') && empty($SID)) { // echo tep_cache_manufacturers_box();// } else {// include(DIR_WS_BOXES . 'manufacturers.php'); // } this = 4 # No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
Karlin Posted January 26, 2004 Author Share Posted January 26, 2004 That did the trick! Thank you so much! All pound signs are gone from the web pages! Oh yeah!!! :) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.