On a fresh install of 4.7.2 (running MySQL 4.1 and PHP 4.4.2 on an Apache server), I am getting the following error when I surf to the home directory to set up user 1:

Fatal error: Call to undefined function: filter_xss_admin() in /...host.../themes/engines/phptemplate/phptemplate.engine on line 143

I found a related bug report, posted about a week ago without responses so far:
http://drupal.org/node/71407

I've tried replacing the phptemplate.engine file a few times (based on http://drupal.org/node/63462), with versions from both a 4.7.2 and a 4.7.0 archive, with no change in results. Any help would be greatly appreciated.

Comments

heine’s picture

Open modules/filter.module and check for the line function filter_xss_admin($string). Sometimes uploads do not fully complete, leading to partial or zero byte files.

--
The Manual | Troubleshooting FAQ | Tips for posting | Make Backups! | Consider creating a Test site.

lrickard’s picture

Brilliant. (Moral: It's always good to review the files I've uploaded.) Thank you.