Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

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

Posted

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

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 ======>>>>>.

Posted

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

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...