sumfun1 Posted December 6, 2004 Posted December 6, 2004 My site issite The problem I am having is that when you click on all main categories, you get a bunch of n's in a row before you see the products. These weren't here before but when I did a test buy of the products, they showed up and are there everytime I look at a category heading. Its only on the main category pages. ie: giftware, cvollectables etc. Where can I go to get rid of them? vdeck did the automatic install of this shopping cart. shopping card address Thanks Sumfun
boxtel Posted December 6, 2004 Posted December 6, 2004 My site issite The problem I am having is that when you click on all main categories, you get a bunch of n's in a row before you see the products. These weren't here before but when I did a test buy of the products, they showed up and are there everytime I look at a category heading. Its only on the main category pages. ie: giftware, cvollectables etc. Where can I go to get rid of them? vdeck did the automatic install of this shopping cart. shopping card address Thanks Sumfun <{POST_SNAPBACK}> I don't see this. Treasurer MFC
♥Vger Posted December 6, 2004 Posted December 6, 2004 Neither do I. But I wouldn't do business with any website that didn't use ssl to protect my Login, Customer Account details, Shopping Cart and Credit/Debit Card details. Vger
241 Posted December 6, 2004 Posted December 6, 2004 ISSUE: Display shows the 'n' character in index page when categories are selected. You have edited the index.php using the online file manager which has removed the \ backslashes from the code, this is a known issue with using the file manager to edit files, it is better to use an ftp program such as ws_ftp to download the file and edit it locally then ftp back to the server. FIX: To fix this issue you will need to find the 4 instances of "n"; on your index.php and change them to "\n"; around line #104 look for this code while ($categories = tep_db_fetch_array($categories_query)) { $rows++; $cPath_new = tep_get_path($categories['categories_id']); $width = (int)(100 / MAX_DISPLAY_CATEGORIES_PER_ROW) . '%'; echo ' <td align="center" class="smallText" width="' . $width . '" valign="top"><a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . tep_image(DIR_WS_IMAGES . $categories['categories_image'], $categories['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '<br>' . $categories['categories_name'] . '</a></td>' . "n"; if ((($rows / MAX_DISPLAY_CATEGORIES_PER_ROW) == floor($rows / MAX_DISPLAY_CATEGORIES_PER_ROW)) && ($rows != $number_of_categories)) { echo ' </tr>' . "n"; echo ' <tr>' . "n"; } } change to this while ($categories = tep_db_fetch_array($categories_query)) { $rows++; $cPath_new = tep_get_path($categories['categories_id']); $width = (int)(100 / MAX_DISPLAY_CATEGORIES_PER_ROW) . '%'; echo ' <td align="center" class="smallText" width="' . $width . '" valign="top"><a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . tep_image(DIR_WS_IMAGES . $categories['categories_image'], $categories['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '<br>' . $categories['categories_name'] . '</a></td>' . "\n"; if ((($rows / MAX_DISPLAY_CATEGORIES_PER_ROW) == floor($rows / MAX_DISPLAY_CATEGORIES_PER_ROW)) && ($rows != $number_of_categories)) { echo ' </tr>' . "\n"; echo ' <tr>' . "\n"; } } and then around line #256 look for this code while ($filterlist = tep_db_fetch_array($filterlist_query)) { $options[] = array('id' => $filterlist['id'], 'text' => $filterlist['name']); } echo tep_draw_pull_down_menu('filter_id', $options, (isset($HTTP_GET_VARS['filter_id']) ? $HTTP_GET_VARS['filter_id'] : ''), 'onchange="this.form.submit()"'); echo '</form></td>' . "n"; } } and change to this while ($filterlist = tep_db_fetch_array($filterlist_query)) { $options[] = array('id' => $filterlist['id'], 'text' => $filterlist['name']); } echo tep_draw_pull_down_menu('filter_id', $options, (isset($HTTP_GET_VARS['filter_id']) ? $HTTP_GET_VARS['filter_id'] : ''), 'onchange="this.form.submit()"'); echo '</form></td>' . "\n"; } } 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.
Guest Posted December 6, 2004 Posted December 6, 2004 Steve's post is also in the KB at the following link: http://www.oscommerce.info/kb/osCommerce/Common_Problems/212 . -jared
sumfun1 Posted December 19, 2004 Author Posted December 19, 2004 Steve's post is also in the KB at the following link: http://www.oscommerce.info/kb/osCommerce/Common_Problems/212 . -jared <{POST_SNAPBACK}> Yes I have read on and Have fixed the problem. I than kyou all for your help. If it wasn't for people like you some of us would be lost. Happy holidays and god bless sumfun
sumfun1 Posted December 19, 2004 Author Posted December 19, 2004 Neither do I. But I wouldn't do business with any website that didn't use ssl to protect my Login, Customer Account details, Shopping Cart and Credit/Debit Card details. Vger When you check out you are redirected to a secure ssl. which gets your personal business information. You direct information to join is secure, but your check out is ssl certified. Sumfun
Recommended Posts
Archived
This topic is now archived and is closed to further replies.