Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Easy Populate multiple images problem


melveile

Recommended Posts

I installed EP and it worked fine until i had to install 3 image contribution. Now I have 3 variables in my SQL database:

 

products_image

products_mediumimage

products_largeimage

 

 

I followed EP instructions and uncommented the lines with the "biimage" variables.

 

I get the following error:

 

Parse error: parse error, unexpected '.' in /usr/local/psa/home/vhosts/my site.com/httpdocs/catalog/admin/easypopulate.php on line 1683

 

this is the code for it: (line 1683 is the one that says:

$query .= . $v_products_mimage . '", "')

 

 	 // unmcomment these lines if you are running the image mods
	 
   $query .=	. $v_products_mimage . '", "'
    	 . $v_products_bimage . '", "'
    	 . $v_products_subimage1 . '", "'
    	 . $v_products_bsubimage1 . '", "'
    	 . $v_products_subimage2 . '", "'
    	 . $v_products_bsubimage2 . '", "'
    	 . $v_products_subimage3 . '", "'
    	 . $v_products_bsubimage3 . '", "'
	 
	 $query .="    '$v_products_model',
       '$v_products_price',
       '$v_db_status',
       CURRENT_TIMESTAMP,
       $v_date_added,
       $v_date_avail,
       '$v_tax_class_id',
       '$v_products_weight',
       '$v_products_quantity',
       '$v_manufacturer_id')
    	 ";
   $result = tep_db_query($query);
 } else {
	 // existing product, get the id from the query

 

I don't know the php syntax, so i don't know how to fix this error.

 

Also will EP work with 3 image contrib? or do i need to install a different contrib if i want to make ep work with it?

 

Is it possible to just add the products_mediumimage

products_largeimage variable somewhere in EP to the list of all other variables (and the rest of the code of course) ? (I'm not sure how the "biimage" thing will work)... so far it doesn't

 

 

Thanx in advance for all your help

Link to comment
Share on other sites

reason you are not getting any answers, is this needs to go into the contribution support area, at the END of the Easy Populate thread, which if posted there, all the people who follow this program, get an email and then lend their two cents worth.

 

i know there are scripts there, as i have added one into there which has about 24 different additional fields, with 13 of them being additional image fields.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...