Page 2 of 2
Re: Importing Products to Product Manager [solved]
Posted: Fri Nov 19, 2010 8:43 am
by bertornot
Unfortunately I have to agree with this...

I imported products some time ago (after having spent some time to get it working

). I think I understand it completely now. However, trying to import new products, gives me: no new results

.
OK I added some new fields to the products, but I also included those in the import file. Test is giving me "OK", and importing seems to go well, but in the end I see only my already existing products getting a new ID... no new products....
Regards,
Bert
Re: Importing Products to Product Manager [solved]
Posted: Fri Nov 19, 2010 10:10 am
by Peciura
Product names should be different on csv file and Products module.
Re: Importing Products to Product Manager [solved]
Posted: Fri Nov 19, 2010 10:32 am
by bertornot
Maybe I misunderstand your response, but I'm only trying to add new products... so new names. But they do not appear in my product list (although old products seem to get a new ID?).
My feeling says that when I remove all my products and import, that everything will be OK. But I'd rather not, as I did some updates to the existing products...
Regards,
Bert
Re: Importing Products to Product Manager [solved]
Posted: Fri Nov 19, 2010 1:00 pm
by bertornot
This is strange... I removed all my products (using the garbage-can). I confirmed deletion by looking on my site and logging in again... I then imported ONE product, a new one... result: all my old products are there again!
I tried this three times... each time the same result... looks like some DB issue here? I'm really stuck here...
It is also as if it has something to do with the filename of the file... does it 'remember' the old file? Or something with the length? New filename longer than old one? I can't put my finger on it yet, but something's fishy...
Regards,
Marco
Re: Importing Products to Product Manager [solved]
Posted: Fri Nov 19, 2010 2:33 pm
by Peciura
How many and what *.csv files do you see on "/tmp/cache/" dir ?
Re: Importing Products to Product Manager [solved]
Posted: Wed Dec 01, 2010 8:54 pm
by fearmydesign
I have been trying to import products for the past couple of hours and I read this entire post and I was actually able to get rid of all the errors (#Flag, #price etc) by using the test csv file mentioned on this thread. But when I am ready to import all of my products (csv) I get the following error message, can someone please help me figure out what I should do? Thank you
Fatal error: Cannot assign by reference to overloaded object in /home/usegreen/public_html/modules/Products/action.importcsv.php on line 83
at first I thought this was because I have over 3,000 products on my csv, but I cut it down to about 20+ but I still got the same error!!!...
Re: Importing Products to Product Manager [solved]
Posted: Sun Dec 12, 2010 5:48 pm
by airelibre
Hi everybody,
Same error as fearmydesign here. The problem comes from the line :
$gCms->variables['admintheme']=&$themeObject;
The error may come from the $gCms->variable['admintheme'] which is maybe not public anymore since CMSMS 1.9. But I'm not sure at all...
However, I tried to comment this line in the action.importcsv.php file and now Products from the demo file supplied with the module are imported !
I'll look if there's a bug report on the module's page
Re: Importing Products to Product Manager [solved]
Posted: Tue Jan 11, 2011 10:40 pm
by micahgodbolt
I am not getting any errors in this process, but all I get when I attempt to upload the test_import.csv file is a blank screen. I checked and $gCms->variables['admintheme']=&$themeObject; was already commented out. Is there still an issue with this process?
Re: Importing Products to Product Manager [solved]
Posted: Wed Jan 12, 2011 8:36 am
by airelibre
Hi,
The issue has been corrected in the last version (see
http://dev.cmsmadesimple.org/bug/view/5827)