melveile Posted May 29, 2004 Posted May 29, 2004 Hi, I've recently installed 3 image conrib on my site which seems to be working fine. I followed EP instructions for multiple images 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 Quote
♥ecartz Posted May 30, 2004 Posted May 30, 2004 $query .= . $v_products_mimage . '", "') should be $query .= $v_products_mimage . '", "') Hth, Matt Quote Always back up before making changes.
melveile Posted May 30, 2004 Author Posted May 30, 2004 thanx for the help although now i get another error in $query .=" '$v_products_model', Parse error: parse error, unexpected T_VARIABLE in line 1692 // 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 Does anyone have a working EP code with any of the multiple images contribs? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.