DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:searchpattern

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
plugin:searchpattern [2020-08-26 19:22] willsteward2016@gmail.complugin:searchpattern [2022-09-29 18:21] – [Discussions] Instance of plugin not working 80.209.162.130
Line 415: Line 415:
 My wiki crashed with a blank screen on entry & loss of all files when looking at it with cpanel or filezilla. This was during an attempt to upgrade from Greebo to Hogfather. While rebuilding from scratch it crashed again as I installed SearchPattern plugin, this time with failure to load login. It worked again after I deleted the searchpattern subdir from lib/plugins. I  don't have any idea what is going on but I'm thinking that SearchPattern introduced some fatal condition. My wiki crashed with a blank screen on entry & loss of all files when looking at it with cpanel or filezilla. This was during an attempt to upgrade from Greebo to Hogfather. While rebuilding from scratch it crashed again as I installed SearchPattern plugin, this time with failure to load login. It worked again after I deleted the searchpattern subdir from lib/plugins. I  don't have any idea what is going on but I'm thinking that SearchPattern introduced some fatal condition.
  
-I can see that making SearchPattern involved a lot of work, and I really would like a regex capability.  maybe I'll try to install it some later time.+I can see that making SearchPattern involved a lot of work, and I really would like a regex capability.  maybe I'll try to install it some later time. //---<<willsteward2016@gmail.com>> 2020.08.26// 
 + 
 +---- 
 +As WillSteward posted I also get a non functioning wiki when installing the plugin.  I've tried on two different instances and get the same error although both instances have similar plugins so I've not yet ruled out if there is a clash with another plugin. 
 + 
 +The error I get is :  
 + 
 +''dokuwiki\Exception\FatalException: Declaration of syntax_plugin_searchpattern::handle($match, $state, $pos, &$handler) must be compatible with dokuwiki\Extension\SyntaxPlugin::handle($match, $state, $pos, Doku_Handler $handler) 
 +An unforeseen error has occured. This is most likely a bug somewhere. It might be a problem in the searchpattern plugin. 
 + 
 +More info has been written to the DokuWiki error log.'' 
 + 
 +This is in a big banner at the top of the page with no other text showing.  It happens on all pages, whether or not they contain the markup for the plugin.  Deleting the plugin folder restores a working wiki.  2022-09-29 
 + 
 + 
plugin/searchpattern.txt · Last modified: 2024-03-29 12:24 by 87.174.165.192

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki