charliebee17 Posted October 12, 2010 Posted October 12, 2010 Hi, I've just set up Easy Populate, and it shows up on osCommerce in the menu system, but when you click on it, you just get the following error: Parse error: syntax error, unexpected ')', expecting '(' in /home/blencat7/public_html/cart/admin/easypopulate.php on line 621 I have looked in the easypopulate.php file anc connot see anything wrong. Could anybody please help? Thanks Anna Quote
♥geoffreywalton Posted October 12, 2010 Posted October 12, 2010 Neither can we, but there again we do not have the advantage you have in being able to see the code. Have you thought of posting line 610 to 630? G Quote Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>.
charliebee17 Posted October 12, 2010 Author Posted October 12, 2010 Neither can we, but there again we do not have the advantage you have in being able to see the code. Have you thought of posting line 610 to 630? G Hi G I thought about it :o), but decided not to bother as nothing has been changed from the file I downloaded. The only changes in setup are those recommended in the instructions. But here is the section anyway: $num_of_langs = count($languages); while ($row){ if ($_GET['download'] == 'zip'){ $zip = new ZipArchive; if ($zip->open(EP_TEMP_DIRECTORY .$EXPORT_TIME .'.zip') === TRUE) { $zip->addFile(DIR_FS_CATALOG_IMAGES . $row['v_products_image'], $row['v_products_image']); $zip->close(); } else { $zip->open(EP_TEMP_DIRECTORY .$EXPORT_TIME .'.zip',ZIPARCHIVE::CREATE); $zip->addFile(DIR_FS_CATALOG_IMAGES . $row['v_products_image'], $row['v_products_image']); $zip->close(); } } Best wishes Anna 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.