Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Error message in Admin/easy populate console

Recommended Posts

Hello everyone. I am having a problem. I installed Easy Populate and it is showing up as a link in my admin page. When I click on the easy populate link to go into the configuration page, I get a error in a pop up window. The error message reads:


Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in /mnt/web_d/d12/s03/b0249f2a/www/ToyStore/nfoscomm/catalog/admin/easypopulate.php on line 659


I have looked at the info on line 659 and I do not know what to change it to to make this error go away. Here is my code from line 650 to line 670


$attribute_options_values = tep_db_query($attribute_options_query);


$attribute_options_count = 1;

//while ($attribute_options = tep_db_fetch_array($attribute_options_values)){

if (is_uploaded_file($file['tmp_name'])) {

tep_copy_uploaded_file($file, DIR_FS_DOCUMENT_ROOT . $tempdir);



echo "<p class=smallText>";

echo FILENAME ': ' . $localfile . "<br>";


// get the entire file into an array

$readed = file(DIR_FS_DOCUMENT_ROOT . $tempdir . $localfile);



// now we string the entire thing together in case there were carriage returns in the data

$newreaded = "";

foreach ($readed as $read){

$newreaded .= $read;



I created a folder in my catalog directory called temp "catalog\temp


Any help would be greatly appreciated. Thank you for your time and have a great day!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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