Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Hi,

 

I've followed the install instructions to a tee and also the read me 1st file.

 

I've made the configuration changes where necessary and changed DOCUMENT_ROOT to $DOCUMENT_ROOT.

 

My temp directory has the correct path in the config file also.

 

I can download a Complete tab-delimited .txt file to edit, allthough it has added a few attributes that weren't originally in the product?

 

When i come to upload a file into the database here's how i do it.

 

1, upload the .txt file to catalog/temp folder via ftp

2, select easy populate in the admin panel and use the Import from Temp Dir

3, Type the file name in the box (filename only ie: EP2006May19-2008.txt)

4, Insert into Database

 

I am presented with the following:

 

Filename: EP2006May19-2008.txt

 

Warning: file(DIR_FS_DOCUMENT_ROOT/catalog/temp/EP2006May19-2008.txt) [function.file]: failed to open stream: No such file or directory in /websites/LinuxPackage03/fa/nc/yd/fancydressretail.co.uk/public_html/catalog/admin/easypopulate.php on line 685

 

Warning: Invalid argument supplied for foreach() in /websites/LinuxPackage03/fa/nc/yd/fancydressretail.co.uk/public_html/catalog/admin/easypopulate.php on line 690

 

Lines 685 to 690 in my easypopulate.php file are thus:

 

$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){

 

Any ideas?

 

Many Thanks

D4

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