PHP Parse error: syntax error, unexpected T_DNUMBER
-
I’ve been having a problem with getting WordPress on my website up and running.
When I go to my website, it says “Parse error: syntax error, unexpected ‘.1’ (T_DNUMBER) in … in line 34”The section of code that the error is in reads as follows (removed my personal info with asterisks):
/** The name of the database for WordPress */
define(‘DB_NAME’, “db******”);/** MySQL database username */
define(‘DB_USER’, “db*******”);/** MySQL database password */
define(‘DB_PASSWORD’, “*****”);/** MySQL hostname */
define(“DB_HOST”, “db633418301.db.1and1.com”);The “.1” that is causing the error is part of the database host name and cannot be removed (I even tried “oneandone.com” instead but it wouldn’t work.
If anyone could help I would strongly appreciate it, I’ve been stuck for over 24 hours.
The topic ‘PHP Parse error: syntax error, unexpected T_DNUMBER’ is closed to new replies.