Closed (fixed)
Project:
Flexifilter
Version:
6.x-1.1-rc1
Component:
Code - Misc
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Feb 2008 at 00:05 UTC
Updated:
21 Mar 2008 at 22:21 UTC
Two things I noticed were broken in php 4:
(1) Cannot save flexifilters,
(2) stripos() function is undefined.
This qualifies as critical because it is a show-stopper for php 4-driven sites.
Comments
Comment #1
bstanfield commentedI'd really like to use the MediaWiki filter on a new site I'm working on, but don't have the option of PHP 5. I'd love to see this stripos bug fixed.
I'm not much of a code slinger, but I did find this:
If you're using PHP < 5, you can use this alternate function, same thing like stripos:
Not sure if that's of any help or not.
Comment #2
cwgordon7 commentedYes, this is certainly possible; however, it seems to be more than this, as saving a filter does not work either. But I'm happy to commit this once I hear from Corsix.
Comment #3
huayen commentedSame problem on my PHP 4 driven site.
Definitely qualified as a critical issue.
Comment #4
cwgordon7 commentedJust the stripos error? Or also the save error?
Comment #5
huayen commentedAs I submit posting the node, an error page came out, saying something like "..../sites/modules/flexifilter... *** function ..not defined..." (sorry I already uninstalled the module, so not remember exactly what the error looked like). So, the module completely not worked.
Comment #6
huayen commentedFollowing error occured for both 'Save' and 'Preview'
-----------------------------
Fatal error: Call to undefined function: stripos() in /home/.../sites/all/modules/flexifilter/flexifilter.components.inc on line 480
Comment #7
cwgordon7 commentedThe stripos() error has been fixed and committed to HEAD and the DRUPAL-6--1 branch.
Comment #8
huayen commentedI downloaded '6.x-1.1-rc1' version again, installed, but still the same problem. Did you updated the released file? Thanks.
Comment #9
cwgordon7 commentedBy definition of being a release, it is never updated. The fixes are currently solely available in CVS HEAD and CVS DRUPAL-6--1. A 6.x-1.1 release is awaiting several other pending patches.
Comment #10
bstanfield commentedJust wanted to extend my thanks for the quick fix. My site's up and running with the HEAD version.
Comment #11
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.