Title: udula's Replies | WordPress.org

---

# udula

  [  ](https://wordpress.org/support/users/udula/)

 *   [Profile](https://wordpress.org/support/users/udula/)
 *   [Topics Started](https://wordpress.org/support/users/udula/topics/)
 *   [Replies Created](https://wordpress.org/support/users/udula/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/udula/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/udula/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/udula/engagements/)
 *   [Favorites](https://wordpress.org/support/users/udula/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [deleted index.php](https://wordpress.org/support/topic/deleted-indexphp-3/)
 *  Thread Starter [udula](https://wordpress.org/support/users/udula/)
 * (@udula)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/deleted-indexphp-3/#post-2228085)
 * Thank you! I did as you asked. But prior to that I created a backup. I was able
   to recover the blog. Now all my posts and themes are missing. I updated it because
   it asked me to update my database. What shall I do now?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [deleted index.php](https://wordpress.org/support/topic/deleted-indexphp-3/)
 *  Thread Starter [udula](https://wordpress.org/support/users/udula/)
 * (@udula)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/deleted-indexphp-3/#post-2227947)
 * Yes, I get what you mean. I edited the file first and figured that it’s giving
   me an error, so I reverted back to my previous setting. But the error didn’t 
   change.
 * My point is let’s get back to root of the problem.
    “I’m using cpanel and I accidentally
   deleted the root index.php file as far as I remember. I don’t have a backup and
   I’m so lost. I restored a new index.php file, but the new theme has switched 
   to the default one. Is it something wrong with the .htaccess file in the root
   folder? Please I need to recover it soon.”
 * Is it only the index.php file I’ve deleted? Have I deleted any other root files
   as well?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [deleted index.php](https://wordpress.org/support/topic/deleted-indexphp-3/)
 *  Thread Starter [udula](https://wordpress.org/support/users/udula/)
 * (@udula)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/deleted-indexphp-3/#post-2227942)
 * and now I’m faced with this error:
    Parse error: syntax error, unexpected T_STRING
   in /home/mysite/public_html/wp-config.php on line 3
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [deleted index.php](https://wordpress.org/support/topic/deleted-indexphp-3/)
 *  Thread Starter [udula](https://wordpress.org/support/users/udula/)
 * (@udula)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/deleted-indexphp-3/#post-2227940)
 * I tried finding a solution using FTP and comparing a fresh copy of wordpress.
   Nothing really works. 🙁
 * $wp_version = ‘3.2.1’;
 * Things got quite worse, when I changed index.php file and assigned a different
   Db user and Db name just now.
 * I’m facing a shit-hit-the-fan situation.

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