Problem with query.

Hello,

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';

//Set up and execute the query

In need of a Matrix field token module

Hello,
We're looking for a module that will make tokens of the individual cell data from tables created by the D7 Matrix field module (http://drupal.org/node/1059844#comment-4654846 - http://drupal.org/project/matrix)

If you're interested, please send me an cost and time estimate. Thanks.

Menu drag and drop not working (show row weights button not an option).

Hello there,

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."

So simple? Adding a new page?

Could someone please tell me how to add a front page? just want to show some text on the front page - maybe an image too.

I cant seem to find a way to add a page in D7!

I tried clicking add content, I also tried putting this in the url http://localhost:8082/node/add

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.

Track all Admin Changes

Hello,

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.

Monitoring mailing lists with Drupal and generate entries in forum

Hello Drupal World!

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.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x