1
capbat
The search funtion does not work.
  • 2008/3/2 18:51

  • capbat

  • Just popping in

  • Posts: 10

  • Since: 2006/3/28


Hi all.
I am with XOOPS 2.0.16 I am having problems with the search function.

When I search for something the systems gives me the first 5 instances of the words searched. But when I click 'Show All Results' I get a blank page. I have put the site under debug and found the results below.
It seems that the main error line is:
Fatal error: Call to a member function search() on a non-object in D:\domains\sdmf.biz\wwwroot\ArtCulture\search.php on line 211.

Look like the 'Search.php' file can not find the search() function. Where would the search() function be? It is not in main file and I though it should be in the 'Search.php' file but when I search those two files I can't see any 'search()' text anywhere.

Your help is always appreciated.






Fatal error: Call to a member function search() on a non-object in D:\domains\sdmf.biz\wwwroot\ArtCulture\search.php on line 211
All errors (2) queries (62) blocks (9) extra (0) timers (5)
Errors
Notice: Object of class XoopsModule could not be converted to int in file /kernel/user.php line 214
Notice: Object of class XoopsModule could not be converted to int in file /kernel/groupperm.php line 309
Queries
SELECT * FROM xoops_config WHERE (conf_modid = '0' AND conf_catid = '1') ORDER BY conf_order ASC
SELECT sess_data FROM xoops_session WHERE sess_id = 'rt2n3mert6fqll70boiqvs6k04'
SELECT * FROM xoops_users WHERE uid=1
SELECT * FROM xoops_config WHERE (conf_modid = '0' AND conf_catid = '6') ORDER BY conf_order ASC
DELETE FROM xoops_protector_access WHERE expire < UNIX_TIMESTAMP()
SELECT COUNT(*) FROM xoops_protector_access WHERE ip='205.237.65.136' AND request_uri='/ArtCulture/search.php?query=association&mid=5&action=showall&andor=AND'
SELECT COUNT(*) FROM xoops_protector_access WHERE ip='205.237.65.136'
INSERT INTO xoops_protector_access SET ip='205.237.65.136',request_uri='/ArtCulture/search.php?query=association&mid=5&action=showall&andor=AND',expire=UNIX_TIMESTAMP()+'60'
SELECT * FROM xoops_config WHERE (conf_modid = '0' AND conf_catid = '5') ORDER BY conf_order ASC
SELECT * FROM xoops_group_permission WHERE (gperm_name = 'module_read' AND gperm_modid = '1' AND (gperm_groupid = '1' OR gperm_groupid = '2' OR gperm_groupid = '5'))
SELECT COUNT(*) FROM xoops_banner
SELECT * FROM xoops_banner LIMIT 3, 1
UPDATE xoops_banner SET impmade = impmade+1 WHERE bid = 21
SELECT * FROM xoops_config WHERE (conf_modid = '0' AND conf_catid = '3') ORDER BY conf_order ASC
SELECT DISTINCT gperm_itemid FROM xoops_group_permission WHERE gperm_name = 'block_read' AND gperm_modid = 1 AND gperm_groupid IN (1,2,5)
SELECT b.* FROM xoops_newblocks b, xoops_block_module_link m WHERE m.block_id=b.bid AND b.isactive=1 AND b.visible=1 AND m.module_id=0 AND b.bid IN (25,41,1,37,3,42,33,31,28,27,26,24,23,22,21,20,19,18,17,16,29,15,38,14,13,12,30,11,45,10,32,9,6,7,36,8,35,5,4,2,43,44,59,86,58,47,48,50,51,54,81,61,62,63,64,65,66,67,68,72,88,85,79,83,84,124,89,90,94,95,117,115,114,136,150,128,135,139,141,143,147,184,157,159,162,167,161,163,165,166,168,169,176,173,175,179,201,185,187,198,197,196,203,202,193,194,195,199,200) ORDER BY b.weight,b.bid
SELECT * FROM xoops_modules WHERE (hasmain = '1' AND isactive = '1' AND weight > '0') ORDER BY weight ASC, mid ASC
SELECT * FROM xoops_group_permission WHERE (gperm_name = 'module_read' AND gperm_modid = '1' AND (gperm_groupid = '1' OR gperm_groupid = '2' OR gperm_groupid = '5'))
SELECT * FROM xoops_modules WHERE dirname = 'news'
SELECT * FROM xoops_config WHERE (conf_modid = '3') ORDER BY conf_order ASC
SELECT * FROM xoops_modules WHERE dirname = 'formulaire'
SELECT f.id_form, f.desc_form, f.help , m.indent, m.margintop, m.marginbottom, m.itemurl, m.bold FROM xoops_form_id f LEFT JOIN xoops_form_menu m on f.id_form = m.menuid WHERE f.qcm = 0 and m.status =1 ORDER BY m.position
SELECT * FROM xoops_smiles
SELECT * FROM xoops_modules WHERE dirname = 'rw_banner'
SELECT id FROM xoops_rw_tags ORDER BY id ASC
SELECT * FROM xoops_rw_tags WHERE id=1
SELECT id FROM xoops_rw_tags ORDER BY id ASC
SELECT * FROM xoops_rw_tags WHERE id=1
SELECT id FROM xoops_rw_tags ORDER BY id ASC
SELECT * FROM xoops_rw_tags WHERE id=1
SELECT id FROM xoops_rw_tags ORDER BY id ASC
SELECT * FROM xoops_rw_tags WHERE id=1
SELECT id FROM xoops_rw_tags ORDER BY id ASC
SELECT * FROM xoops_rw_tags WHERE id=1
SELECT id FROM xoops_rw_tags ORDER BY id ASC
SELECT * FROM xoops_rw_tags WHERE id=1
SELECT id FROM xoops_rw_tags ORDER BY id ASC
SELECT * FROM xoops_rw_tags WHERE id=1
SELECT id FROM xoops_rw_tags ORDER BY id ASC
SELECT * FROM xoops_rw_tags WHERE id=1
SELECT id FROM xoops_rw_tags ORDER BY id ASC
SELECT * FROM xoops_rw_tags WHERE id=1
SELECT id FROM xoops_rw_tags ORDER BY id ASC
SELECT * FROM xoops_rw_tags WHERE id=1
SELECT id FROM xoops_rw_tags ORDER BY id ASC
SELECT * FROM xoops_rw_tags WHERE id=1
SELECT id FROM xoops_rw_tags ORDER BY id ASC
SELECT * FROM xoops_rw_tags WHERE id=1
SELECT lid, cid, title, date, hits FROM xoops_mylinks_links WHERE status>0 ORDER BY date DESC LIMIT 0, 5
SELECT id FROM xoops_rw_tags ORDER BY id ASC
SELECT * FROM xoops_rw_tags WHERE id=1
SELECT id FROM xoops_rw_tags ORDER BY id ASC
SELECT * FROM xoops_rw_tags WHERE id=1
SELECT COUNT(*) FROM xoops_priv_msgs WHERE (read_msg = '0' AND to_userid = '1')
SELECT * FROM xoops_config WHERE (conf_modid = '17') ORDER BY conf_order ASC
SELECT id FROM xoops_rw_tags ORDER BY id ASC
SELECT * FROM xoops_rw_tags WHERE id=1
SELECT codigo FROM xoops_rw_banner WHERE categoria=1 and status=1 ORDER BY RAND() LIMIT 0,1
SELECT * FROM xoops_rw_banner WHERE codigo=2
SELECT larg FROM xoops_rw_categorias WHERE cod=1
SELECT alt FROM xoops_rw_categorias WHERE cod=1
UPDATE xoops_rw_banner SET categoria="1", titulo="", texto="", url="http://www.sdmf.biz/tarification/tarification.htm", grafico="http://sdmf.biz/sadl/images/banners/Bannierefaitesvousvoir770X90.jpg", usarhtml="0", htmlcode='', showimg="1", exibicoes="9775", maxexib="0", clicks="1", maxclick="0", periodo="0", status="1", target="_blank", idcliente="2" WHERE codigo= 2
Total: 62 queries
Blocks
Connexion: No Cache
Menu Principal: No Cache
Recherche: No Cache
Liste des formulaires: No Cache
Liens récents: No Cache
Bloc Personnalisé (Format Auto + émoticônes): No Cache
Bloc Personnalisé (HTML): No Cache
Menu Utilisateur: No Cache
Bloc Personnalisé (HTML): No Cache
Total: 9 blocks
Extra
Timers
XOOPS took 0.315 seconds to load.
XOOPS Boot took 0.068 seconds to load.
Module init took 0.023 seconds to load.
XOOPS output init took 0.190 seconds to load.
Module display took 0.034 seconds to load.

2
capbat
Re: The search funtion does not work.
  • 2008/3/4 15:55

  • capbat

  • Just popping in

  • Posts: 10

  • Since: 2006/3/28


I guess nobody can help me here....

Where are the specialists?

Login

Who's Online

149 user(s) are online (77 user(s) are browsing Support Forums)


Members: 0


Guests: 149


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits