Hi,

I really like this module, and used it a lot in Drupal 4.7.
I am now upgrading a site to drupal 5.2 and I am not able to get the node_import.module working.

I push on the [Apply (import nodes)] button, but nothing happens.
Off course I tried another time, but it is not working.

Please correct this.

Thanks!

greetings,
Martijn

Comments

summit’s picture

Update:
None of the three buttons: [Back] [Reload] or [Apply (import nodes)] are working.
Am I the only one with this situation?

greetings,
Martijn

WorldFallz’s picture

Title: The Apply (import nodes) button not working! » nope, you're not the only one

I'm using drupal 5.1 and just loaded the current version of Node Import. I get to the options button, then get thrown back to the first page as if I hadn't started the process) each and every time I try it.

michelle’s picture

Title: nope, you're not the only one » The Apply (import nodes) button not working!

Fixing the title and I also wanted to say that I just ran the module for the first time and it worked fine for me.

Michelle

pbootsma’s picture

I get the same here as what Martijnhaan and WorldFallz reported. Not being a programmer I can't make much of it, but I've noticed that my setup worked OK when I tested with a simple csv file, and failed when I tried a more complex one. When retrying several times times I noticed that sometimes I get redirected to the Node Import start page right after clicking the "Next (options)" button, and sometimes one step further, after clicking "Next (preview)". I also tried removing mappings to text fields with select lists, as reported by naim (aug 6), to no result. Hope this helps in debugging.
Peter

pbootsma’s picture

Found a workaround: select another content type on the Node Import start page and run the procedure, Then reselect the original content type. In my case the module then worked without resetting from the "Next" buttons. You'll need to re-enter the mapping, however. I also noticed there were no more messages about how nodes were categorized, but links were made anyway.
Peter

summit’s picture

Hi,

Workarounds are great, but of course the module needs to be fixed.
Can somebody try this?

greetings,
Martijn

summit’s picture

Hi,

Workaround is not working for me either.
I wait until the module is nicely fixed.
Is somebody working on this anoying bug?

greetings,
Martijn

summit’s picture

Hi,

The apply (import nodes) button is working on Firefox! I just tested it.

Also I got rid of an other bug:

 '#value' => '<p>'. t('Importing may take awhile, do not click "Apply (import nodes)" more than once. To see progress, look at <a href="%admin-content" target="_new">the "administer &gt;&gt; content" page in a new window</a>.', array('%admin-content' => url('admin/node'))) .'</p>',

should be (I think):

    '#value' => '<p>'. t('Importing may take awhile, do not click "Apply (import nodes)" more than once. To see progress, look at <a href="@admin-content" target="_new">the "administer &gt;&gt; content management &gt;&gt; content" page in a new window</a>.', array('@admin-content' => url('admin/content/node'))) .'</p>',

What is not working yet, and was working on the 4.7 version, is the right adding of the node to a taxonomy_term.
Please get this working on 5.2 also again.

Thanks in advance,
greetings,
Martijn

summit’s picture

It is all working on firefox!
The term-issue had to do with a mapping problem on my site, sorry!

So use firefox instead of internet-explorer and then you're fine.
Why it is not working on internet explorer I don't know, that's still an issue :)

greetings,
Martijn

summit’s picture

Title: The Apply (import nodes) button not working! » The Apply (import nodes) button not working on Internet Explorer!

Trying to set the title of the issue to the matter.

michelle’s picture

Ah, that explains why the module works fine for me. I use Firefox.

Michelle

zach harkey’s picture

Getting the same bugged out result described by OP. Using Firefox. I was able to import one time and then never again.

zach harkey’s picture

Title: The Apply (import nodes) button not working on Internet Explorer! » The Apply (import nodes) button not working.

Not working in Safari either. I am changing the title of this issue to include all browsers.

zach harkey’s picture

It seems to have something to do with the sessions. When logged out and emptied the sessions table directly in the database, I was able to initiate a fresh import that actually completed instead of firing me back to the upload page every time.

zach harkey’s picture

Turns out I also had to go in an empty the 'node_import_mappings' table in order to ever submit subsequent imports.

OliverColeman’s picture

Title: The Apply (import nodes) button not working. » Next buttons sometimes cause return to start page
Version: 5.x-1.2 » 5.x-1.6
Priority: Normal » Critical

This is still occurring in 1.6. I've successfully used node_import on some sites with Firefox but not others (with identical setups). I also tried the konqueror browser and it worked successfully on that immediately after failing on the same site with Firefox (same CSV file, same settings, same user account...).

OliverColeman’s picture

Can confirm workaround in #14, but didn't need to also apply workaround in #15.

Before clearing the sessions table the function _node_import_mapping_validate wasn't being called, after clearing sessions table it was called and all worked as it should.

zeezhao’s picture

Title: Next buttons sometimes cause return to start page » The Apply (import nodes) button not working on Internet Explorer

I have also seen similar issues with Internet Explorer. Pressing the Apply button does nothing... It took a while to figure out it was a browser issue. In fact I always now use Firefox for imports...

So I suspect it is something to do with the html generated by node_import?

riemann’s picture

For me switching back from Firefox 3 to Firefox 2 helped.

OliverColeman’s picture

Title: The Apply (import nodes) button not working on Internet Explorer » Next buttons sometimes cause return to start page

Still occurs in Firefox 2 after trying fix in #14 and #15.
Still occurs randomly on all of the Next and Apply Import buttons.

NareshVajawat’s picture

Title: Next buttons sometimes cause return to start page » Node Import and Product Updates
Category: bug » support

Hi,

I am using Node Import 1.6 and Drupal 5.10. I am able to load images and the content appropriately. I wanted to check if there is a way to just import certain fields using node import. For Eg When I start all my products will be new and there wouldn't be any issues. Say initially I had 2000 products and later on I would like to change the price of around 500 of them. Is it possible to just change the price using the CSV method or it has to be changed Manually ?

Thanks,
Naresh

zach harkey’s picture

Ok, I went for a long time without this issue, then it crept back up. After several painful hours I started to suspect suspect my theme might have something to do with it. So I went in and switched my theme to Bluemarine and retried the import. This time it worked without any trouble.

Anyone who has trouble submitting the import form, try switching to one of the default themes and see if that helps.

-Zach