rebeccadewinter
Forum Replies Created
-
Forum: Installing WordPress
In reply to: wp-db.php-errorProblem solved after rebooting the machine.
Thanks for your help!Forum: Installing WordPress
In reply to: wp-db.php-errorOutput:
pkg_info | grep php5
php5-5.2.4_1 PHP Scripting Language
php5-mysql-5.2.4_1 The mysql shared extension for php
php5-pcre-5.2.4_1 The pcre shared extension for php…after having installed php5-pcre.
Result is just the same:Fatal error: Call to undefined function preg_match() in /usr/home/domain/htdocs/wp-includes/wp-db.php on line 287
Forum: Installing WordPress
In reply to: wp-db.php-errorNow:
file you mentioned uploaded, result is different, well not really:Fatal error: Call to undefined function preg_match() in /usr/home/domain/htdocs/wp-includes/wp-db.php on line 287
Files are uploaded in correct mode, did .PHP again manually in ASCII mode to be really sure, result is the same.
OK, maybe the bug is in the MySQL, therefor here is how the database was created:# mysql -u root Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 171 to server version: 4.1.22 Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> CREATE DATABASE wordpress; Query OK, 1 row affected (0.00 sec) mysql> GRANT ALL PRIVILEGES ON wordpress.* TO "wordpress"@"localhost" -> IDENTIFIED BY "password"; Query OK, 0 rows affected (0.04 sec)
Any idea?
Forum: Installing WordPress
In reply to: wp-db.php-errorOK, I’ll download it again and make another try.
Forum: Installing WordPress
In reply to: wp-db.php-errorThis is my line 288:
if ( preg_match("/^\\s*(insert|delete|update|replace) /i",$query) ) {
Furthermore:
PHP is configured correctly as other scripts run without any errors.
And:
The files were uploaded for the first time- there is no re-upload.
It is the German version, readme.html dated 26.4.2008
Any ideas?