Drupal: 6.22
PHP: 5.3
Anonymous users get this error when enabling the Ip2cc backend:

Fatal error: Call to undefined function filter_xss_bad_protocol() in /home/sitename/public_html/includes/common.inc on line 1442

The tricky thing is I don't get it on the dev server, but get it on the production server.

CommentFileSizeAuthor
#1 fatalerror-1299552.patch398 bytesstongo

Comments

stongo’s picture

StatusFileSize
new398 bytes

I believe this is a php 5.3 related error.
The problem was in the hook_boot. When your modules includes "./includes/common.inc", that include calls a function declared in the Filter module (filter_xss_bad_protocol), so I added a drupal_load to load the Filter module and this fixed it.
Here's a patch.

stongo’s picture

Status: Active » Needs review