I have real trouble with setting up WordPress. I have no idea of coding and html, but I could figure out that the issue lies in Line 31.
Mamp showed me this error:
[10-Apr-2015 21:14:38 Europe/Berlin] PHP Parse error: syntax error,
unexpected ‘DB_CHARSET’ (T_STRING) in
/Applications/MAMP/htdocs/Wordpress/wp-config.php on line 31
I googled the mistake, but nobody had trouble with line 31. I know that it has to be utf8, and it is also in the configuration file written like this, but I really can’t find the mistake. Does someone has an answer?
Thank you very much for your help.
/** MySQL database username */ define('DB_USER', ârootâ);
/** MySQL database password */ define('DB_PASSWORD', ârootâ);
/** MySQL hostname */ define('DB_HOST', 'localhostâ);
/** Database Charset to use in creating database tables. */
define('DB_CHARSET', âutf8â);
I know, it’s a syntax error, but the other post about syntax errors couldn’t help me. Can someone give me an answer to this specific case.
at end of ‘localhostâ you have wrong quote mark
remove it and paste the same which you have at beginning of localhost