Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Forum: Fixing WordPress
    In reply to: deleted index.php
    Thread Starter udula

    (@udula)

    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
    In reply to: deleted index.php
    Thread Starter udula

    (@udula)

    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
    In reply to: deleted index.php
    Thread Starter udula

    (@udula)

    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
    In reply to: deleted index.php
    Thread Starter udula

    (@udula)

    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)