Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I am currently having a problem with a query that is returning a PDO error.
The query that caused this error is meant to search the database table 'technote'. It is included inside of an implementation of
hook_search_execute().
This is the exception:
PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 't.count' in 'field list': SELECT SUM(i.score * t.count) AS calculated_score FROM {search_index} i INNER JOIN {technote} t ON t.id = i.sid INNER JOIN {search_total} t_2 ON i.word = t.word WHERE ( (i.word = :db_condition_placeholder_0) )AND (i.type = :db_condition_placeholder_1) GROUP BY i.type, i.sid HAVING (COUNT(*) >= :matches) ORDER BY calculated_score DESC LIMIT 1 OFFSET 0; Array ( [:db_condition_placeholder_0] => emulator [:db_condition_placeholder_1] => technote [:matches] => 1 ) in SelectQueryExtender->__call() (line 842 of C:\xampp\htdocs\drupal7.7\includes\database\select.inc).
This is the implementation of hook_search_execute() with the query that caused the error.
function legacysearch_search_execute($keys = null){
//Set up mock URL to embed in the link so that when the user clicks it takes them
//to the legacy site
$legacy_url = 'http://technotes.example.com';
I apologize for posting this as a new topic but I was unsure what to do as the previous topic about 'drag and drop not working' had a fix for the individual who wrote in.
However, I have the same problem with regards to reordering my menu lists. "The drag and drop function is not working on my admin site under the "structure" menu. For example, If I go into blocks I cannot drag and drop. When I select something and try to move it it just highlights everything and the drag and drop arrow freezes on, I have to click on another place on the screen to clear it."
but both just bring me to my only content type that I created (I previously created a form which users can post text). So either of the above just brings me to that form which can be filled out and submitted.
I have been looking around for a module that will track website changes. Not just changes to content, but any change that happens to the website, particularly administration and configuration changes.
I subscribe to several mailing lists and notice the same set of questions being repeatedly asked by newbies. So I want to do some data mining/machine learning on the archives of mailing lists and then categorize each new message from mailing list, post it to a proper sub-forum in Drupal and generate feedback automatically. By feedback, I mean if the question is how to do X, then some related old messages of good quality, either decided automatically by the system or by user ratings, will be sent to the OP.