Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

batchos

Pioneers
  • Posts

    8
  • Joined

  • Last visited

Everything posted by batchos

  1. Here an update on this post: There was no problem with the changes made to the code. After pulling my hair out, I went back to the Fill Tags option and checked the 'Fill only Empty Tags boxes'. I ran the Test again and the error message disappeared forever, I hope. I trust this was a safe way to fix the problem. Thanks batchos
  2. Okay, I guess you are talking about the clean install folder. Thanks for your help. I'll will use WinMerge to find the syntax error. batchos
  3. I did read the trouble shooting section but didn't understand your reference to an archive "here". Did you mean to include a hyperlink? Thanks batchos
  4. Hi Jack, This looks like a very useful contribution. I managed to get it installed thanks to the newbie friendly documentation. I ran the test and have one syntax error which I cannot seem to fix. Parse error: syntax error, unexpected '}' in /home/alarmvib/public_html/admin/categories.php on line 845 When I remove the likely '}', I get this error: Parse error: syntax error, unexpected T_ELSEIF in /home/alarmvib/public_html/admin/categories.php on line 846 --------------------- This is the code from the Install_Admin.txt file: FIND (around line 831): <?php } elseif ($action == 'new_product_preview') { $product_query = tep_db_query("select p.products_id, pd.language_id, pd.products_name, pd.products_description, pd.products_url, p.products_quantity, p.products_model, p.products_image, p.products_price, p.products_weight, p.products_date_added, p.products_last_modified, p.products_date_available, p.products_status, p.manufacturers_id from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_id = pd.products_id and p.products_id = '" . (int)$HTTP_GET_VARS['pID'] . "'"); REPLACE WITH: <?php /*** Begin Header Tags SEO ***/ ?> <?php } elseif ($action == 'new_product_preview') { $product_query = tep_db_query("select p.products_id, pd.language_id, pd.products_name, pd.products_description, pd.products_head_title_tag, pd.products_head_desc_tag, pd.products_head_keywords_tag, pd.products_url, p.products_quantity, p.products_model, p.products_image, p.products_price, p.products_weight, p.products_date_added, p.products_last_modified, p.products_date_available, p.products_status, p.manufacturers_id from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_id = pd.products_id and p.products_id = '" . (int)$HTTP_GET_VARS['pID'] . "'"); /*** End Header Tags SEO ***/ =============================================== Here is Header Tags code included with some lines above: <script type="text/javascript"> $('#products_date_available').datepicker({ dateFormat: 'yy-mm-dd' }); </script> </form> <?php /*** Begin Header Tags SEO ***/ ?> <?php } elseif ($action == 'new_product_preview') { $product_query = tep_db_query("select p.products_id, pd.language_id, pd.products_name, pd.products_description, pd.products_head_title_tag, pd.products_head_desc_tag, pd.products_head_keywords_tag, pd.products_url, p.products_quantity, p.products_model, p.products_image, p.products_price, p.products_weight, p.products_date_added, p.products_last_modified, p.products_date_available, p.products_status, p.manufacturers_id from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_id = pd.products_id and p.products_id = '" . (int)$HTTP_GET_VARS['pID'] . "'"); /*** End Header Tags SEO ***/ $product = tep_db_fetch_array($product_query); $pInfo = new objectInfo($product); $products_image_name = $pInfo->products_image; Looking forward to a fix. Thanks batchos
  5. Well, that explains why I can't install this plugin and others with 2.3.1, or have to use a work-a-round. I look forward to receiving the version that's compatible with 2.3.1 Thanks, Jack
×
×
  • Create New...