Evert wrote:
Hi all! Recently I am getting the following error on some of my PHP-enabled websites. I think it started when I went from PHP4 -> PHP5. Here is an example (from http://wos.poboxes.info/) : Fatal error: Call to undefined function preg_match() in /var/www/wos.poboxes.info/htdocs/classes/ConfigData.php on line 114 What causes this? How can I fix it? FYI: I use Cherokee (not Apache...) Regards, Evert
On some pages? So it works on the other pages on the same webserver? Probably you have unset the function, or some file/php/include/script does. Best way to test that is to put preg_match at the first line. Is a htaccess causing trouble probably? -- Smileys rule (cX.x)C --o(^_^o) Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php