Jump to content
Latest News: (loading..)
Sign in to follow this  
coreyoda

Easy Populate

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

Share this post


Link to post
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

Share this post


Link to post
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/

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
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

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×