Guest Posted March 2, 2006 Share Posted March 2, 2006 Hello everybody, following problem is near about to reduce me to despair. Please spare me that. ;-) instructions say: /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'); } } my code now looks like this: <tr> <td align="center" class="smallText"><?php echo sprintf(TEXT_DATE_AVAILABLE, tep_date_long($product_info['products_date_available'])); ?></td> </tr> <?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 } if (DISPLAY_EXTRA_IMAGES == 'true'){ if ($product_check['total'] >= 1) { include (DIR_WS_INCLUDES . 'products_extra_images.php'); } } ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> When I want to see product details I get following error: Warning: main(includes/products_extra_images.php): failed to open stream: No such file or directory in /var/www/vhosts/web101/html/www/soundsgood/catalog/product_info.php on line 204 Warning: main(): Failed opening 'includes/products_extra_images.php' for inclusion (include_path='.') in /var/www/vhosts/web101/html/www/soundsgood/catalog/product_info.php on line 204 I bet it is a tiny, stupid error that makes you grin yet I simply cannot find it. :-( Quote Link to comment Share on other sites More sharing options...
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.