Home

Primary links

  • top o the deck
  • Drupal for Beginners
  • about
  • links
  • give me some sugar

Drupal stuff

  • EDAM
  • STARDOM
  • Question Bank
  • Drupal musings
  • Drupal tips
Home Blogs Drupalace's blog

Key stuff on this site

Easy Drupal Admin Manual (EDAM)

SEO, Traffic and Revenue: Drupalace's Online Manual (STARDOM)

Drupal for Beginners

Subscribe to posts by RSS or email

Subscribe to Drupal Ace by RSS feed RSS feed 

Subscribe to Drupal Ace by Email

Donate towards my web hosting bill! Get a great host!

Share and save

Share/Save

Random piece of content

Drupal Wish #1: Easier Linking to Terms

Manuals on this site

  • Easy Drupal Admin Manual (EDAM)
    • Welcome to Your Site
    • First Steps: Please Read!
      • Understanding These Instructions
      • Important Terminology!
      • Best Practices for Site Admins
    • Super Quick Guide (for the experienced and the brave)
    • Logging In
    • Your Administrator Tools
    • Setting Site Basics
      • Setting Site Information
      • Configuring Your Theme
    • Creating Content
      • Node Types
      • Create a Page Node
      • Create a Story Node
      • Create a Blog Entry Node
      • Making Images and Other Files Available
      • Using Text and Image Editors
    • Organizing Your Content
      • Terms, Vocabularies, and Taxonomy: "Tagging" Your Content
        • Taxonomy Suggestions
      • Menus, Links, and Paths: Navigating the Site
        • Content Paths and URLs
        • Creating Links
        • Working with Menus: Administration Form (Drupal 6)
        • Working with Menus: Administration Form (Drupal 5)
        • Creating Menu Items on the Fly
        • Placing Menus on Your Pages
      • Placing Content on pages
        • Creating a page from a Single Node
        • Creating a page from a List of Nodes
        • Setting the Front Page
      • Working with Blocks
    • Maintenance Stuff
      • Maintenance and Construction Notices
    • Other Fun Things
      • Changing Color of Garland Theme
      • Free Aliases!
  • SEO, Traffic and Revenue: Drupalace's Online Manual (STARDOM)
    • Set a Clear Goal
    • Make a Good Site
      • Put out the Welcome Mat
      • Make Great Content
      • Build a Great Brand
      • Make Navigation Easy
      • Tune Site Performance
    • Drive Traffic
      • Promote your Site
      • Get Found with SEO
    • Build a Community
      • Build an Offsite Community
    • Monitor and Improve
    • One-Page Checklist
    • Drupal and the Blogging Starter Checklist
      • Drupal and the Blogging Starter Checklist, Part 1
      • Drupal and the Blogging Starter Checklist, Part 2
      • Drupal and the Blogging Starter Checklist, Part 3
      • Drupal and the Blogging Starter Checklist, Part 4
      • Drupal and the Blogging Starter Checklist, Part 5
      • Drupal and the Blogging Starter Checklist, Part 6
      • Drupal and the Blogging Starter Checklist, Part 7

You said it!

  • Tough one to Inves...

    I have heard and read stories such as this one before, and their common denominator is Drupal...

  • exclude

    excellent tip - can highly recommend the module - installed and working perfectly in drupal 7

  • Great CMS

    This book seems very interesting as I am currently starting a project to build a community site...

  • Thanks!

    Thank you very much !

  • Thank you very muc...

    Thank you very much !

more

Back on track with Node Import

Submitted by Drupalace on Mon, 2010-06-14 22:00
  • modules
  • trouble
Trouble Solved

As described in How's that Ubercart review coming along?, my work on a Drupal ecommerce site using Ubercart came to a halt when Node Import refused to import my spreadsheet. I found and fixed the problem: Node Import was choking on a column that held paths for my nodes' images. (It was choking silently and demurely, which didn't help at all; a spittle-flinging "ack.. hack... image paths... hurk... killing me..." would have made my troubleshooting a lot faster.)

It seems Node Import wanted slashes in front of my paths (like this: /images/picture.jpg), whereas the book example I'm following shows paths without (like this: images/picture.jpg). I'll add more on that in the final review, but let me note that I can't say for sure it's an error in the book; perhaps the slash-less paths are correct under some setups, such as a different file system setting. (My sample site is using the Public, not Private, download method. Not that I know that that matters.)

In any case, for anyone having trouble getting Node Import to work, one basic troubleshooting step should be obvious: try importing versions of the spreadsheet with columns removed, one batch after another, until you can track down the column(s) with data responsible for the trouble. (You know, remove half the columns, so you test the remaining half; then reverse things so you test the other half... If one of those two variants causes trouble, then test that with first one half of its columns removed, then the other half... There's a name for this sort of thing, but I'm blanking on it. Computer-y people, anybody know?)

All right, back to the Ubercarting...

Share/Save
  • Drupalace's blog
  • Printer-friendly version
  • Quote
Christopher Dunn's picture

In the same boat

Submitted by Christopher Dunn (not verified) on Thu, 2010-06-17 22:16.

Hi there, I am undergoing exactly the same journey as yourself in setting up a Drupal e-commerce site from the packt book.

I came across the same problem with node_import but unlike yourself I gave up and started adding product individually, maybe if I had stuck at it I would have solved it like you. I might now go back and see if I can get it to work. 

I have got the basics working on a local server but with a few error messages cropping up am now bravely venturing into the realm of patching to fix a problem I have when users search the site, wish me luck!

btw I'm a drupal newbie using MAMP to run it locally on my mac. 

  • reply
  • quote
Drupalace's picture

Same boat, other way

Submitted by Drupalace on Sat, 2010-06-19 15:47.

Oddly, I'm in the same boat but going the other way (if that makes sense) in one respect: While I was having all the troubles with Node Import and other aspects of getting Ubercart to work, random "Page not found" or other errors from my hosting service were just adding to the frustration. So I thought working locally would at least stop some annoyances, and speed up the troubleshooting...

But I last used MAMP a couple years back (and then only for all-new sites, not sites brought over from elsewhere). When I tried moving my in-progress site from the hosting service over to the local machine and MAMP, I ran into all sorts of new problems... 

I have no doubt that I'd fix those perfectly after getting re-acquainted with MAMP setup, but for now, I said "forget it" and stuck with the sometimes-balky hosted site. That's fine; if something, somewhere wasn't choking up hairballs, it just wouldn't be Drupal development (at least for me... : )

  • reply
  • quote

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd><br><p>
  • You may quote other posts using [quote] tags.
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options


Relevant Content

The Drupal Ace logo has dealt these content suggestions from the deck.

  • Manhandle that database back into shape
  • Module upgrades cause troubles
  • Read More link troubles fixed?
  • My Ubercart site creation troubles
  • Testing Ubercart ecommerce: Please help with missing tabs!
  • Checking out Amazon on Drupal 6, Part 2
  • Checking out Amazon on Drupal 6, Part 1

Learn Drupal, hands-on

Get the beginner-friendly ebook that teaches community site building via a live case study.

Drupal 6 Ultimate Community Site Guide

Read the review

It's a deal!

Dreamhost dealsDrupal Ace presides over his domain, proudly ensconced in his DreamHost eyrie. Won't you join me?

Promo code deal!

Just enter the code 49ER when you register for an account, and save $49 off the already-low price. No strings!

Read my hosting service review

Drupal mini tip

As noted in Forum Finds: Node deletion is forever, when you tell Drupal to delete a node it gives you one "Are you sure...?" chance to recapitulate, but that's it. Confirm the deletion, and that node is gone; there's no Trash Can or Undo to get it back.

To prevent mishaps, be careful in giving users permission to delete nodes. Also, make it a rule to unpublish, not delete, nodes when you want to take them off the site. The node will disappear from view just as if it had been deleted, but will remain in the database should you ever want to republish, reedit, or otherwise revisit it.

Powered by Drupal, an open source content management system

Copyright 2007 and forever after. Made with Drupal, of course. On OS X, of course. Served up by DreamHost. DreamHost

RoopleTheme