I am an extremely happy drupal user -- not just for its functionality, but also for the community support. When stumped, I have always been able to find the answer in the forums. I am hoping to 'go to the well' yet again...

With the 4.6 release, I have gotten buy-in to deploy our company's in-house IT site using Drupal -- and all went well -- except for one annoying problem I have encountered with the search module. While I am a fairly well-versed web developer, I've little experience with Drupal's internals. I am hoping someone here can help.

The problem: Regardless of selected theme (or browser used), any search attempt results in a 'corrupted' search form node being generated -- that is, some of the html code for the search form is partially displayed as content (rather then rendering as a form), and any query fails to find the intended target.

Here's an URL that will demonstrate the problem:
https://www.themiddlenetwork.com/search/node/Test
(accept cert when warned)

I am pretty sure it's my own fault -- I'm using some CVS versions of modules (I know :( ) -- I've had to tweak here and there, and if I could get this one bug fixed I am golden.

Software Version:

  • apache 2.0.53
  • mod_php 4.3.11-r2 /w turck-mmcache and (ob_gzhandler enabled)
  • mysql

Modules installed: aggregator.module, archive.module, block.module, blog.module, blogapi.module, book.module, bookmarks, captcha, chatbox, comment.module, contact.module, contact_dir, customerror, drupal.module, event, feedback, filebrowser, filter.module, forum.module, front, help.module, legacy.module, locale.module, location, mail_archive, mailhandler, members, menu.module, menu_otf, node.module, notify, page.module, path.module, ping.module, poll .module, profile.module, queue.module, remindme, search.module, sitemenu, statistics.module, stock, story.module, subscriptions, system.module, taxonomy.module, throttle.module, tinymce, tracker.module, upload.module, user.module, watchdog.module, weblink

My guess is TinyMCE.

Does anyone have a tip for troubleshooting the cause of this problem?

TIA

--
Whitney Williams

Comments

Whitney’s picture

Missing argument 2 for do_search() in /var/www/www.themiddlenetwork.com/htdocs.ssl/modules/search.module on line 472.


Missing argument 2 for do_search() in /var/www/www.themiddlenetwork.com/htdocs.ssl/modules/search.module on line 472.

This is repeated twice for failed queries, and this is the code

function do_search($keywords, $type, $join = '', $where = '1', $variation = true)
{
...

Something is callling this with only one argument?


htmlspecialchars() expects parameter 1 to be string, array given in /var/www/www.themiddlenetwork.com/htdocs.ssl/includes/common.inc on line 558.

This is the code

function check_plain($text) {
==>  return htmlspecialchars($text, ENT_QUOTES);
}

Whitney’s picture

Calendar displays » and « rather than rendered entities.

Whitney’s picture

Must use contact_dir in 4.6 release, weblinks disbaled for now -- entity rendering in calendar still broken.

Thanks for your quick reponse.