Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

I'm new to most of this so forgive me if this is a simple common problem. I have looked for answers so this is only the most recent attempt to find a cause of the problem.

I have went through two oscommerce installs thinking perhaps something was wrong there, however when trying to upload the same file as I downloaded with EP 2.75. to see if it works, I get the following. Please Notice public_html/catalog//catalog in the first and 2nd warning. The actual directory path does not have two catalogs.

***********************************************************

Easy Populate 2.75-MS2 - Default Language : English(1)

 

Warning: move_uploaded_file(/home/sailsanj/public_html/catalog//catalog/temp/EP4fieldtestApr27a.txt): failed to open stream: No such file or directory in /home/sailsanj/public_html/catalog/admin/easypopulate_functions.php on line 32

 

Warning: move_uploaded_file(): Unable to move '/tmp/php07byC3' to '/home/sailsanj/public_html/catalog//catalog/temp/EP4fieldtestApr27a.txt' in /home/sailsanj/public_html/catalog/admin/easypopulate_functions.php on line 32

 

File uploaded.

Temporary filename: /tmp/php07byC3

User filename: EP4fieldtestApr27a.txt

Size: 73

 

Warning: file(/home/sailsanj/public_html/catalog//catalog/temp/EP4fieldtestApr27a.txt): failed to open stream: No such file or directory in /home/sailsanj/public_html/catalog/admin/easypopulate.php on line 648

 

Warning: Invalid argument supplied for foreach() in /home/sailsanj/public_html/catalog/admin/easypopulate.php on line 671

************************************

Thanks for any help/comments

val

Posted
Open admin/easypopulate.php and change the temp directory:

 

$tempdir = "temp/";

$tempdir2 = "temp/";

 

Make sure you created this temp directory.

 

 

Thanks for the quick reply and the help. On the 2nd oscommerce install I had failed to create the "catalog/temp" dir and also had to change

 

$tempdir = "catalog/temp/";

$tempdir2 = "catalog/temp/";

to

$tempdir = "temp/";

$tempdir2 = "temp/";

 

Thanks again and on to the next step :)

val

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