Welcome to Geeklog, Anonymous Monday, October 14 2024 @ 09:21 pm EDT

Geeklog Forums

Search Problem


Anonymous

Anonymous
Hello. Something seems to be messed up with my search function on my GL site. I am running 1.3.7 on a RH 7.3 machine with Apache 1.3 and php v4.1.2. When I enter something in a search field I get this error: Fatal error: Call to a member function on a non-object in /var/www/html/geeklog/system/lib-plugins.php on line 338 I have searched the code and it appears that some plugin is unable to reset or something of that sort. Has anyone else encountered this error. If so, how would you suggest I go about fixing it? Any help is appreciated!
 Quote

theonomine

Anonymous
I had that same very problem. You aren't perchance running classifads? When I got rid of that plugin, the search functioned. If you're not running classifads, I recommend that you disable all your plugins. Enable one at a time and run a seach after you enabled it. This will narrow the list of possible culprits.
 Quote

Status: offline

vinny

Site Admin
Admin
Registered: 06/24/02
Posts: 352
Location:Colorado, USA
If you are still having problems after trying the above, write a comment letting us know which plugins you have installed. That information is probably _very_ relavent to this problem. -Vinny
 Quote

Anonymous

Anonymous
OK. I found the source of the problem. It is not the classifads plugin, but the file management. When I disable that plugin, the search seems to work fine, but when enabled, I get that error. Is there anything I can do to fix that? The File Management plugin is widely used on our GL site, so it will need to remain enabled. Thanks for all the feedback!
 Quote

Status: offline

vinny

Site Admin
Admin
Registered: 06/24/02
Posts: 352
Location:Colorado, USA
Well, the first thing you can try is commenting out the plugin_searchtypes_{plugin_name} and plugin_dopluginsearch_{plugin_name} functions in the functions.inc file for the plugin. Unfortunately you'll lose search functionality for the plugin if you do this. If that doesn't work, or you need the search functionality, I'd suggest that you talk to the plugin's developer(s). And if all else fails you can always try to reinstall the plugin. -Vinny
 Quote

Anonymous

Anonymous
I did comment those functions out and now it seems to work. This is a good temporary solution until I figure out how to fix it, or reinstall file management. Thanks for the help.
 Quote

Anonymous

Anonymous
I am experiencing exactly the same problem with the search function and the filemgmt plugin. <br><br> I am using Geeklog 1.3.7sr1 on Apache 2.??, Linux 8 and PHP 4.? with the following plugins: Classifads StaticPages (part of GL) File Managment (filemgmt)<br><br> If I disable the Classifads plugin or (||) the filemgmt plugin, the search works fine, however when they are both enabled the search fails (Fatal error: Call to a member function on a non-object in /var/www/html/geeklog/system/lib-plugins.php on line 338)<br><br> Being relatively new to Geeklog, I haven't dug into discovering the core problem yet, however I have traced the obvious by printing out object states between iterations and discovered that a call is made to <b>$cur_plugin->reset();</b> on the iteration that processes the filemgmt plugin, the <b>$cur_plugin</b> is not a valid object.<br> What I need to know (figure out) is where the $cur_plugin object is populated?<br><br> Thanks in advance Smile<br> Justin B.<br> jbraathen@charter.net
 Quote

All times are EDT. The time is now 09:21 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content