I'm converting a site with several hundred static html pages to drupal (by lightly parsing the pages with perl, then directly inserting data into the node and term_node mysql tables). I ran cron.php and began to experiment with searching. If my search input contains an apostrophe, I get the following error:
user error: You have an error in your SQL syntax.
Check the manual that corresponds to your MySQL server version for the ]
right syntax to use near 's increasingly succesful efforts%' OR n.body LIKE '%MAB will he
query: SELECT n.*, e.* FROM event e INNER JOIN node n
ON n.nid = e.nid WHERE
(n.title LIKE '%MAB will help guide ISNA's increasingly succesful efforts%'
OR n.body LIKE '%MAB will help guide ISNA's increasingly succesful efforts%' OR
n.teaser LIKE '%MAB will help guide ISNA's increasingly succesful efforts%' OR
e.location LIKE '%MAB will help guide ISNA's increasingly succesful efforts%')
ORDER BY n.changed DESC LIMIT 0, 20 in
/Library/WebServer/Documents/drupal/includes/database.mysql.inc on line 90.
1. This doesn't happen on drupal.org, but it does happen on northbaydean.org. Is this a known bug that is fixed in cvs? If search.module is interpolating the text of the user's search input directly into sql, that sounds like a scary security hole.
2. Also, is there a way to search just drupal bug reports?
I just upgraded to the event module 4.3.0. The table structure has changed quite a bit from the old event table. Is there a script out there that I can use to migrate my old event data to my new table structure?
I've got a 4.3.2 stock system with the book.module and htmlarea.module. I've noticed that when using htmlArea to edit text blocks in the book module, there are severe problems. Primarily, if you edit text in the WYSIWYG mode, then submit, all of the content is LOST. However, if you toggle to HTML Source mode, then submit, the content is submitted and saved properly.
This just caused me over 2 hours of lost content editing time - as I failed to "view" the content after submitting it.
I am having a little bit of trouble getting it so annonymous users can post an event. Only thing is i dont want event to publish itself i would like it to go into a que. Also I am setting up the event module as the default page so i would like to remove it from the navigation menu. How do i do this? Please help.....Thanks in advance for any assistance i may get in regards to my issues.
I set up drupal with the administrator account named "admin". I created a fair amount of content using this account. Then I decided that I wanted to have the administrator account be named "dewey", so I renamed the account.
I can no longer log in. I have tried to have my password reset using the "dewey" user name and the email address, but none of the passwords work with either the name "dewey" or the name "admin".
I have access to "user" (or anything else for that matter) in the mysql database. Is there anything I can do there to reset the password?