Wordpress Admin Help Needed!

10 replies
Hey Guy's.

I'm needing some help. I was working on some of my general settings for my WP blog and I guess I damaged the database somehow?

I get this when I go to my domain;

To allow use of this page to automatically repair database problems, please add the following line to your wp-config.php file. Once this line is added to your config, reload this page.
define('WP_ALLOW_REPAIR', true);

Can someone explain to me in a dumbed down way how I do this? The problem came about as I was making changes to my wp domain addy in the general settings.

Much thanks.
#admin #needed #wordpress
  • Profile picture of the author SamirSM
    Do you have access to Cpanel or FTP?


    Open or download the following file:

    Blog Directory / wp-config.php


    Preferably at the very top of the file, add that code as the following:

    <?php define('WP_ALLOW_REPAIR', true); ?>

    Now upload or save the file.

    Then go to the home page.
    {{ DiscussionBoard.errors[3176908].message }}
    • Profile picture of the author 247Copywriter
      Contact your web host if you run into difficulties.

      If Hostgator, click on Live Support. Select Technical Help.

      Wait a few seconds for someone to pop in to assist you, explain the problem and ask them to walk you through the solution one simple step at a time.

      Most of them are exceedingly helpful.

      Other than that, check out Matt Wolfe' Wordpress Classroom - Google it or use the Search function up on the red navigation bar near the top of this forum.
      Signature
      --->----->----->----->-----> MarkAndrews IMCopywriting <-----<-----<-----<-----<---
      http://www.IMCopywriting.com
      Mark@IMCopywriting.com
      {{ DiscussionBoard.errors[3176932].message }}
  • Profile picture of the author Sleep
    you can open a .php file with any text editor
    {{ DiscussionBoard.errors[3176928].message }}
  • Profile picture of the author freemen14
    Thank you for the feedback. Will try these methods.
    {{ DiscussionBoard.errors[3177742].message }}
  • Profile picture of the author karenhudson
    Open your wp-config.php file in notepad and add this line any where in your file

    define('WP_ALLOW_REPAIR', true);
    {{ DiscussionBoard.errors[3196754].message }}
    • Profile picture of the author mary764
      ...and for the future, I'd recommend to make a backup of your database anytime you do changes on it ;-) That will help avoid trouble
      {{ DiscussionBoard.errors[3196765].message }}
  • Profile picture of the author rainman
    Originally Posted by freemen14 View Post

    To allow use of this page to automatically repair database problems, please add the following line to your wp-config.php file. Once this line is added to your config, reload this page.
    define('WP_ALLOW_REPAIR', true);
    Here are a few more:

    define('AUTOSAVE_INTERVAL', 300); // seconds
    define('WP_POST_REVISIONS', false);
    define('EMPTY_TRASH_DAYS', 0); // zero days
    define('WP_ALLOW_REPAIR', true);
    define('WP_CACHE', true);

    These will keep your blog running smoothe and fast...

    Also, try cleaning up your database:

    Go to phpMyAdmin

    select a database (from left menu)

    scroll to username_posts or wp_posts depending on hosting account

    click on 'post status'

    Anything labeled 'auto-draft' or 'inherit' should be deleted
    Signature
    {{ DiscussionBoard.errors[3197163].message }}
  • Profile picture of the author Istvan Horvath
    The problem came about as I was making changes to my wp domain addy in the general settings.
    You should never touch those fields... especially if you have no idea what are the consequences.
    Signature

    {{ DiscussionBoard.errors[3197482].message }}
  • Profile picture of the author hilaryaustin
    if you have back up the files you can use them right away so that the last settings will just be restored.
    {{ DiscussionBoard.errors[3197550].message }}
    • Profile picture of the author Istvan Horvath
      Originally Posted by hilaryaustin View Post

      if you have back up the files you can use them right away so that the last settings will just be restored.
      There are absolutely NO settings in the WP files.
      Signature

      {{ DiscussionBoard.errors[3197662].message }}

Trending Topics