Quantcast
Channel: Topic Tag: MySQL | WordPress.org
Viewing all articles
Browse latest Browse all 5534

toupstrey on ""Database syntax error on line 48"- Site won't load after migration to new host"

$
0
0

I copied my database, WP files, and wp-config.php files from one Cpanel server to another one. I changed my name servers to point to the new server, but the site won't load properly. The main URL is http://www.redstickfrench.com, which has to redirect to http://www.redstickfrench.com/wp since I installed WordPress in that directory without knowing what I was doing several months ago.

When you go to the URL, the error is: "Parse error: syntax error, unexpected '');' (T_CONSTANT_ENCAPSED_STRING) in /home/redstick/public_html/wp/wp-config.php on line 24"

When looking at line 48 of my database, it looks normal to me, since all I did was change the username and password credentials in the wp-config.php file to the correct credentials for the new database I created on the new cPanel server.

The line currently says:

/** MySQL database username */
define('DB_USER', ‘redstick_wp655');

Can anyone help?

Thank you in advance.


Viewing all articles
Browse latest Browse all 5534

Trending Articles