Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2012-03-01 12:34:16
- illi
- New Member
- Registered: 2007-01-08
- Posts: 8
problems with wet_haystack
I installed the wet_haystack plugin for a extended search, about all for the custom fields, but the plugin didn’t work, no results. Here are the two code snippets:
<h3 class=“info”>Menu:</h3>
<txp:cbs_navigation_menu sections=“home,article_list,archive,contact” titles=“Inicio,Lista de artículos,Archivo por categorias,Contacto” break=“p” /> <hr /> <txp:search_input label=“Búsqueda” wraptag=“p” section=“search” />
Resultat:
<h2 class=“title”> <br />Resultados de la búsqueda></h2> <hr />
<txp:if_search_results>
<p>La búsqueda por <strong><txp:search_term /></strong> ha dado los siguientes resultados:</p> <txp:article searchform=“search_form” /> <txp:else /> <p>Desgraciadamente la búsqueda por <strong><txp:search_term /></strong> no ha dado ningún resultado</p> </txp:if_search_results>
I also sent a diagnostic file to Robert, nevertheless he could not find any error. This is the diagnostic file:
Versión de Textpattern: 4.4.1 (r3575)
Última actualización: 2012-02-02 14:51:29/2012-02-07 11:14:05 Document root: /var/www/vhosts/sibaris.info/httpdocs
$path_to_site: /var/www/vhosts/sibaris.info/httpdocs
Ruta a Textpattern: /var/www/vhosts/sibaris.info/httpdocs/textpattern
Modo de enlace permanente: section_id_title
open_basedir: /var/www/vhosts/sibaris.info/httpdocs:/tmp
Ruta al directorio temporal: /tmp
URL del sitio: www.sibaris.info
Versión de PHP: 5.2.4-2ubuntu5.10
Biblioteca de imagen GD: 2.0 or higher; formatos soportados: GIF, JPG, PNG.
Servidor TZ: UTC
Tiempo local del servidor: 2012-02-22 07:51:58 ¿Activar horario de verano?: 0 ¿Ajustar automáticamente la preferencia ‘Horario de verano’?: 1 Zona Horaria: Europe/Madrid (3600)
MySQL: 5.0.51a-3ubuntu5.7
Local: es_ES.UTF-8
Servidor: Apache/2.2.8 (Ubuntu) mod_jk/1.2.25 mod_python/3.3.1 Python/2.5.2 PHP/5.2.4-2ubuntu5.10 with Suhosin-Patch mod_ssl/2.2.8 OpenSSL/0.9.8g mod_perl/2.0.3 Perl/v5.8.8 Versión de Apache: Apache/2.2.8 (Ubuntu) mod_jk/1.2.25 mod_python/3.3.1 Python/2.5.2 PHP/5.2.4-2ubuntu5.10 with Suhosin-Patch mod_ssl/2.2.8 OpenSSL/0.9.8g mod_perl/2.0.3 Perl/v5.8.8 PHP Server API: apache2handler Cabeceras RFC 2616:
Sistema operativo del servidor: Linux 2.6.24-28-generic Plugins activos: rss_suparchive-0.18, rss_if_search_results-0.1, cbs_navigation_menu-0.4, zem_contact_lang-4.0.3.6, zem_contact_reborn-4.0.3.20, glx_if-0.7, wet_haystack-0.6 Tema de administración: classic 4.4.1
Contenidos del archivo .htaccess:
————————————
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#Options -Indexes
#ErrorDocument 403 default
<IfModule mod_rewrite.c> RewriteEngine On #RewriteBase /relative/web/path/
RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L]
RewriteCond %{REQUEST_URI} !=/favicon.ico RewriteRule ^(.*) index.php
RewriteCond %{HTTP:Authorization} !^$
RewriteRule .* – [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>
#php_value register_globals 0
————————————
Charset (default/config): latin1/utf8
character_set_client: utf8
character_set_connection: utf8
character_set_database: utf8
character_set_filesystem: binary
character_set_results: utf8
character_set_server: latin1
character_set_system: utf8
character_sets_dir: /usr/share/mysql/charsets/
17 Tables: OK
10 Campos personalizados: custom_1, custom_2, custom_3, custom_4, custom_5, custom_6, custom_7, custom_8, custom_9, custom_10 (10)
Extensiones de PHP: zip/1.4.0, xmlwriter/0.1, libxml, xml, wddx, tokenizer/0.1, sysvshm, sysvsem, sysvmsg, session, SimpleXML/0.1, sockets, soap, SPL/0.2, shmop, standard/5.2.4-2ubuntu5.10, Reflection/0.1, posix, mime_magic/0.1, mbstring, json/1.2.1, iconv, hash/1.0, gettext, ftp, filter/0.11.0, exif/1.4 $Id: exif.c,v 1.173.2.5.2.20 2007/06/10 20:12:45 iliaa Exp $, dom/20031129, dba, date/5.2.4-2ubuntu5.10, ctype, calendar, bz2, bcmath, zlib/1.1, pcre, openssl, xmlreader/0.1, apache2handler, imap, curl, gd, mysql/1.0, mysqli/0.1, PDO/1.0.4dev, pdo_mysql/1.0.2, pdo_sqlite/1.0.1, SQLite/2.0-dev, xsl/0.1, ionCube Loader
Módulos de Apache: core, mod_log_config, mod_logio, prefork, http_core, mod_so, mod_actions, mod_alias, mod_auth_basic, mod_authn_file, mod_authz_default, mod_authz_groupfile, mod_authz_host, mod_authz_user, mod_autoindex, mod_cgi, mod_dir, mod_env, mod_fcgid, mod_include, mod_jk, mod_mime, mod_python, mod_negotiation, mod_perl, mod_php5, mod_rewrite, mod_setenvif, mod_ssl, mod_status, mod_suexec, mod_userdir, mod_bw
/var/www/vhosts/sibaris.info/httpdocs/index.php:
r3189 (5dfca604bf4976675f92222dd5628b0a)
/var/www/vhosts/sibaris.info/httpdocs/css.php:
r3189 (b53deffeb21070b8d493af6846db8ac3)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/css.php:
r3189 (820df954c923979eabace541888feb4a)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/include/import/import_b2.php:
r3446 (7a044ad474fd04ae61063d0df15e05d8)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/include/import/import_blogger.php:
r3446 (4eade881581bd9932f05a7ff6e2a6e1f)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/include/import/import_mt.php:
r3446 (f0ab362246e60f37d3c52ef3f004e79d)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/include/import/import_mtdb.php:
r3488 (22628f6ba8d15645498ba09eb48bab32)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/include/import/import_wp.php:
r3488 (977d7be6fad569982ad175225e8e4df5)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/include/txp_admin.php:
r3570 (7925fc6a6c15f944ab255a0a7e239dab)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/include/txp_article.php:
r3560 (c12a042e5f56efeb4f5af57be4d42023)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/include/txp_auth.php:
r3571 (dea6f26aa1af3ef10a0dc002f3a397ea)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/include/txp_category.php:
r3534 (37ecab71b01c146dd58da97d9b5c6439)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/include/txp_css.php:
r3535 (8cbc6b0e164b1cb790bea0264e867915)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/include/txp_diag.php:
r3521 (fac584135850fcae546cb8c59bf94688)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/include/txp_discuss.php:
r3569 (9e1d3b6ab40fde25a41d192e5f573ef7)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/include/txp_file.php:
r3569 (a1848e934804174886ae3b57d418ebd2)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/include/txp_form.php:
r3560 (06f2ddc008dbc82ce8d50af615f5f1a0)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/include/txp_image.php:
r3569 (a77c218d6db978157ec9f289d561cd33)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/include/txp_import.php:
r3556 (f8187a926ca6a379c1b0dd79fc194bec)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/include/txp_link.php:
r3569 (412a2382de98901a535548e5cf2def96)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/include/txp_list.php:
r3569 (91d67b3a1576a5dee3a128a03cdf9f04)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/include/txp_log.php:
r3569 (fd8cd943143eb3537074563625521033)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/include/txp_page.php:
r3560 (180b3a6b8669add7dab51a67ec76f89b)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/include/txp_plugin.php:
r3551 (51152310c17015cf906fb26ddaa68275)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/include/txp_prefs.php:
r3555 (6e844f30b97b1454c3d201914a2464a9)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/include/txp_section.php:
r3552 (89aacca63f7afc9fe28dc111cb61fa5d)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/include/txp_tag.php:
r3560 (d22e90318bd6fdf006198ebd33c5e6b3)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/index.php:
r3575 (c2c7bf18468d74254c77570a9573b46b)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/jquery.js:
unknown (a34f78c3aecd182144818eb4b7303fda)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/lib/IXRClass.php:
r3394 (e0b53564e1504316b35872309780edab)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/lib/admin_config.php:
r3559 (52d8b15bbf633de98c565252b9ef8ceb)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/lib/class.thumb.php:
r3301 (78f52a89b91018c8fa00ddd73cd398f5)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/lib/classTextile.php:
r3566 (03d537017f6fc1f43535fa8d18f4cd48)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/lib/constants.php:
r3488 (aa0ea1b5749497d3b19f0ed07acccaa2)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/lib/taglib.php:
r2868 (5738c5e31820cda422f32701c71cb77e)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/lib/txplib_admin.php:
r3488 (e7f66b6f8cc7e5a51eb05555ad3cb6dc)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/lib/txplib_db.php:
r3389 (0e7462a104d815a33d25c5a6e775f84d)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/lib/txplib_forms.php:
r3531 (a4dbb070460ecc5698ab80bba2cdfe5b)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/lib/txplib_head.php:
r3560 (1a82941e28253d6df3735c05df5f7ebd)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/lib/txplib_html.php:
r3569 (84ee78759355041d1ebb2c36bf565d80)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/lib/txplib_misc.php:
r3569 (ea1314b56962fc9c67885691d977a3c5)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/lib/txplib_theme.php:
r3388 (51ad413813a10071873571304bea9f97)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/lib/txplib_update.php:
r2812 (52029367bf0aef18c1879d5ff2cf3d46)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/lib/txplib_wrapper.php:
r2931 (17472ff98d9ffb3dbcc9ebdf222d11ac)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/publish.php:
r3500 (e3bba9bec573b33dea759c0344db96a8)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/publish/atom.php:
r3399 (f4470b45eedc8e1ad4a48f8e74b45233)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/publish/comment.php:
r3395 (9e8596ada0a85ebdd52e1548fda81314)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/publish/log.php:
r3505 (8401dab65b91b1b1021fc876daf473bd)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/publish/rss.php:
r3399 (f8cb3ec280bffb8a15832ee3143f576c)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/publish/search.php:
r2812 (e2355f5b045bf80acc3a52ba32dddb1a)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/publish/taghandlers.php:
r3567 (6e87e8065d71acaa25512f8901d57938)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/textpattern.js:
r3560 (d0f6e8f931eb32d945112b712a45e32b)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/theme/classic/classic.php:
r3191 (f5337d226aef1552c4d4d99fe3bee912)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/update/_to_1.0.0.php:
r3047 (d631745cc332531712480f2bd6dfae29)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/update/_to_4.0.2.php:
r3462 (a08e1b95ea2256a33effab779989d1fd)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/update/_to_4.0.3.php:
r3047 (888328073220c66f316c1f04e5498692)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/update/_to_4.0.4.php:
r3047 (3da0f3b179ad98a49f8846c4e328cd0d)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/update/_to_4.0.5.php:
r2894 (e5150247c0e2d8882f65e24c938df1d6)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/update/_to_4.0.6.php:
r3047 (faeb0eaa7c042d18e79ded54ad3f68b3)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/update/_to_4.0.7.php:
r3014 (59dfb80496aa6f8bbcb486f26488f65d)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/update/_to_4.0.8.php:
r3057 (89382671f0509e1d880707bbd293f86c)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/update/_to_4.2.0.php:
r3480 (7bb41aac414aff7fa81cf960b5a42c1c)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/update/_to_4.3.0.php:
r3304 (59fcf5b4e1dc7870d6729c63b824e55f)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/update/_to_4.4.0.php:
r3498 (4b3bd3eadb29f3a9df6398126e137a87)
/var/www/vhosts/sibaris.info/httpdocs/textpattern/update/_update.php:
r3575 (3386cdffb48e0b00c2b77e00ef57daec)
Then I uninstalled the plugin and my surprise was that now the normal txp:search doesn’t work showing no search result. I looked at the database and it seems that there all is allright.
Finally I changed all and now I use the rss_live_search Plugin wich works without any problem. The content of the custom fields I copy also in a txp:hide tag in the article body and so the search con find them. The only thing is that this solution seems a little messy to me.
So anybody can help me to make the wet_haystack plugin to work?
My site is www.sibaris.info (It is only in Spanish, sorry)
Thanks
Gerhard Illi
Offline
Re: problems with wet_haystack
Wellcome to wet_haystack
support thread.
aks_cron : Cron inside Textpattern | aks_article : extended article_custom tag
aks_cache : cache for TxP | aks_dragdrop : Drag&Drop categories (article, link, image, file)
Offline
#3 2012-03-05 17:48:15
- illi
- New Member
- Registered: 2007-01-08
- Posts: 8
Re: problems with wet_haystack
Hi makss,
yes, I know that exists this forum about wet_haystack, but there was no solution for my problem, so I decided to open this one.
Offline
Re: problems with wet_haystack
Illi, have you checked that
1) the sections’ option for “Include in site search” are set to “on”? (check this in “Presentation -> Sections” tab)?
Alternatively, you could try adding the searchall="1"
attribute to your <txp:article />
tag.
Check textpattern.net/wiki/index.php?title=article
2) the articles are not set to status “sticky”?
If so, try adding the searchsticky="1"
attribute to your to your <txp:article />
tag.
Offline
Pages: 1