• 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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter gareth2

    (@gareth2)

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

    Thread Starter gareth2

    (@gareth2)

    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/

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    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.

    Thread Starter gareth2

    (@gareth2)

    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!

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    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.ww.wp.xz.cn/WordPress_Backups
    http://codex.ww.wp.xz.cn/Backing_Up_Your_Database
    http://codex.ww.wp.xz.cn/Restoring_Your_Database_From_Backup

    Download the latest version 2.8.4 from here.

    http://ww.wp.xz.cn/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.

    Thread Starter gareth2

    (@gareth2)

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

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

The topic ‘Updating WordPress – wp-settings.php Error (please help)’ is closed to new replies.