Jump to content

Recommended Posts

Hi,

 

I hope someone can help me. I just changed urls and in the process get this error:

 

Parse error: syntax error, unexpected T_STRING in /home/kiwicari/public_html/wp-config.php on line 46

 

So, I've checked and replaced using utf-8 in my config file and it looks like this:

 

I cant figure out what's wrong with it, can anyone help please.

 

Many thanks.

PHP newbie

 

<?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', 'kiwicari_wrdp1');

 

/** MySQL database username */

define('DB_USER', 'kiwicari_wrdp1');

 

/** MySQL database password */

define('DB_PASSWORD', 'HvK6QS[5W[rB');

 

/** MySQL hostname */

define('DB_HOST', 'localhost');

 

/** Database Charset to use in creating database tables. */

define('DB_CHARSET', 'utf8');

 

/** The Database Collate type. Don't change this if in doubt. */

define('DB_COLLATE', '')

 

 

/**#@+

* Authentication Unique Keys.

*

* Change these to different unique phrases!

* You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/ 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',        'rbKz]q3?ciBdn!meX!|8{$1UUlIRVj#n/{KYqM+UD+sMM:HrCU4E>n#}R&TR+)I1');

define('SECURE_AUTH_KEY', '4Vq;9:y82J5,=eR3`UM4Q/Er&LrvQG%&#9Iq=-JcHH4K5_V[>)5S!dRt7-z33|Uw');

define('LOGGED_IN_KEY',  '|#s$&%.U9n;,lk:f[-:g[D .Kex:=E:ex{2s{j>4l]vvHe>A[!BDG~-;8Lopo<UX');

define('NONCE_KEY',      'Y`VTv]^{v`&r-1e|,q62jV}kxz^5Fj5Rwtm(4Y8VT;mF=51JU)5nk 1Wa$jQz;o@');

 

 

 

 

 

/**#@-*/

 

/**

* 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_';

 

/**

* WordPress Localized Language, defaults to English.

*

* Change this to localize WordPress.  A corresponding MO file for the chosen

* language must be installed to wp-content/languages. For example, install

* de.mo to wp-content/languages and set WPLANG to 'de' to enable German

* language support.

*/

define ('WPLANG', '');

 

/* That's all, stop editing! Happy blogging. */

 

/** WordPress 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');

Link to comment
https://forums.phpfreaks.com/topic/165980-wp-configphp-error/
Share on other sites

  • 2 weeks later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.