Jump to content


  • Content count

  • Joined

  • Last visited

Profile Information

  • Real Name
    Alan Keogh
  1. keo77

    Get 1 Free

    I have had a look at the use.txt file but I am unable to carry out any of the tasks as when I am in the admin console and have clicked on Catalog & Get 1 Free all I get is the following message: 1146 - Table 'hoopsdir_i497osc.get_1_free' doesn't exist select count(*) as total from products p, get_1_free g1f, products_description pd where p.products_id = pd.products_id and pd.language_id = '1' and p.products_id = g1f.products_id [TEP STOP] I was presuming that this was happening as I had not set up the table? im a bit of a newbie to this so I've never had to set up a new table before. Im a bit confused as to what to do with the get_1_free SQL File.
  2. keo77

    Get 1 Free

    I have installed the get 1 free contribution but I dont know how to set up the new table is this done in the oscommerce admin console, or outside?
  3. I am having problems with my categories.php after installing the header tags controller, when i try to use the categories panel on my admin panel i get the following error. Parse error: parse error, unexpected T_CASE in mysite.com/catalogue/admin/categories.php on line 998 line 998: case 'edit_category' (in Green) I inserted the requested script around line 992 (in Red) according to the Install_Admin instructions that came with the contribution but this line is part of the original script, am i missing something? $contents[] = array('text' => '<br>' . TEXT_CATEGORIES_NAME . $category_inputs_string); $contents[] = array('text' => '<br>' . TEXT_CATEGORIES_IMAGE . '<br>' . tep_draw_file_field('categories_image')); $contents[] = array('text' => '<br>' . TEXT_SORT_ORDER . '<br>' . tep_draw_input_field('sort_order', '', 'size="2"')); // HTC BOC $contents[] = array('text' => '<br>' . 'Header Tags Category Title' . $category_htc_title_string); $contents[] = array('text' => '<br>' . 'Header Tags Category Description' . $category_htc_desc_string); $contents[] = array('text' => '<br>' . 'Header Tags Category Keywords' . $category_htc_keywords_string); $contents[] = array('text' => '<br>' . 'Header Tags Categories Description' . $category_htc_description_string); // HTC EOC $contents[] = array('align' => 'center', 'text' => '<br>' . tep_image_submit('button_save.gif', IMAGE_SAVE) . ' <a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath) . '">' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>'); break; case 'edit_category': $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_EDIT_CATEGORY . '</b>'); $contents = array('form' => tep_draw_form('categories', FILENAME_CATEGORIES, 'action=update_category&cPath=' . $cPath, 'post', 'enctype="multipart/form-data"') . tep_draw_hidden_field('categories_id', $cInfo->categories_id)); $contents[] = array('text' => TEXT_EDIT_INTRO);