Drupal 4.6.2
amazon.module,v 1.7.2.3 2005/07/14 03:47:01
I'm not sure but is this a prefix error?
I'm using 'main_'
user error: Duplicate entry 'amazon-node/7_ways_to_notch_a_killer_cell_phone_contract_wireless_negotiating_secrets_part_ii_an_article_from_the_telecom_manage' for key 2
query: INSERT INTO main_url_alias (src, dst) VALUES ('node/99/feed', 'amazon-node/7_ways_to_notch_a_killer_cell_phone_contract_wireless_negotiating_secrets_part_ii_an_article_from_the_telecom_managers_voice_report/feed') in ~/includes/database.mysql.inc on line 66.
Comments
Comment #1
Prometheus6 commentedPossibly, but your problem is with the module you're using to create aliases. That's what's generating the error.
Comment #2
green monkey commentedI'm using both
pathauto.module and clean URLs,
Amazon doesn't work with pathauto?
Comment #3
green monkey commentedcan I toggle feature or module off, then do an import, then toggle it back on?
if yes, what?
Comment #4
Prometheus6 commentedOkay, I think I see what happened.
The amazon node type was really created with book reviews in mind. I think if you give the node a title that's different than the book's title it may work.
Importing the books in bulk should work too.
Comment #5
Prometheus6 commentedBy the way, your email server is misconfigured. I've gotten an error message from it for every post in this thread.
Comment #6
green monkey commentedbut that was were I was getting the errors .... in the Import Feature of the Amazon module -- it looks like a very useful tool and I wanted to use it first, not in the mood to edit a 100 pages right now, so the bulk load option looked like the way to go.
so at this point I'm confused, is there a way to get bulk import working?
thanks for the heads up on the email server, yeah it looks like starband.net been having problems all week. I got 3 accounts I can't even pull down from.
Comment #7
Prometheus6 commentedThat is interesting.
I don't see a reason for the problem (which from the error message seems to be an attempt to create the same alias for multiple nodes). Since the alias seems to be made from the node title you may have had two items (for instance a hardcover and paperback version of the same book). I'm guessing because I don't use pathauto and don't really have time to experiment right now.
Anyway, you should be able to shut off pathauto, do your imports and turn it back on. The nodes just won't have an alias, is all.
Comment #8
green monkey commentedthat did it!
I was allowed to Import, but then ran into other issue. Closing this thread - subject line won't relate to new issue.
Comment #9
green monkey commented