Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Easy Populate Upload error


kenyastar

Recommended Posts

Everything working fine on download. But upload I get this error. My permissions are set to 777 on temp file. I have tried every conceivable path in easypopulate.php

$tempdir = "/catalog/temp";

$tempdir2 = "/catalog/temp";

and not matter what path I put here the path in the error is exactly the same.

PLease help!!!

 

 

Warning: move_uploaded_file(/home/diamondn/public_html/ecommerce/os/catalog//catalog/temp/EP2005Mar27-1111.txt): failed to open stream: No such file or directory in /home/diamondn/public_html/ecommerce/os/catalog/admin/easypopulate_functions.php on line 32

 

Warning: move_uploaded_file(): Unable to move '/var/tmp/phpKXr6iI' to '/home/diamondn/public_html/ecommerce/os/catalog//catalog/temp/EP2005Mar27-1111.txt' in /home/diamondn/public_html/ecommerce/os/catalog/admin/easypopulate_functions.php on line 32

 

 

File uploaded.

Temporary filename: /var/tmp/phpKXr6iI

User filename: EP2005Mar27-1111.txt

Size: 900

 

Warning: file(/home/diamondn/public_html/ecommerce/os/catalog//catalog/temp/EP2005Mar27-1111.txt): failed to open stream: No such file or directory in /home/diamondn/public_html/ecommerce/os/catalog/admin/easypopulate.php on line 657

 

Warning: Invalid argument supplied for foreach() in /home/diamondn/public_html/ecommerce/os/catalog/admin/easypopulate.php on line 680

Link to comment
Share on other sites

Everything working fine on download.  But upload I get this error.  My permissions are set to 777 on temp file.  I have tried every conceivable path in easypopulate.php

$tempdir = "/catalog/temp";

$tempdir2 = "/catalog/temp";

and not matter what path I put here the path in the error is exactly the same.

PLease help!!!

Warning: move_uploaded_file(/home/diamondn/public_html/ecommerce/os/catalog//catalog/temp/EP2005Mar27-1111.txt): failed to open stream: No such file or directory in /home/diamondn/public_html/ecommerce/os/catalog/admin/easypopulate_functions.php on line 32

 

Warning: move_uploaded_file(): Unable to move '/var/tmp/phpKXr6iI' to '/home/diamondn/public_html/ecommerce/os/catalog//catalog/temp/EP2005Mar27-1111.txt' in /home/diamondn/public_html/ecommerce/os/catalog/admin/easypopulate_functions.php on line 32

File uploaded.

Temporary filename: /var/tmp/phpKXr6iI

User filename: EP2005Mar27-1111.txt

Size: 900

 

Warning: file(/home/diamondn/public_html/ecommerce/os/catalog//catalog/temp/EP2005Mar27-1111.txt): failed to open stream: No such file or directory in /home/diamondn/public_html/ecommerce/os/catalog/admin/easypopulate.php on line 657

 

Warning: Invalid argument supplied for foreach() in /home/diamondn/public_html/ecommerce/os/catalog/admin/easypopulate.php on line 680

 

 

Here is the problem:

 

catalog//catalog/temp

 

 

Change lines 20 and 21 should read

 

$tempdir = "temp/";

$tempdir2 = "temp/";

 

And should be CHMOD 777

Learning is not attained by chance, it must be sought for with ardor and attended to with diligence.

Link to comment
Share on other sites

THANKS for responding!!

At least I'm on the right track. I tried changing it like you have here and a dozen other ways and it still gives me the same error.

I use IPOWER and have the security setting on the folder as "777" It only takes a string of 3 numbers. What do I do with the CHMOD?

 

Here is the problem:

 

catalog//catalog/temp

Change lines 20 and 21 should read

 

$tempdir = "temp/";

$tempdir2 = "temp/";

 

And should be CHMOD 777

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.

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