Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Parse error in product_info.php


tim_ver

Recommended Posts

I am getting this error in my product_info.php page.

 

Error is: Parse error: syntax error, unexpected $end in /home/main/public_html/send/Store/product_info.php on line 375

 

 

Line 375 is blank.

 

 

I did delete this line then all is fine But I need this line:

 

if (tep_not_null($product_info['products_image']) && MOPICS_GROUP_WITH_PARENT == 'false') {

 

Ideas?

 

Thanks

Link to comment
Share on other sites

I am getting this error in my product_info.php page.

 

Error is: Parse error: syntax error, unexpected $end in /home/main/public_html/send/Store/product_info.php on line 375

Line 375 is blank.

I did delete this line then all is fine But I need this line:

 

if (tep_not_null($product_info['products_image']) && MOPICS_GROUP_WITH_PARENT == 'false') {

 

Ideas?

 

Thanks

 

 

f (tep_not_null($product_info['products_image']) && MOPICS_GROUP_WITH_PARENT = 'false') {

Many Thanks

 

Simon

Your Media Zone

 

Remember to ALWAYS BACKUP

Life is like box of chocs - You never know what your gonna get!

Do you feel lucky punk? Well do ya!

P-A-R-T WHY COS I GOTTA!

Link to comment
Share on other sites

This is what you should have from line 133 to 137

 

$mopics_images = array();
  if (tep_not_null($product_info['products_image']) && MOPICS_GROUP_WITH_PARENT == 'true') { $mopics_images[] = $product_info['products_image']; }
  for ( $mo_item=1; $mo_item<7; $mo_item++ ) {
	if (tep_not_null($product_info['products_subimage'.$mo_item])) { $mopics_images[] = $product_info['products_subimage'.$mo_item]; }
  }

 

Eric

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...