1 blackfoot Jun 12, 2008 23:53
3 blackfoot Jun 13, 2008 00:14
Hi
Thanks for the welcome and the rapid response.
Indicative of a good program and base.
Yes, i had installed php4 only because I am used to it. I could use php5 without trouble though and will try that.
I had installed it with the Z Optimiser too. That may well give a clue. Though why it should be uninitialised as a result is a mystery.
I will try php5 and report back.
Thanks
C
4 blackfoot Jun 13, 2008 01:43
Thank you for your suggestion.
I deleted php4 and installed php5. There were no optimisation options.
The error is the same.
Fatal error: Call to undefined function preg_match() in /usr/local/www/data/blogs/conf/_advanced.php on line 117
I would be grateful to hear of other suggestions.
Many thanks
C
5 afwas Jun 13, 2008 01:56
http://www.michiknows.com/2007/02/27/fatal-error-call-to-undefined-function-preg_match/
Fatal error: Call to undefined function preg_match()
Today’s crazy error of the day is:
Fatal error: Call to undefined function preg_match() …
Wahoo! A built in function being undefined!
So how’s this possible? It seems that if you reinstall PHP without compiling in PCRE (Perl Compatible Regular Expressions), you can get this crazy error. It’s a flag you may need to manually enable.
6 blackfoot Jun 17, 2008 01:34
Thank you for your assistance.
I reinstalled php5 and mysql.
I applied phpMyAdmin to setup the databases and having the basis for a working system.
However I cannot post any samples as I receive an xhtml validation error.
I have install the php5 extensions which include php5-xml.
Would you be kind enough to advise if I have missed anything? Are there any php applications which I might install to force recognition of the xml extension library?
Many thanks
c
7 blackfoot Jun 17, 2008 01:55
I have decided (rather late in the day) to reconfigure the directory name from /b2evolution/blogs/ to simply /blogs/
However, some pages still point to the old directory structure.
Will you be kind enough to indicate which configuration files need o be changed?
Many thanks
c
8 afwas Jun 17, 2008 03:02
Is your blog online?
Check $baseurl in /conf/_basic_config.php
You probably now have two installs pointing at the same database, one is in /b2evolution/blogs/ and one is in /blogs/ . Delete one of them (the folder) and this problem will probably solve itself.
Good luck
Hi Blackfoot,
Welcome to the forums.
This looks like aPHP problem. preg_match() should be included in PHP 4, so I'm not sure of the cause of the troubles. Do try to fins a PHP 5 version. That may solve your issue.
What exact version are you running? Problems are reported with very early versions of PHP 4 (and particular with the Zend optimizer that comes with early PHP 4 versions).
Good luck