Parsing error on mass quote entry
boettden - September 8, 2007 - 16:18
| Project: | Quotes |
| Version: | 5.x-1.1 |
| Component: | User interface |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Hi! I'm using Quotes 5.x-1.1 on Drupal. I'm trying to mass-import quotes into the website. The quotes are saved in a text file, using one quote per line, with a tab separating the quote and the author. I copy a part of text file, insert the copied portion in the appropriate box on the appropriate page (we also have TinyMCE working on the website), then click Preview ... and when the screen comes back, I get a "parse error on line 1."
What am I doing wrong? What needs to be fixed?

#1
#2
I'm having the same problem with tab separated quotes on mass import. I keep getting the error "Parse error on quote 59." 59 is the last line; if I take out that line I just get the same error except on quote 58, and so on.
Quotes 5.x-1.1, Drupal 5.3
#3
First thought: do you have a newline after the last one? I believe it is required.
Second thought: This is definitely a case where TinyMCE needs to be turned off before pasting the text.
#4
#5
@boettden - don't "Preview" when mass importing. I'm not even sure what "preview" means in the context of a mass import. The validation routine will check that the file can be parsed before allowing the submit to actually happen.
@jenna - is this tab-delimited or fortune format?
#6
Tab-delimited.
Actually, I did resolve this way back in November, but I did not swing back by and document how, and at this point I can't remember what the solution was. This makes me a sub par Drupal user, I must say. :) I hopped back on the same site and tried to recreate my "solution", but I keep running into the same error now.
None of my quotes had authors, and I can say with some confidence that neither adding a tab after the author-less quote nor adding a newline after the last quote (nor both in combination) resolves the error.
#7
Hmm, I don't have these problems. Have you tried using 5.x-1.3?
#8
No response.
#9
i do! i do have the same problem!
#10
I know it is pretty lame but what worked was adding a backslash after the tab (instead of author) in the last quote, and then manually editing that last quote once successfully imported