introduction screenshots faq forum blog modules components download
Please use the search function and/or read the FAQ first.
-->

Problems with database connections after easyphp upgrade



Posted by: jeeremie
August 02, 2009 06:15AM
Hi,

I had EasyPHP 2.07 installed on my disk C in Windows XP. Yesterday, I have installed easyPHP 3.1 on a new partition (D:\) and then I moved all my files (everything contained in www\ and mysql\data\) to easyPHP 3.1 into their respective folders.

However, now, when I try to connect to my Wordpress sites on localhost, here's the message I get:

--------------------------------------------------------------------------------
Deprecated: Assigning the return value of new by reference is deprecated in E:\EasyPHP3.1\www\web-kreation_v3\wp-settings.php on line 520

Deprecated: Assigning the return value of new by reference is deprecated in E:\EasyPHP3.1\www\web-kreation_v3\wp-settings.php on line 535

Deprecated: Assigning the return value of new by reference is deprecated in E:\EasyPHP3.1\www\web-kreation_v3\wp-settings.php on line 542

Deprecated: Assigning the return value of new by reference is deprecated in E:\EasyPHP3.1\www\web-kreation_v3\wp-settings.php on line 578

Deprecated: Function set_magic_quotes_runtime() is deprecated in E:\EasyPHP3.1\www\web-kreation_v3\wp-settings.php on line 18

Error establishing a database connection
---------------------------------------------------------------------------

This happens for most of my Wordpress installations except for one or two. I have almost 10 Wordpress blogs installed on localhost for development. No problems with a drupal site.

I can't figure out what could be the problem. At the beginning I thought it was because it is on a different partition but that doesn't explain why some sites can connect to their database and some others can't.

Any help would be appreciated. Thanks.
Posted by: jeeremie
August 02, 2009 06:51AM
I went to phpMyAdmin and I noticed that some databases are not listed there.

Here's the databases that were not listed:
- temp_wp_2-8-1
- temp_wp_2-7-1
- web-kreation_v3

I changed it to:
- temp_wp_2_8_1
- temp_wp_2_7_1
- web-kreation

... and now it works fine except I still get the errors below for web-kreation:

--------------------------------------------------------------------------------
Deprecated: Assigning the return value of new by reference is deprecated in E:\EasyPHP3.1\www\web-kreation_v3\wp-settings.php on line 520

Deprecated: Assigning the return value of new by reference is deprecated in E:\EasyPHP3.1\www\web-kreation_v3\wp-settings.php on line 535

Deprecated: Assigning the return value of new by reference is deprecated in E:\EasyPHP3.1\www\web-kreation_v3\wp-settings.php on line 542

Deprecated: Assigning the return value of new by reference is deprecated in E:\EasyPHP3.1\www\web-kreation_v3\wp-settings.php on line 578

Deprecated: Function set_magic_quotes_runtime() is deprecated in E:\EasyPHP3.1\www\web-kreation_v3\wp-settings.php on line 18
---------------------------------------------------------------------------