cms_uploads Table - Cannot Import CSV

By Perchpole - April 15, 2014

Hello, All

I have started the rather daunting challenge of importing over 1000 products from X-cart into simpleCart. The process has been long and fiddly but I'm almost there. The only spanner in the works is the images!

There are 3000 pictures in total. I have compiled all the relevant data on a csv file but I cannot seem to import it into the cms_uploads table.

If I try through php I receive an error message: #2006 - MySQL server has gone away

If I try through the CSV import plugin it says the import is complete - but the table remains empty!

Please note I have sliced and diced the data in many different ways. I've tried importing everything from a single row of data to many hundreds. The results (above) are always the same.

I had none of these issues when importing the product data. Is cms_uploads a special case?

:0/

Perch

By Perchpole - April 15, 2014

Hi, Greg -

The csv hardly contained any data - other than the names of the images, their related record - and their dimensions. The other 25 columns were either blank or contained "0".

That said there were almost 3,000 rows!

It proved impossible to import this data into the live database. It wouldn't work in phpMyAdmin nor your own CSV Import (which got very fussy!).

In the end I simply created a new cms_uploads table from scratch on my localhost computer - exported it as an SQL file - then created a new table with it on the live server.

It seems to have taken forever - but it was a good learning experience.

:0)

Perch