hi
i have me make a field who i can highlight code with codefilter. all was working fine. but now with the new 6.x-1.x-dev, xxxx-xx-xx i read and see only "Array" in the field. the same is when i try to highlight the code with php tags. i´m in use of PHP 5.2.13
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | codefilter_1019194_3.patch | 1.19 KB | Anonymous (not verified) |
| 0543256346457.gif | 1.45 KB | eule |
Comments
Comment #1
Anonymous (not verified) commentedI'm also experiencing this issue. I upgraded to the dev version on my Atrium site to fix spacing issues with codefilter and now all that's being output is 'Array'...
Comment #2
Anonymous (not verified) commentedIt seems this is the only major change to codefilter that could have caused this bug: #890622: Remove the use of /e (Completely broke Codefilter module in D6!)
Comment #3
Anonymous (not verified) commentedOk, I think I found the issue. I believe it's something to do with the argument passed to the different callback functions...
I don't know much about regular expressions or preg_replace_callback() functions, but from what I read and tested, this patch seems to have fixed it.
Comment #4
duntuk commentedThanks, the patch worked.
Comment #5
crystaldawn commentedThis patch does NOT work correctly. If you have NOTHING above the <?php tag, then the "array" word shows up again. But as soon as I placed some verabage above it, the highlighting worked fine.
Comment #6
Marko B commentedI am having the same problem in DEV version.
Comment #7
jennifer.chang commentedcodefilter does not work at all.
Comment #8
Marko B commentedHere is a fix for this http://www.drupaldump.com/code-filter-fix-and-help
Comment #9
jcisio commentedThis is being fixed at #890622: Remove the use of /e (Completely broke Codefilter module in D6!)