Errors in the search for fabrik. joomla 1.7, Fabrik3

kamil

New Member
Hello
I have such mistakes in the search Fabrik:
Fatal error: Call to undefined function plgSearchFabrikAreas() in /srv/www/vhosts/navy-ship.net/httpdocs/navyship/plugins/system/fabrik/fabrik.php on line 84

Other error:
Warning: preg_replace() [function.preg-replace]: Compilation failed: unrecognized character after (? at offset 6 in /srv/www/vhosts/navy-ship.net/httpdocs/navyship/components/com_fabrik/helpers/string.php on line 222

I found on the net that can be removed from the file with line 222 string.php character after? and the message disappears. $ url = preg_replace ('/(.*)(?|&)'.... question of what it takes effect?

Fabrik Tables tab in the menu "Nazwa"
Link: http://navy-ship.net/navyship/index.php/testowa

Configuration: Joomla 1.7.2 : Fabrik 3 (last update)

Google translate
 
I think i've fixed the fatal error on the search plugin.

I've asked hugh about the regular expression as he's a lot better at them than me ;)

-Rob
 
I took a look, and advised Rob to redo the removeQSVar() function to use implode/explode rather than a regex to remove a specific query string arg from a string. Slightly more long winded, but less error prone, and easier to read and maintain.

-- hugh
 
ok should be changed now in the code at github. Can you update and re-test please?

-Rob
 
I took a look, and advised Rob to redo the removeQSVar() function to use implode/explode rather than a regex to remove a specific query string arg from a string. Slightly more long winded, but less error prone, and easier to read and maintain.

-- hugh

Yep, I agree. :D
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top