Fatal error: Call to undefined function input_name_to_filter

Found a bug? Tell us!!
Post Reply
chrisT33
Regular
Posts: 43
Joined: Wed Sep 20, 2006 9:36 am

Fatal error: Call to undefined function input_name_to_filter

Post by chrisT33 »

i wanted 5 minutes ago to open my blog and here is what i see :|

Code: Select all

Fatal error: Call to undefined function input_name_to_filter() in /home/blog/include/compat.inc.php on line 104
this morning everything was ok and i didn't do anything to it :(


what could be the problem? :(
chrisT33
Regular
Posts: 43
Joined: Wed Sep 20, 2006 9:36 am

Post by chrisT33 »

this is line 104:


if (extension_loaded('filter') && input_name_to_filter(ini_get('filter.default')) !== FILTER_UNSAFE_RAW) {
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

Check out the Serendipity blog. Your provider just updated to PHP 5.2.0 for security reasons. You need to update to Serendipity 1.0.3 or one of the new betas.
Judebert
---
Website | Wishlist | PayPal
chrisT33
Regular
Posts: 43
Joined: Wed Sep 20, 2006 9:36 am

Post by chrisT33 »

i also found this now: http://www.s9y.org/forums/viewtopic.php?t=7281

sorry :(


i will make the update now...
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

No apology required. When your blog goes out, it's easy to panic.

And we're happy to provide the answers you need.
Judebert
---
Website | Wishlist | PayPal
chrisT33
Regular
Posts: 43
Joined: Wed Sep 20, 2006 9:36 am

Post by chrisT33 »

Serendipity 1.1-beta5 doesn't fix this problem?


anyway... i guess not

I have on my blog 1.1-beta1 and i prefer working on it... for now I just commented those lines [104-117] - is it a problem ?
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

I thought the 1.1 betas already resolved this. Garvin?

Commenting out the lines should do the job.
Judebert
---
Website | Wishlist | PayPal
chrisT33
Regular
Posts: 43
Joined: Wed Sep 20, 2006 9:36 am

Post by chrisT33 »

i can assure you the problem it's not fixed on 1.1-beta1 [unless i've done something not good at the update :P]
mgroeninger
Regular
Posts: 546
Joined: Mon Dec 20, 2004 11:57 pm
Contact:

Post by mgroeninger »

The nightly snapshots should have the fix...

Php 5.2 was released Nov 2nd. I think this fix was added sometime around a week ago (say the 3rd or 4th), while 1.1beta5 was released October 18th...

It might be worth releasing another beta, but I don't know the schedule for releases. (I'd be +1 for another beta, I guess, if there is a vote.)
Post Reply