Jump to content

12 steps

Members
  • Content count

    17
  • Joined

  • Last visited

  1. 12 steps

    Store Mode (Open | Closed | Maintenance)

    Thanks Scott. I installed it very carefully. I went into Admin and I don't see it. I see the Store Online: true/false part but I don't see the Store mode to change to maintenance, etc. I looked everywhere in Admin section. Please advise. What didn't I do? In gratitude, Li
  2. 12 steps

    Store Mode (Open | Closed | Maintenance)

    I am SO GRATEFUL you did this addon! I am getting married and need to shut the site down on my honeymoon. I tried to install, but got stuck. There is alot of changed code in my index.php. I tried to locate where in the index.php under Catalog in my site would be what to replace and I can't tell where exactly to paste your addon code. This is the code in my index.php that resembles most what you have in your code to locate and add after: </tr> <tr> <td><table width="443" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="42" class="mid_tab_top_bg01"><div style="margin-left:110px;"><font class="welcome"> <?php echo HEADING_TITLE; ?><?php // optional Product List Filter if (PRODUCT_LIST_FILTER > 0) { if (isset($HTTP_POST_VARS['manufacturers_id'])) { $filterlist_sql = "select distinct c.categories_id as id, cd.categories_name as name from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c, " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where p.products_status = '1' and p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and p2c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "' and p.manufacturers_id = '" . (int)$HTTP_POST_VARS['manufacturers_id'] . "' order by cd.categories_name"; } else { $filterlist_sql= "select distinct m.manufacturers_id as id, m.manufacturers_name as name from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c, " . TABLE_MANUFACTURERS . " m where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and p.products_id = p2c.products_id and p2c.categories_id = '" . (int)$current_category_id . "' order by m.manufacturers_name"; } } this is what comes directly after that code on that page in case I missed the spot to add on the code: // Get the right image for the top-right $image = DIR_WS_IMAGES . 'table_background_list.gif'; if (isset($HTTP_POST_VARS['manufacturers_id'])) { $image = tep_db_query("select manufacturers_image from " . TABLE_MANUFACTURERS . " where manufacturers_id = '" . (int)$HTTP_POST_VARS['manufacturers_id'] . "'"); $image = tep_db_fetch_array($image); $image = $image['manufacturers_image']; } elseif ($current_category_id) { $image = tep_db_query("select categories_image from " . TABLE_CATEGORIES . " where categories_id = '" . (int)$current_category_id . "'"); $image = tep_db_fetch_array($image); $image = $image['categories_image']; } ?> </font></div></td> </tr> <tr> <td class="middle_tab_mid"><table width="423" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td><?php include(DIR_WS_MODULES . FILENAME_PRODUCT_LISTING); ?></td> </tr> </table></td> </tr> <tr> <td height="25" align="left" valign="top"><img src="images/middle_tab1_bottom.gif" alt="" width="443" height="14" /></td> </tr> </table></td> <?php } else { // default page ?> </tr> <tr> <td> <table border="0" width="443" cellspacing="0" cellpadding="0"> <tr> <td class="main"><?php include(DIR_WS_LANGUAGES . $language . '/' . FILENAME_DEFINE_MAINPAGE); ?></td> </tr> <tr> <td> <?php //include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?> <?php include(DIR_WS_MODULES . FILENAME_UPCOMING_PRODUCTS); ?> </td> </tr> </table></td> <?php } ?> </tr> </table></td> <td width="222" align="left" valign="top"> <table border="0" cellspacing="0" cellpadding="2"> <tr><td> <!-- right_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?> <!-- right_navigation_eof //--> </td></tr> </table> </td> </tr> </table> <!-- body //--> <!-- body_eof //--> <!-- footer //--> <?php require(DIR_WS_INCLUDES . 'footer.php'); ?> <!-- footer_eof //--> </body> </html> <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?> Please advise. and THANK YOU in advance. :)
  3. I looked at the htaccess file for clues to what you might have in mind. I did change the folder it related to and that cleaned up the link (before, hovering over the product revealed where it wanted to go and it was not the fixed url - now is (THANK YOU, Amanda) However, STILL not working. Amanda, what do you mean by an endless loop then, what do you think could be wrong and what suggestion do you have for fixing? Anyone have this problem and have ideas?
  4. The page isn't redirecting properly Firefox has detected that the server is redirecting the request for this address in a way that will never complete. * This problem can sometimes be caused by disabling or refusing to accept cookies. ******************************************************************************** ********** Note: Testing this contribution in a subfolder DOES NOT work (at least it didn't on numerous tries on my part). Instead, I used another domain that is not live for a test. Problem: The load is taking forever and then I get the above error message. PLEASE assist! Amanda? Anyone? :sweating:
  5. Ok...the ONLY thing I can think of is that again, it is calling for the wrong folder.....because it is supposed to call for test/catalog not just catalog. Hmmmm. Maybe this function cannot be tested this way. I am going to try ANOTHER install but with ANOTHER domain so it can be at the catalog folder directory level. (Feel like I am talking to myself now....well, eh, it IS late. :blush:
  6. Warning: main(includes/classes/seo.class.php): failed to open stream: No such file or directory in /mnt/w0508/d08/s36/b026c191/www/12stepcds.com/catalog/includes/application_top.php on line 289 Warning: main(): Failed opening 'includes/classes/seo.class.php' for inclusion (include_path='.:/usr/local/nf/lib/php') in /mnt/w0508/d08/s36/b026c191/www/12stepcds.com/catalog/includes/application_top.php on line 289 Fatal error: Cannot instantiate non-existent class: seo_url in /mnt/w0508/d08/s36/b026c191/www/12stepcds.com/catalog/includes/application_top.php on line 292 Help! This is what I get now when I click on a product link! I am using the latest version installed. I also just ran through this contribution support string and I cannot find an answer. Seems many folks had similar probs without reply. I also REINSTALLED, so I am CLUELESS. Please help. Greatly appreciated! :'(
  7. I figured it out! What had happened that was different for me was that I had a higher directory, TEST. So it went mydomain/TEST//catalog/ I had put the htaccess file in the catalog folder as per instructions, but it NEEDED to be in the TEST folder since TEST was inadvertantly the highest directory now. Now, that that is working I see I have a prob with the code for the top.php...but I will reinstall and see if human error is mine here. Thanks for the effort! LOVE this site! :D
  8. I did that. See my original post. No matter which way I did it, it still gave me that error. :huh:
  9. Um....help? Feeling like a redheaded step child o'er here :-"
  10. Hi all. Before I installed the Ult SEO URLs on my site, I created a subfolder and installed a second (test) version of oscommerce on the same domain to make sure I get the (if any) bugs out before I install it on my live shop. I installed it then only on the test version. (I installed version: Ultimate SEO URLs - 2.1d with optional Admin settable Product and Category URLs posted by yesudo on 29 Nov 2006) I can't seem to get outta the gate though because (it seems like) I am stuck trying figure out how to config the htaccess file. The directory is /TEST/catalog/ I have put it in the file like that as well as any and all of the following ways: /test//catalog/ /my domain name/test//catalog/ /my domain name/test/catalog/ /catalog/ No matter what I get the page (in mozilla) Bad Request Your browser sent a request that this server could not understand. WHAT am I doing wrong here? I looked at the url when this error page shows and the url looks great! No ? marks....nice. This error page shows when I click on a product. THANK YOU SO MUCH in advance!!!!
×