Closed (fixed)
Project:
Drupal core
Version:
4.7.0
Component:
base system
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
29 Apr 2006 at 01:52 UTC
Updated:
16 May 2006 at 04:24 UTC
I can't get drupal running because of the following apache error.
[Fri Apr 28 18:44:27 2006] [error] PHP Fatal error: Call to undefined function: filter_xss_bad_protocol() in ./includes/common.inc on line 641
I've looked at other postings but they weren't applicable or the described problem. I deleted the db and started from scratch but it didn't help. I'm using php4.3.1 and mysql4.0.
-sean
Comments
Comment #1
webchickcan't duplicate. need more info.
Comment #2
simler commentedOkay... fresh install. First page you're supposed to go to to start the admin process and create a admin user returns nothing but a blank screen and the previous error in the logs. Anything more I can tell you?
Comment #3
markus_petrux commentedDrupal needs PHP 4.3.3 or higher.
Comment #4
killes@www.drop.org commentedthe function is defined in filter.module which is a required module and shoudl be loaded. What were you doing when you got the error? Also, PHP 4.3.1is too old, Drupal requires 4.3.3.
Comment #5
heine commentedThis happens often when
1. Your php installation is broken (returns arrays in foreach() instead of elements)
2. The upload didn't complete (0 byte / truncated files)
3. (hypothetical) no execute permission on the modules directory
Nevertheless, the php version is also too old.
Comment #6
simler commentedI'm using php 4.3.11. That was a typo on my part.
foreach works fine
execute permissions on the modules directory are fine
Is there any way to test whether the module has actualy loaded?
I'm still getting just a blank screen and the following error:
[Mon May 1 11:18:16 2006] [error] PHP Warning: Duplicate entry 'id%3D107155%26userid%3Dsimler%26' for key 1\nquery: INSERT INTO sessions (sid, uid, hostname, timestamp) VALUES ('id%3D107155%26userid%3Dsimler%26sign%3DpWBzUnfwhmctszFM0VK_HJKTIrqdScU5j.rxOFM9QIDZtmGQC7m0NC8ZR7uj7Tz8raYIUhvFPCB07abmPFodDnZua64.cMM3zLIUPZBR3oVgFPF9dWz3twYj3prbL6lJ0FEFJ7D9NJwdXaLzmjnL4dvH5JcoFOCrDBxm5kQk2es-%26time%3D1146506300%26expires%3D480%26ip%3D216.145.56.184%26roles%3D%7C1.IE%7C121.U%7C13.V%7C158.U%7C20.U%7C299.U%7C50.U%7C6878.U%7C6951.I%7C6982.I%7C7008.C%7C7181.I%7C%5BProperty%7CViewers%5D%7C%5BSiebel%7CUS_Users%5D%7C', 0, '216.145.56.184', 1146507496) in ./includes/database.mysql.inc on line 124
[Mon May 1 11:18:16 2006] [error] PHP Fatal error: Call to undefined function: filter_xss_bad_protocol() in ./includes/common.inc on line 641
-sean
Comment #7
simler commentedI'm not sure how I got past this but is was a mixture of variables_order and open_basedir settings that I had to modify in my php.ini
Comment #8
baudolino commentedComment #9
(not verified) commentedComment #10
heine commentedDescriptive titles are important.