Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Easy Populate


coreyoda

Recommended Posts

Can't get Easy Populate to work. When I try to "Upload EP File" (the first option on the page), I get the following errors: ---- Can anyone help???

 

Warning: move_uploaded_file(/www/symposiumbooks/catalog/catalog/temp/EP2003Nov12-1111.txt): failed to open stream: No such file or directory in /home/www/symposiumbooks/catalog/admin/easypopulate_functions.php on line 32

 

Warning: move_uploaded_file(): Unable to move '/tmp/phpaWpMHm' to '/www/symposiumbooks/catalog/catalog/temp/EP2003Nov12-1111.txt' in/home/www/symposiumbooks/catalog/admin/easypopulate_functions.php on line 32

 

 

File uploaded.

Temporary filename: /tmp/phpaWpMHm

User filename: EP2003Nov12-1111.txt

Size: 140587

 

Warning: file(): Unable to access /www/symposiumbooks/catalog/catalog/temp/EP2003Nov12-1111.txt in/home/www/symposiumbooks/catalog/admin/easypopulate.php on line 730

 

Warning: file(/www/symposiumbooks/catalog/catalog/temp/EP2003Nov12-1111.txt): failed to open stream: No such file or directory in /home/www/symposiumbooks/catalog/admin/easypopulate.php on line 730

 

Warning: Invalid argument supplied for foreach() in /home/www/symposiumbooks/catalog/admin/easypopulate.php on line 748

Link to comment
Share on other sites

the problem here is with the configuration of the contrib.

 

If you read the docs fully there is a section that mentions catalog/temp and /temp

 

you'll see

Warning: move_uploaded_file(/www/symposiumbooks/catalog/catalog/temp/EP2003Nov12-1111.txt): failed to open stream: No such file or directory in /home/www/symposiumbooks/catalog/admin/easypopulate_functions.php on line 32

 

 

this bit in red is because the admin setup isn't quite right. Read the docs again and change it. it'll get rid of the problem

Link to comment
Share on other sites

sorry just to clarify.

 

it's the $tempdir variable you'll need to edit

 

go into easypopulate.php and search for $tempdir you'll need to remove one of the /catalog 's

 

Here's an extract from mine

 

$tempdir = "/temp/";

$tempdir2 = "/store/temp/";

 

I think your $tempdir will say /catalog/temp/

Link to comment
Share on other sites

  • 1 month later...

me need help !!

 

In the easy polupate page

 

say = http://shop.maysite.net//admin/easypopulate.php

 

the links or link

Create Complete tab-delimited .txt file in temp dir

 

points to

 

file:///D|/Download/Oscommerce/EP_v2_73_MS2/catalog/admin/easypopulate.php?download=tempfile&dltype=full

 

Its pointing to my D drive.

 

Oh and this catalog folder issue, i didn't have it and then i created one.

 

but my store is named shop

--

$tempdir = "/catalog/temp/";

$tempdir2 = "/shop/temp/";

---

which one is correct.

 

Help please !!!

Link to comment
Share on other sites

In the easy polupate page

 

say = <http://shop.maysite.net//admin/easypopulate.php>

 

the links or link

Create Complete tab-delimited .txt file in temp dir

 

points to

 

file:///D|/Download/Oscommerce/EP_v2_73_MS2/catalog/admin/easypopulate.php?download=tempfile&dltype=full

 

Its pointing to my D drive.

 

Strange! Did you open/modify this file in a WYSIWYG editor like Dreamweaver? If so, I suspect that might've messed up your paths. You can try replacing it with a fresh new easypopulate.php (don't forget to backup your existing file!).

 

 

Oh and this catalog folder issue, i didn't have it and then i created one.

 

but my store is named shop

--

$tempdir = "/catalog/temp/";

$tempdir2 = "/shop/temp/";

---

which one is correct.

 

If you have your store at, say, http://shop.yourdomain.com or http://www.yourdomain.com/shop, you'll most likely have to change the temp directory paths to something like,

 

--
$tempdir = "/shop/temp/"; /* This is what really matters */
$tempdir2 = "/catalog/temp/"; /* This is a redundant variable, as far as I can see. Maybe you can use it to backup the original path. */
---

 

HTH,

VJ

Link to comment
Share on other sites

got it installed correctly !!!!

 

now trying to populate a DB

 

i have a text file

goes like this

----------------------

NAME TITLE DESCRIPTION PRICE URL IMAGE BRAND ITEM GENDER RETAIL

TENDRE POISON;SHOWER GEL 6.8 OZ "Launched by the design house of in , is classified as a fragrance. This feminine scent posesses a blend of: It is recommended for wear." 19.20 http://www.mysite.com/rc.cgi?W.&src=DSHIP http://www.mysite.com/images/photos/no_prod_available.gif 125113 W 40.00

---------------------

 

how would i make it a tab-delimited.txt file

i think tabs are there.

 

sorry its turning into database question now. any pointers would be helpful.

Link to comment
Share on other sites

got past this,

 

uploaded the file and it uploades to a temp directory. now how do i get it to show up in my store?

 

I am reading the manual also...

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