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

<?php/** 
* 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

Recommended Answers

All 3 Replies

So, I do I know which line is line 17? Please use code tags.

Hi,

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

HTH...

Member Avatar for diafol

Change

<?php/** 
* The bas...

to

<?php
/** 
* The bas...
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.