Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

(slight ?) problem with contribution "Extra_images"


Guest

Recommended Posts

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. :-(

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...