Forums

Updating Wordpress - wp-settings.php Error (please help) (7 posts)

  1. gareth2
    Member
    Posted 1 month ago #

    Hi,

    I have an error on wp-settings.php line 246

    Can someone please advise me how to fix it.

    http://www.stadiatech.com

    I logged in yesterday and files were added without me knowing I think someone or something has hacked in.

    I'm quite concerned. Also the htaccess file has gone.

  2. gareth2
    Member
    Posted 1 month ago #

    Can someone please help me out with this. I have tried contact the host and they cant help me.

  3. gareth2
    Member
    Posted 1 month ago #

    Hi,

    I have managed to corrent the homepage but I still have the same problem on my admin log in page.

    Can someone advise me how I can fix this please?

    http://www.stadiatech.com/wp-admin/

  4. jdembowski
    Member
    Posted 1 month ago #

    I have an error on wp-settings.php line 246

    What's the error message text? Also without the .htaccess file in place, your permalinks are not going to work. Reset your permalinks and get that .htaccess file back.

  5. gareth2
    Member
    Posted 1 month ago #

    At the moment I cant log in, it tells me their is an internal server error.

    Is their a step by step guide for reseting the permalinks and getting the .htaccess file back?

    I haven't got a clue how to do that!

  6. jdembowski
    Member
    Posted 1 month ago #

    At the moment I cant log in, it tells me their is an internal server error.

    Without the text of the error message, there is not an awful lot to go by...

    Try these steps (which mostly I copied from another posting).

    Backup all of your files and database and put that backup somewhere safe.

    http://codex.wordpress.org/WordPress_Backups
    http://codex.wordpress.org/Backing_Up_Your_Database
    http://codex.wordpress.org/Restoring_Your_Database_From_Backup

    Download the latest version 2.8.4 from here.

    http://wordpress.org/download/

    After you have backed up your files, extract the WordPress files and overwrite your existing files. This will only wipe out the core files and not your themes or plugins. If you have modified any files from the WordPress distribution then this will overwrite those files too.

    Move any .htaccess you have to somewhere else not in your webserver's directories. Insert into a blank .htaccess this text and save the file.

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress

    If that still does not work it might be a plugin so go to your wp-content directory and rename plugins to plugins-old.

    You might want to try renaming the plugin directory first.

    If something goes really spectacularly bad, just restore your file and database backup and you'll be right back at square one.

  7. gareth2
    Member
    Posted 1 month ago #

    Thanks mate your a real star, I renamed my plugin folder and it logged straight in.

Reply

You must log in to post.

About this Topic

Tags

No tags yet.