Error on an old blog

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
VideoRob
Regular
Posts: 21
Joined: Fri Feb 01, 2008 6:11 am

Error on an old blog

Post by VideoRob »

This error is showing up on a blog I haven't touched in a while

Fatal error: Call to undefined function input_name_to_filter() in /public_html/include/compat.inc.php on line 99

I know the version of s9y is years old. So I tried to update to the latest version. Now I have this error:

CREATE INDEX pluginretr_idx ON serendipity_plugins (placement, sort_order); / Duplicate key name 'pluginretr_idx'
create table serendipity_mediaproperties (
mediaid int(11) not null,
property varchar(128) not null,
property_group varchar(50) not null default '',
property_subgroup varchar(50) not null default '',
value text
) /*!40100 CHARACTER SET utf8 COLLATE utf8_unicode_ci */; / Table 'serendipity_mediaproperties' already exists CREATE INDEX mediapropid_idx ON serendipity_mediaproperties (mediaid); / Duplicate key name 'mediapropid_idx'
CREATE UNIQUE INDEX media_idx ON serendipity_mediaproperties (mediaid, property, property_group, property_subgroup); / Duplicate key name 'media_idx'
create table serendipity_options (
name varchar(255) not null,
value text not null,
okey varchar(64) not null default ''
) /*!40100 CHARACTER SET utf8 COLLATE utf8_unicode_ci */; / Table 'serendipity_options' already exists CREATE INDEX options_idx ON serendipity_options (okey); / Duplicate key name 'options_idx'
ALTER TABLE serendipity_images ADD COLUMN realname varchar(255) not null default ''; / Duplicate column name 'realname'
ALTER TABLE serendipity_references ADD COLUMN type varchar(128) not null default ''; / Duplicate column name 'type'
CREATE INDEX reftype_idx ON serendipity_references (type); / Duplicate key name 'reftype_idx'
ALTER TABLE serendipity_category ADD COLUMN sort_order int(11); / Duplicate column name 'sort_order'
ALTER TABLE serendipity_category ADD COLUMN hide_sub int(1); / Duplicate column name 'hide_sub'
CREATE INDEX categoryso_idx ON serendipity_category (sort_order); / Duplicate key name 'categoryso_idx'
ALTER TABLE serendipity_authors ADD COLUMN hashtype int(1); / Duplicate column name 'hashtype'

So I can't upgrade to the new version. I'm completely stuck.

But I have manage to get my host to restore it back to the first error.

Please help
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Error on an old blog

Post by garvinhicking »

Hi!
Fatal error: Call to undefined function input_name_to_filter() in /public_html/include/compat.inc.php on line 99
This is a problem due to a PHP update, where you'd really need a new s9y version.

The messages below are actually only warnings, you should be fine to ignore those. Check if serendipity_config_local.inc.php is writable, s9y needs to write to that file to insert the new version number. It seems in your case, s9y cannot write to its file so it thinks it needs to upgrade itself time and again.

HTH,
GArvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply