EasyPHP
EN FR
>download >components >modules >blog >forum >faq >screenshots >introduction

For Windows Vista/Seven issues, please read the FAQ or leave a detailed message

Go to Topic: PreviousNext
Go to: Message ListNew TopicSearchLog InPrint View

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.

Options: ReplyQuote
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
---------------------------------------------------------------------------

Options: ReplyQuote


Go to: Message ListSearchLog In
Your Name: 
Your Email: 
Subject: 
Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.