total_newbie! Posted May 25, 2004 Posted May 25, 2004 I'm getting a parse error on line 1682 when I uncomment the lines specified! I've tried only uncommenting the bimage lines all throughout the file but it just moves the parse error to another line. Can someone please look at this and tell me why? It would be great if I could see someone elses so I could compare them. I'm attaching lines 1665 thru 1703. Line 1682 starts with $query .= Thanks for any help you can provide. $query = "INSERT INTO ".TABLE_PRODUCTS." ( products_image, products_model, products_price, products_status, products_last_modified, products_date_added, products_date_available, products_tax_class_id, products_weight, products_quantity, manufacturers_id) VALUES ( '$v_products_image',"; // 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); Quote
mugitty Posted May 26, 2004 Posted May 26, 2004 If . $v_products_bsubimage3 . '", "' is the last item in your image mods list, it should probably read . $v_products_bsubimage3; As it was posted, it's looking for another entry after that one. Quote ... if you want to REALLY see something that doesn't set up right out of the box without some tweaking, try being a Foster Parent!
total_newbie! Posted May 28, 2004 Author Posted May 28, 2004 I'll try that. Thanks for the input. I'll let you know if it works or not. 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.