seg Posted March 6, 2006 Posted March 6, 2006 Hi, I am operating osComerce 2.2 MS2 and I tried installing the Extra Images contribution: http://www.oscommerce.com/community/contributions,1289/ The install was pretty straight forward, except there was a discrepancy in the very last installation instruction. /catalog/product_info.php Find : <td align="center" class="smallText"><?php echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?></td> </tr> <?php } else { After Add : if (DISPLAY_EXTRA_IMAGES == 'true'){ if ($product_check['total'] >= 1) { include (DIR_WS_INCLUDES . 'products_extra_images.php'); } } My install doesn't have a catalog directory (installed from fantastico) and the product_info.php is slightly different: <?php } else { ?> <tr> <td align="center" class="smallText"><?php echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?></td> </tr> <?php } ?> So added it like this: <?php } else { if (DISPLAY_EXTRA_IMAGES == 'true'){ if ($product_check['total'] >= 1) { include (DIR_WS_INCLUDES . 'products_extra_images.php'); } } ?> <tr> <td align="center" class="smallText"><?php echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?></td> </tr> <?php } ?> Sorry for the long description ... on to my problem. I am getting the error: 1146 - Table 'XXXXXXXX_XXXX.TABLE_PRODUCTS_EXTRA_IMAGES' doesn't exist SELECT products_extra_image, products_extra_images_id FROM TABLE_PRODUCTS_EXTRA_IMAGES WHERE products_id='154' [TEP STOP] I have checked my database and the table is fully intact, nothing above is missing. Has anyone seen this error? Any help would be greatly appreciated. Thanks! Quote
seg Posted March 6, 2006 Author Posted March 6, 2006 (edited) Correction .... error message still occuring. The last instruction should be: /catalog/product_info.php Find : <td align="center" class="smallText"><?php echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?></td> </tr> <?php } After Add : if (DISPLAY_EXTRA_IMAGES == 'true'){ if ($product_check['total'] >= 1) { include (DIR_WS_INCLUDES . 'products_extra_images.php'); } } This instruction seems to be wrong in the file uploaded by sebastic. Edited March 6, 2006 by seg Quote
seg Posted March 8, 2006 Author Posted March 8, 2006 I went through the intructions again and found that I accidentally skiped over an instruction. Everything is now working well. Posted install.txt fix to contribution page. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.