WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Syntax Error T_String (5 posts)

  1. jelosau
    Member
    Posted 1 year ago #

    Hi there,
    I have recently changed the name of my domain ( from jelossweets.com to jelos.com.au) and now when i go to log onto wordpress i get this message:

    Parse error: syntax error, unexpected T_STRING in /home/content/55/11843055/html/wp-config.php on line 63

    I got told I would have to go through to myphp or whatever its called, and change the table names beginning with wp to my own prefix. I also changed it within the ftp file.

    Im trying to log in and am still getting that message, so not really sure what Im meant to do now. I can't access my wordpress/blog at all and Im kind of thinking theres no way to fix this, so if anyone can help it would be much appreciated!!!
    Thanks!!!

  2. jmyeom
    Member
    Posted 1 year ago #

    there is a syntax error in your config file...
    line 63 should be your prefix,
    make sure that line is right...

    i.e, this is what it should look like:
    $table_prefix = 'prefix_';
    these are bad:

    $table_prefix  = 'prefix_'
    $table_prefix  = 'prefix_;
    $table_prefix   'prefix_';
    $table_prefix  = prefix_';

    and so on

  3. jelosau
    Member
    Posted 1 year ago #

    Thank you! I have changed it, and it has obviously worked but now I am getting another message for line 70 that reads

    Parse error: syntax error, unexpected T_STRING in /home/content/55/11843055/html/wp-config.php on line 70

    Would you be able to tell me what is meant to go there? Am so new to all of this.

    Thank you !!!!

  4. jelosau
    Member
    Posted 1 year ago #

    line 66 - 73 currently look like this

    * 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_DE.mo to wp-content/languages and set WPLANG to 'de_DE' to enable German
    * language support.
    */
    define('WPLANG', '');

  5. jelosau
    Member
    Posted 1 year ago #

    .

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.