Posted by desm0n on June 6, 2006 at 7:12pm
Jump to:
| Project: | Taxonomy Easy Filter |
| Version: | 4.7.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | zealy |
| Status: | closed (fixed) |
Issue Summary
After enabling the module and going to the setup section, altering some settings and try to submit i get
Fatal error: Call to undefined function: array_intersect_key() in /home/weplycom/public_html/porttalbotchat-co-uk/modules/taxonomy_ezfilter/taxonomy_ezfilter.module on line 92
Now i can no longer access the setup page for this module.
Tried both CVS abd 4.7 versions with the same result.
Comments
#1
Array_intersect_key() is a php5 function(PHP 5 >= 5.1.0RC1), but you can use it in older php by PEAR package PHP_Compat.
See also:
Function array_intersect_key document at php.net, there are some workarounds for older php in user's comments.
PHP_Compat Package at pear.php.net
Thank you.
#2
Ah thats a real shame as i'm on a shared host and its likely they will not add that.
I'll have to try that other taxonomy filter but i had high hopes for yours.
Maybe you should update documentation to reflect that this is needed as many of php 4 are likely not to have it.
Thanks for your prompt response.
#3
I have intergrated a workaround for array_intersect_key() for php <5.1. So this module can support php 4.3+, because array_intersect_assoc() need php 4> 4.3.0 or php 5.
#4
thats great. Is it now including in the CVS ?
I'm really eager to try the module .
#5
yes, download and cvs are all updated.
#6