Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

What does this error message mean


websta

Recommended Posts

What does this error message mean, appearing at the top of product pages:

 

/* // Get the right image for the top-right $image = DIR_WS_IMAGES . 'table_background_list.gif'; if (isset($HTTP_GET_VARS['manufacturers_id'])) { $image = tep_db_query("select manufacturers_image from " . TABLE_MANUFACTURERS . " where manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "'"); $image = tep_db_fetch_array($image); $image = $image['manufacturers_image']; } elseif ($current_category_id) { $image = tep_db_query("select categories_image from " . TABLE_CATEGORIES . " where categories_id = '" . (int)$current_category_id . "'"); $image = tep_db_fetch_array($image); $image = $image['categories_image']; }

Link to comment
Share on other sites

It isn't an error message as such, it is code output that shouldn't be there.

 

It looks like you have added a block quote sign /*. Try removing it in catalog/index.php

 

Thanks for your help. Just removing the /* left the rest in, so I took out all the text, lost the top right images, and the site (in my case) is better for it. Thanks again. :)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...