hey guys..i`m just newbie on wordpress.just now i got problem with installation.
now when I click on my pages I get the following error:
Fatal error: Call to undefined function preg_replace() in /usr/local/www/data/wordpress/wp-includes/wp-db.php on line 982
line 982
return preg_replace('/[^0-9.].*/', '', mysql_get_server_info( $this->dbh ));
musnake
Member
Posted 2 years ago #
Hey,
If it's a new installation, try FTP'ing the files again.
If this is installation, which pages are you talking about?
I just started seeing the same thing here after upgrade to the latest version of PHP-5.2.9, among other things. MySQL was also updated to 5.1.32. Everything was working fine before this. It is a problem on all pages, as there is no connectivity to the database. (FreeBSD 7.1)
FreeBSD php5-pcre Makefile
Looks as though the change to 5.2.9 caused a dependency on php5-pcre to sneak back in.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Mar 6 10:08:33 2009 UTC (2 days, 18 hours ago) by ale
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +1 -1 lines
Update to 5.2.9 release and re-add pcre extension.
-------------
Revision 1.5
Sun Dec 7 11:54:35 2008 UTC (3 months ago) by ale
Branches: MAIN
FILE REMOVED
Changes since revision 1.4: +1 -1 lines
Update to 5.2.7 release.
musnake
Member
Posted 2 years ago #
thanks all... but now got this error
Error establishing a database connection
aih..
OOOHHH...... thanks all to help me fix this problem..
now i just add
extension=pcre.so at /php/extensions.ini
now my wordpress can run.. hoooyeeehhhhhh thanks all
androm31
Member
Posted 2 years ago #
My wordpress is hosted on my freebsd 4.6-release server, It broke after upgrading to 5.2.9 also.
rebuilding the php5-pcre port brings up a check box 'bundled pcre' which solves the problem, and even adds the extension=pcre.so line in extensions.ini for you.
phew!
yunusdestanci
Member
Posted 2 years ago #
5651 sayılı yasa için çözümler
http://www.logsistemleri.com
5651 5651 sayılı yasa 5651 sayılı kanun 5651 nolu yasa 5651 nolu kanun ip log imzalama hotel çözümleri otle çözümler. yurt çözümleri 5651 hotel çözümler.