Title: Reinstallation error
Last modified: August 21, 2016

---

# Reinstallation error

 *  [stardustent](https://wordpress.org/support/users/stardustent/)
 * (@stardustent)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/reinstallation-error/)
 * My WordPress files were attacked with malware with my GoDaddy hosting. So, I 
   searched the net and spent hours following the different instructions that I 
   found and decided that since so many files were altered, it was best to just 
   download a fresh copy of WordPress and manually install it back to my domain 
   via FTP.
 * However, I’m having issues with getting the wp-config file to work for me. Any
   assistance that someone can provide is MUCH appreciated! I’m going crazy trying
   to figure this out.
 * This is what it says when I try to access my domain, “Parse error: syntax error,
   unexpected T_CONSTANT_ENCAPSED_STRING in /my-domain-information-is-here/wp-config.
   php on line 64”
 * Line 64 is:
    `$table_prefix = 'wp_';`
 * You can view this issue on stardust-ent.com
 * THANK YOU

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

 *  [JumboClicks](https://wordpress.org/support/users/jumboclicks/)
 * (@jumboclicks)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/reinstallation-error/#post-4797349)
 * normally what that is is…
    you forgot a quote but that line looks correct.
 * I would recount maybe you are looking at the wrong line
 * look for missing ‘quotes and for mismatched “quotes’ and for special characters
   that look like a quote but arent a quote
 *  [JumboClicks](https://wordpress.org/support/users/jumboclicks/)
 * (@jumboclicks)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/reinstallation-error/#post-4797352)
 * Also since you say your site has been attacked you should do a manual reinstall
   of all of your core files at minimum.
 * It is possible someone attacked your files in a way to look for a different wp-
   config.php file
 * Do a backup of everything now if you haven’t yet
    make a copy of that put it 
   in a zip file and don’t touch it use your first backup for restoration
 *  [Senff – a11n](https://wordpress.org/support/users/senff/)
 * (@senff)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/reinstallation-error/#post-4797385)
 * Can you post the lines from wp-config.php that come **before** line 64? If possible,
   lines 63-65.
 *  Thread Starter [stardustent](https://wordpress.org/support/users/stardustent/)
 * (@stardustent)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/reinstallation-error/#post-4797395)
 * This is lines 56-66.
 *     ```
       /**#@-*/
   
       /**
        * 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_';
   
       /**
       ```
   
 *  [Senff – a11n](https://wordpress.org/support/users/senff/)
 * (@senff)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/reinstallation-error/#post-4797403)
 * My guess is that there is a missing semicolon or quote even _before_ that, in
   the line that starts with `define('NONCE_SALT',`.
 * Sorry, can you post a few lines more? 50-55 more specifically.
 *  Thread Starter [stardustent](https://wordpress.org/support/users/stardustent/)
 * (@stardustent)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/reinstallation-error/#post-4797438)
 * Sure! I generated the keys via this website and had copied and pasted them in
   to the file. I’ll change them again too.
 *     ```
       define('SECURE_AUTH_SALT', 'PntiPP/h{CSL3b; eoT@ajo~_TSZo-u?<HOJjgA%}X#]VTmZ$T4/-B(KhNY5+wey');
       define('LOGGED_IN_SALT',   ',z,Hw :X>+0LBGy:S5?#72aLh+>;1#B}x|AeVf)aq{C#ur@Y0*S@+CW=[(FU|hZG');
       define('NONCE_SALT',       'mj5|Y^)^cf+):3o {+k.d5~2<code>$|h$26|:O/+D<+-iezK +4XI%ZCd?BBmWS</code>=v7q');
       define('FORCE_SSL_LOGIN', true);
       define('FORCE_SSL_ADMIN', true');
       ```
   
 *  [Senff – a11n](https://wordpress.org/support/users/senff/)
 * (@senff)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/reinstallation-error/#post-4797441)
 * There is an apostrophe/quote too many after “true” on the last line of that last
   block of code. You have:
 *     ```
       define('FORCE_SSL_ADMIN', true');
       ```
   
 * Which should be:
 *     ```
       define('FORCE_SSL_ADMIN', true);
       ```
   
 *  Thread Starter [stardustent](https://wordpress.org/support/users/stardustent/)
 * (@stardustent)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/reinstallation-error/#post-4797451)
 * Oh my goodness. I feel like I should have caught that. Thank you sooooooooo much
   for your assistance!
 *  Thread Starter [stardustent](https://wordpress.org/support/users/stardustent/)
 * (@stardustent)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/reinstallation-error/#post-4797481)
 * I seem to be having a different issue with the re-installation. After having 
   gotten all of this squared away, I had a white screen pop up in the place of 
   the website.
 * After searching and reading numerous troubleshooting suggestions that other people
   have had, I looked to make sure the database and version numbers were all the
   same–one number was different in the config file so I changed it to what the 
   database had listed. Tried refreshing and the screen is still white.
 * I know it’s possible that I did the reinstall incorrectly, but I deleted everything
   because it all had the malware codes attached to it and I wanted to make sure
   that everything was going to be clean.
 * I have also tried renaming the plugins folder, and that still gave me a white
   screen. Is it easier to just delete this particular database and begin everything
   all over again with the fresh install?
 *  [Senff – a11n](https://wordpress.org/support/users/senff/)
 * (@senff)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/reinstallation-error/#post-4797488)
 * > Is it easier to just delete this particular database and begin everything all
   > over again with the fresh install?
 * Starting over completely (with a **fresh** copy of WordPress and an empty database)
   is for sure the _cleanest_ way and is sure to be free from the malware that infected
   your previous site.
 * Of course, it’ll be a lot of work. You could start from scratch and then replace
   the new install bit by bit with parts of your old install (first the theme files,
   then the old database, etc.) but that way you run the risk that you’re moving
   infected parts into your new site again.

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

The topic ‘Reinstallation error’ is closed to new replies.

## Tags

 * [config](https://wordpress.org/support/topic-tag/config/)
 * [godaddy](https://wordpress.org/support/topic-tag/godaddy/)
 * [reinstall](https://wordpress.org/support/topic-tag/reinstall/)
 * [reinstallation](https://wordpress.org/support/topic-tag/reinstallation/)
 * [wp-config](https://wordpress.org/support/topic-tag/wp-config/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 10 replies
 * 3 participants
 * Last reply from: [Senff – a11n](https://wordpress.org/support/users/senff/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/reinstallation-error/#post-4797488)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
