Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING


genata93

Recommended Posts

Hi !

I am getting very weird error on some of my pages. This is it->

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in .../includes/modules/featured.php on line 111

 

and this is the line 111 of the code

'text' => '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $featured_products['products_id']) . '">' . tep_image(DIR_WS_IMAGES '/images' . $featured_products['products_image'], $featured_products['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $featured_products['products_id']) . '">' . $featured_products['products_name'] . '</a><br>' . $products_price);

 

The code works fine when there are no subcategories displayed on the page. But if i click on a category that has subcategories I am getting this error. I would appreciate some help figuring this out. Thank you.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...