Andreas2003 Posted October 31, 2005 Posted October 31, 2005 Hi there, has anyone of you tried out the EasyPopulate Update, that comes with the UltraPics contribution here ? I installed all as instructed, but the EP Update from aliadoleo is not working correctly. I figured out that the import function is the problem. In the SQL string it makes " instead of ' as cell limitation. Here is the part of the original code, which is (IMHO) not working (starting in line 1789): manufacturers_id) VALUES ( '$v_products_image'," . $v_products_image_med . '", "' . $v_products_image_lrg . '", "' . $v_products_image_sm_1 . '", "' . $v_products_image_xl_1 . '", "' . $v_products_image_sm_2 . '", "' . $v_products_image_xl_2 . '", "' . $v_products_image_sm_3 . '", "' . $v_products_image_xl_3 . '", "' . $v_products_image_sm_4 . '", "' . $v_products_image_xl_4 . '", "' . $v_products_image_sm_5 . '", "' . $v_products_image_xl_5 . '", "' . $v_products_image_sm_6 . '", "' . $v_products_image_xl_6 . '", "'; A friend and I changed this to that: VALUES ( '$v_products_image', '$v_products_image_med', '$v_products_image_lrg', '$v_products_image_sm_1', '$v_products_image_xl_1', '$v_products_image_sm_2', '$v_products_image_xl_2', '$v_products_image_sm_3', '$v_products_image_xl_3', '$v_products_image_sm_4', '$v_products_image_xl_4', '$v_products_image_sm_5', '$v_products_image_xl_5', '$v_products_image_sm_6', '$v_products_image_xl_6',"; With this change, the products are imported correctly, but now I'm facing the fact, that EP is setting the category not correctly, with every import EP is creating a new category number, but which is not shown up. This happens, when the category is already there, or even if not. Both, my friend and I, are not that experts, that we understand the complete code and what else errors are hiding there. I emailed aliadoleo yesterday, but as today, he didn't answered yet. So, now my question is, if someone of you has the same problem, or even better, has also a solution to my problem ? Or perhaps someone of you could kindly review the code there and tell me what else error are in there. Many Thanks in advance, Regards Andreas 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.