"Database syntax error on line 48"- Site won't load after migration to new host
-
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 https://www.redstickfrench.com, which has to redirect to https://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.
- The topic ‘"Database syntax error on line 48"- Site won't load after migration to new host’ is closed to new replies.