here is the code of the php and the last sentence is the problem:

* The base configurations of the WordPress.
* This file has the following configurations: MySQL settings, Table Prefix,
* Secret Keys, WordPress Language, and ABSPATH. You can find more information by
* visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing
* wp-config.php} Codex page. You can get the MySQL settings from your web host.
* This file is used by the wp-config.php creation script during the
* installation. You don't have to use the web site, you can just copy this file
* to "wp-config.php" and fill in the values.
* @package WordPress
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', 'intmark_wrdp1');

i got this :
Parse error: syntax error, unexpected T_STRING in /home/intmark/public_html/wp-config.php on line 17

Edited by pritaeas: Added code tags.

5 Years
Discussion Span
Last Post by diafol


Line 17 isn't necessarily the problem.
The error is basically telling you that there is an unrecognized string somewhere in your code (the parser fell over somewhere after line 17). Usually this would happen if you have mismatched quotes or apostrophes in your code.

1) Make sure you don't have quotes or apostrophes within your secret keys (and other constants)

2) Make sure you use apostrophes around the constant strings, and not the MS Word pseudo-apostrophes which can look the same in some editors, but are definitely not the same. If you haven't been copying and pasting from an MS product, you should be right.

cf: http://wordpress.org/support/topic/parse-error-unexpected-t_string-in-wp-configphp-version-26




* The bas...


* The bas...
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.