Title: Syntax error problem after migration
Last modified: August 30, 2016

---

# Syntax error problem after migration

 *  [Tameto](https://wordpress.org/support/users/tameto/)
 * (@tameto)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/syntax-error-problem-after-migration/)
 * Hi guys i just migrated my website and now i get this error
 * Parse error: syntax error, unexpected ‘DB_USER’ (T_STRING) in /web/htdocs/www.
   tommasocassinis.com/home/wp-config.php on line 22
 * but didn’t change anything in that file and just double checked the syntax comparing
   it to the original file.
 * Please I’m quite in crises 🙁
 * M

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [Tameto](https://wordpress.org/support/users/tameto/)
 * (@tameto)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/syntax-error-problem-after-migration/#post-6767186)
 * This is the file
 *     ```
       <?php
       /**
        * The base configurations of the WordPress.
        *
        * This file has the following configurations: MySQL settings, Table Prefix,
        * Secret Keys, and ABSPATH. You can find more information by visiting
        * {@link https://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', 'aaaaaa’);
   
       /** MySQL database username */
       define('DB_USER', 'aaaaaaa');
   
       /** MySQL database password */
       define('DB_PASSWORD', 'aaaaaaaa');
   
       /** MySQL hostname */
       define('DB_HOST', '62.149.150.240');
   
       /** Database Charset to use in creating database tables. */
       define('DB_CHARSET', 'utf8mb4');
   
       /** The Database Collate type. Don't change this if in doubt. */
       define('DB_COLLATE', '');
   
       /**#@+
        * Authentication Unique Keys and Salts.
        *
        * Change these to different unique phrases!
        * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
        * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
        *
        * @since 2.6.0
        */
       define('AUTH_KEY',         'OPGxT#Ec(<,TJ;xrQATMuT%lfs$da)r4wuV3~KPd_(os*#+FZ5PD4BhO
       ```
   
 * +f~e; X’);
    define(‘SECURE_AUTH_KEY’, ‘UVIe;e!$Xrg)$+1Nv7N*YWYf((0#AO>!sw]!1H6;
   $dmdMEf 5@%]U@G*v@xy|O’); define(‘LOGGED_IN_KEY’, ‘u|6x:~Y0RgSw7ae| avG>S=EXWIXYrYd5
   ^#lW|eC,gfaaI|1Q.Vkbh|I]-rC~/yT’); define(‘NONCE_KEY’, ’70wBxW?B-}A$gf2k5HO#m.
   K2%pft]HD+0En5,Iw=:BsncD~{-Z#;Z0[,0vdEg*Fs’); define(‘AUTH_SALT’, ‘8?!Q.HQtjL/
   Y+U$DxVRctN=1rCt0GY6g)Z%XIkGLe#MX)BS%xDHQiuAw>K4[eZb!’); define(‘SECURE_AUTH_SALT’,‘
   XL`[:T@s|f]#Z-D-L4T*p*/dZIHkl6C(2Z;x;;nDbz+-T|hs1:}8$&v:++B$0.~W’); define(‘LOGGED_IN_SALT’,‘
   sC?V#!xd,V5:I-Wy{q:nIUC<i>WWerI++ioVcP>QC}W?O-C%3^x:N-1,l&R2J c7’); define(‘NONCE_SALT’,‘
   Xm+CkSo] :ygcOc7{CQ.gbV-n3zL3y0i>NF)UlKWlqLyc>sN!_Sz(j#sFyoKX0*0’);
 * /**#@-*/
 * /**
    * WordPress Database Table prefix. * * You can have multiple installations
   in one database if you give each a unique * prefix. Only numbers, letters, and
   underscores please! */ $table_prefix = ‘wp_’;
 * /**
    * For developers: WordPress debugging mode. * * Change this to true to enable
   the display of notices during development. * It is strongly recommended that 
   plugin and theme developers use WP_DEBUG * in their development environments.*/
   define(‘WP_DEBUG’, false);
 * /* That’s all, stop editing! Happy blogging. */
 * /** Absolute path to the WordPress directory. */
    if ( !defined(‘ABSPATH’) ) 
   define(‘ABSPATH’, dirname(__FILE__) . ‘/’);
 * /** Sets up WordPress vars and included files. */
    require_once(ABSPATH . ‘wp-
   settings.php’);
 * `
 *  Thread Starter [Tameto](https://wordpress.org/support/users/tameto/)
 * (@tameto)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/syntax-error-problem-after-migration/#post-6767222)
 * I just deleted it and tried to reinstall wordpress.
 * It created a new file which is working.
 * Byeeee

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Syntax error problem after migration’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 1 participant
 * Last reply from: [Tameto](https://wordpress.org/support/users/tameto/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/syntax-error-problem-after-migration/#post-6767222)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
