Importing Products to Product Manager [solved]

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
bertornot
Forum Members
Forum Members
Posts: 19
Joined: Wed Oct 27, 2010 5:54 am

Re: Importing Products to Product Manager [solved]

Post 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
Peciura

Re: Importing Products to Product Manager [solved]

Post by Peciura »

Product names should be different on csv file and Products module.
bertornot
Forum Members
Forum Members
Posts: 19
Joined: Wed Oct 27, 2010 5:54 am

Re: Importing Products to Product Manager [solved]

Post 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
bertornot
Forum Members
Forum Members
Posts: 19
Joined: Wed Oct 27, 2010 5:54 am

Re: Importing Products to Product Manager [solved]

Post 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
Last edited by bertornot on Fri Nov 19, 2010 1:22 pm, edited 1 time in total.
Peciura

Re: Importing Products to Product Manager [solved]

Post by Peciura »

How many and what *.csv files do you see on "/tmp/cache/" dir ?
User avatar
fearmydesign
Power Poster
Power Poster
Posts: 363
Joined: Sun Feb 28, 2010 10:54 pm

Re: Importing Products to Product Manager [solved]

Post 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!!!...
Last edited by fearmydesign on Wed Dec 01, 2010 8:57 pm, edited 1 time in total.
Rod
"Be careful who you step on your way up; because you never know who you'll meet on your way down!" - or something like that.
User avatar
airelibre
Dev Team Member
Dev Team Member
Posts: 99
Joined: Tue Dec 01, 2009 3:42 pm
Location: Alsace // France

Re: Importing Products to Product Manager [solved]

Post 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
Mathieu // AireLibre
User avatar
micahgodbolt
Forum Members
Forum Members
Posts: 149
Joined: Thu Jul 29, 2010 11:09 pm
Location: Portland, OR

Re: Importing Products to Product Manager [solved]

Post 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?
User avatar
airelibre
Dev Team Member
Dev Team Member
Posts: 99
Joined: Tue Dec 01, 2009 3:42 pm
Location: Alsace // France

Re: Importing Products to Product Manager [solved]

Post by airelibre »

Hi,

The issue has been corrected in the last version (see http://dev.cmsmadesimple.org/bug/view/5827)
Post Reply

Return to “Modules/Add-Ons”