Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Here is the first error message that I get when I try to upload the database file that I dropped into the /temp dir

 

'Filename: data.txt

Warning: file(/home/virtual/site43/fst/var/www/htmlcatalog/temp/data.txt): failed to open stream: No such file or directory in /home/virtual/site43/fst/var/www/html/catalog/admin/easypopulate.php on line 735

 

Warning: Invalid argument supplied for foreach() in /home/virtual/site43/fst/var/www/html/catalog/admin/easypopulate.php on line 740

 

Here is another version of the error when I try a direct upload using the same file with different name:

 

Warning: move_uploaded_file(/home/virtual/site43/fst/var/www/htmlcatalog/temp/EP2003Sep01-1604.txt): failed to open stream: No such file or directory in /home/virtual/site43/fst/var/www/html/catalog/admin/easypopulate_functions.php on line 32

 

Warning: move_uploaded_file(): Unable to move '/tmp/phpB50bNJ' to '/home/virtual/site43/fst/var/www/htmlcatalog/temp/EP2003Sep01-1604.txt' in /home/virtual/site43/fst/var/www/html/catalog/admin/easypopulate_functions.php on line 32

 

File uploaded.

Temporary filename: /tmp/phpB50bNJ

User filename: EP2003Sep01-1604.txt

Size: 163993

Warning: file(/home/virtual/site43/fst/var/www/htmlcatalog/temp/EP2003Sep01-1604.txt): failed to open stream: No such file or directory in /home/virtual/site43/fst/var/www/html/catalog/admin/easypopulate.php on line 722

 

Warning: Invalid argument supplied for foreach() in /home/virtual/site43/fst/var/www/html/catalog/admin/easypopulate.php on line 740

 

I've spent lots of time looking over the instructions, rereading the install instructions, rereading the instruction manual to see if I can understand why these errors are occuring. I'm using contribution OSC 2.2 after November and have installed EP 2.6.1 MS2

 

If someone could point me in the right direction, I would appreciate as always.

 

Best Regards,

 

Gary Mercer

Posted

I fixed this by changing the temp dir variables from:

 

$tempdir = "/catalog/temp/";

$tempdir2 = "catalog/temp/";

 

To:

 

$tempdir = "temp/";

$tempdir2 = "catalog/temp/";

 

Basicly the $tempdir should not have the directory of your OSC install it only needs the name of the temp dir with out the preceeding slash.

 

Hope this helps

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