Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Easy Populate - can't upload


Guest

Recommended Posts

Posted

I'm trying to get to grips with OS Commerce with no php knowledge and just a little html and ftp experience, so my apologies if this is a stupid question!

 

I've read the relevant help files and think I've edited the php correctly for bulk upload - at least the Catalog screen looks functional and I have a link to Easy Populate. I downloaded the template and opened it as a spreadsheet in OpenOffice, imput some items, defined the print range (25 lines including the header), and saved as a .txt tab delimited file but it's not uploading correctly. I think I might I have misunderstood one of the header definitions - product url. I took that to be www.mydomain.com/StoreName. Is that correct?

 

Maybe the problem has nothing to do with that. The error message is as follows:

 

EasyPopulate 2.71-MS2 en : English(1)

 

Warning: move_uploaded_file(/mnt/w0809/d20/s40/b02dbbb7/www/treasure-bin.com//MindBodySpirit//catalog//catalog/temp/OracleCards.txt) [function.move-uploaded-file]: failed to open stream: No such file or directory in /mnt/w0809/d20/s40/b02dbbb7/www/treasure-bin.com/MindBodySpirit/catalog/admin/easypopulate_functions.php on line 32

 

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpRNVO8g' to '/mnt/w0809/d20/s40/b02dbbb7/www/treasure-bin.com//MindBodySpirit//catalog//catalog/temp/OracleCards.txt' in /mnt/w0809/d20/s40/b02dbbb7/www/treasure-bin.com/MindBodySpirit/catalog/admin/easypopulate_functions.php on line 32

File uploaded.

Termporary filename: /tmp/phpRNVO8g

User filename: OracleCards.txt

Size: 18771

 

Warning: file(/mnt/w0809/d20/s40/b02dbbb7/www/treasure-bin.com//MindBodySpirit//catalog//catalog/temp/OracleCards.txt) [function.file]: failed to open stream: No such file or directory in /mnt/w0809/d20/s40/b02dbbb7/www/treasure-bin.com/MindBodySpirit/catalog/admin/easypopulate.php on line 644

 

Warning: Invalid argument supplied for foreach() in /mnt/w0809/d20/s40/b02dbbb7/www/treasure-bin.com/MindBodySpirit/catalog/admin/easypopulate.php on line 667

 

Any help would be appreciated.

Posted
/temp/

have you created this directory in admin folder? Have you set the correct permission?

 

/OracleCards.txt)

I thought that this module can process only the cvs files?

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Posted

Thanks for the prompt response.

 

I had created the directory catalog/temp and set permission to 755. Should it be admin/temp?

 

I have now saved the file as .csv instead of .txt but am getting the same error message. I also tried copying the file via ftp but that hasn't worked either.

Posted

have you created this directory in admin folder? Have you set the correct permission?

 

 

I thought that this module can process only the cvs files?

 

 

Success! Thanks to your clue that the problem may be the temp directory, I double-checked my php file and saw it had /catalog/temp instead of just temp. I thought I had already changed this but just realised I had copied the corrected file to the main catalog directory instead of my store catalog directory.

So I have now managed to upload the file. The graphics didn't load correctly but I'm hoping I'll get that sorted without too much difficulty.

 

Thank you for steering me in the right direction.

 

 

PS the .txt file was okay

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...