Page 1 of 1
Fatal error: Call to undefined function input_name_to_filter
Posted: Thu Nov 09, 2006 4:28 pm
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?

Posted: Thu Nov 09, 2006 4:29 pm
by chrisT33
this is line 104:
if (extension_loaded('filter') && input_name_to_filter(ini_get('filter.default')) !== FILTER_UNSAFE_RAW) {
Posted: Thu Nov 09, 2006 4:52 pm
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.
Posted: Thu Nov 09, 2006 5:04 pm
by chrisT33
i also found this now:
http://www.s9y.org/forums/viewtopic.php?t=7281
sorry
i will make the update now...
Posted: Thu Nov 09, 2006 5:12 pm
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.
Posted: Thu Nov 09, 2006 5:22 pm
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 ?
Posted: Thu Nov 09, 2006 5:36 pm
by judebert
I thought the 1.1 betas already resolved this. Garvin?
Commenting out the lines should do the job.
Posted: Thu Nov 09, 2006 5:43 pm
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

]
Posted: Thu Nov 09, 2006 6:38 pm
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.)