Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

easypopulate


davidbhall

Recommended Posts

I have tried to upload a txt fle in easypopulate. I got this error.

 

Warning: move_uploaded_file(/home/mblindk/public_html/cart//home/mblindk/public_html/cart/Temp/EP2005Mar23-2008.txt): failed to open stream: No such file or directory in /home/mblindk/public_html/cart/admin/easypopulate_functions.php on line 32

 

Warning: move_uploaded_file(): Unable to move '/tmp/phpVYpxWC' to '/home/mblindk/public_html/cart//home/mblindk/public_html/cart/Temp/EP2005Mar23-2008.txt' in /home/mblindk/public_html/cart/admin/easypopulate_functions.php on line 32

File uploaded.

Temporary filename: /tmp/phpVYpxWC

User filename: EP2005Mar23-2008.txt

Size: 31515

 

Warning: file(/home/mblindk/public_html/cart//home/mblindk/public_html/cart/Temp/EP2005Mar23-2008.txt): failed to open stream: No such file or directory in /home/mblindk/public_html/cart/admin/easypopulate.php on line 657

 

Warning: Invalid argument supplied for foreach() in /home/mblindk/public_html/cart/admin/easypopulate.php on line 680

 

 

This is my path in easypopulate.php

$tempdir = "/public_html/cart/Temp/";

$tempdir2 = "/public_html/cart/temp/";

 

When I go into tools and look at the path this is what shows up.

 

/home/mblindk/public_html/cart//temp

 

I see that the double backshash is the problem. My question is what file do I go to in order to eliminate the double backshash.

 

David

Link to comment
Share on other sites

I have tried to upload a txt fle in easypopulate.  I got this error.

 

Warning: move_uploaded_file(/home/mblindk/public_html/cart//home/mblindk/public_html/cart/Temp/EP2005Mar23-2008.txt): failed to open stream: No such file or directory in /home/mblindk/public_html/cart/admin/easypopulate_functions.php on line 32

 

Warning: move_uploaded_file(): Unable to move '/tmp/phpVYpxWC' to '/home/mblindk/public_html/cart//home/mblindk/public_html/cart/Temp/EP2005Mar23-2008.txt' in /home/mblindk/public_html/cart/admin/easypopulate_functions.php on line 32

File uploaded.

Temporary filename: /tmp/phpVYpxWC

User filename: EP2005Mar23-2008.txt

Size: 31515

 

Warning: file(/home/mblindk/public_html/cart//home/mblindk/public_html/cart/Temp/EP2005Mar23-2008.txt): failed to open stream: No such file or directory in /home/mblindk/public_html/cart/admin/easypopulate.php on line 657

 

Warning: Invalid argument supplied for foreach() in /home/mblindk/public_html/cart/admin/easypopulate.php on line 680

This is my path in easypopulate.php

$tempdir = "/public_html/cart/Temp/";

$tempdir2 = "/public_html/cart/temp/";

 

When I go into tools and look at the path this is what shows up.

 

/home/mblindk/public_html/cart//temp

 

I see that the double backshash is the problem.  My question is what file do I go to in order to eliminate the double backshash.

 

David

 

 

$tempdir = "/public_html/cart/Temp/";

$tempdir2 = "/public_html/cart/temp/";

 

Change to:

 

$tempdir = "/temp/";

$tempdir2 = "/temp/";

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

  • 4 weeks later...

This is kind of on the line of a question I have.

 

I'm trying to install easypopulate, and I don't have a /temp directory. As per the instructions in easypopulate manual.

 

4. Make sure that you have a directory called catalog/temp, and that it's permissions are set to allow writes to that directory (while you're in the catalog directory, execute "chmod 777 temp").

 

If you have changed the directory structure of your OSC install (i.e. you don't have /catalog/temp/ in your document root anymore), then you'll need to go into easypopulate.php and change the setting of "$tempdir".

 

I've traversed the whole directory structure, via ftp, and have been unable to find any directories called temp.

 

Can I just create this temp directory below /catalog , or do I have to point the "$tempdir" variable to somewhere else in the directory structure.

 

Thanks in advance.

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