Hi

I'm using Drupal 6.11

I've enabled Multilingual site with Persian and English

When I try to search a phrase it returns No Result and sometimes errors like this:

Warning: Data too long for column 'referer' at row 1 query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (1, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:12:\"user warning\";s:8:\"%message\";s:840:\"Data too long for column 'referer' at row 1\nquery: INSERT INTO watchdog\n (uid, type, message, variables, severity, link, location, referer, hostname, timestamp)\n VALUES\n (1, 'search', '%keys (@type).', 'a:2:{s:5:\\"%keys\\";s:5:\\"image\\";s:5:\\"@type\\";s:10:\\"searchTerm\\";}', 5, '<a href=\\"/drupal-6.10/?q=search/node/image\\" class=\\"active\\">results</a>', 'http://localhost/drupal-6.10/?q=search/node/ in E:\Apache2\htdocs\drupal-6.10\includes\database.mysqli.inc on line 128

any idea to solve it?

Comments

dddave’s picture

Work through this thread which seems to be about your problem: #107824: Convert {watchdog}.referer and {accesslog}.url from VARCHAR to TEXT

A patch can be found around the end of the thread.

Hope this helps.

In case you use the patch please post in the issue if it worked.