tim_ver Posted August 10, 2006 Share Posted August 10, 2006 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 More sharing options...
MEDIAZONE Posted August 10, 2006 Share Posted August 10, 2006 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 More sharing options...
tim_ver Posted August 10, 2006 Author Share Posted August 10, 2006 Nope I get this error now: Parse error: syntax error, unexpected '=' in /home/main/public_html/send/Store/Store/product_info.php on line 158 Link to comment Share on other sites More sharing options...
matrix2223 Posted August 11, 2006 Share Posted August 11, 2006 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 More sharing options...
tim_ver Posted August 11, 2006 Author Share Posted August 11, 2006 Ok I am trying to add the More_pics_6 v1.2 For osC 2.2 MS2 mod. Do you use this Matrix? Link to comment Share on other sites More sharing options...
matrix2223 Posted August 11, 2006 Share Posted August 11, 2006 yes this is the one that I use http://www.oscommerce.com/community/contri...ry/search,81715 Link to comment Share on other sites More sharing options...
tim_ver Posted August 11, 2006 Author Share Posted August 11, 2006 Ok thanks. I what to know how to add more images so it shows more then the one I uploaded in admin area. How do I add more and what do I name them ?? Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.