• Hi.

    I am trying to solve a broken WP site with strange results. I have been looking around the forum and tried two things.

    editing htaccess (which I have shared access to and wonder to fix it back) and doing a mass removal of unapproved comments

    The only working page load is the initial first page and if I remember correctly, this first hit can be any page including admin. Any other page load fails until the browser cache is dumped and it then works again. Pointlessly doing the same thing and this is happening across browsers. IE Chrome & Safari.

    I have had a meeting today with the owner and concluded to start rebuilding the whole WP from scratch and then I looked at the amount of posts he will want to rebuild. This includes images uploaded, unsure if anything else will be wanted kept, aside from approved comments.

    I have checked via phpmyadmin and can see the tables are all still there. I have also tried moving the database but no difference.

    The broken one is at https://www.yassasin.co.uk/rebel.says.it/

    The blog has almost 400 posts so I wonder if anyone can help guide me to save it as easily as possible, or even fix it if this has happened to anyone else and been solved.

    Many thanks for reading and thanks to the WP family for the good work you do.

Viewing 15 replies - 1 through 15 (of 15 total)
  • Moderator keesiemeijer

    (@keesiemeijer)

    try this:
    At the root of your blog, locate the file .htaccess and add a line “SecFilterEngine off” without the quotes.

    Thread Starter i3ant0n

    (@i3ant0n)

    Thx for the reply, I should have made it clearer above. I tried that after reading various times but like I think one poster on here, it didn’t solve the problem.

    Could really do with some help to save having to copy content from the sql tables.

    Moderator keesiemeijer

    (@keesiemeijer)

    If you can get in to phpmyadmin: https://codex.www.ads-software.com/Backing_Up_Your_Database
    or make a backup from your database with cpanel or whatever backup management is provided by your host

    have u recently updated wordpress.. which version are u currently using?

    try this:
    disable all plugins and use default theme.

    if that doesnt work then..
    try this:
    1. backup the database and your wp-content folder *very important*.
    2. do a fresh install of the new version of wordpress. that should also make a new htacess and wp-config files.
    3. restore the database and wp-content file..
    hopefully this should get everything working, as you last left it..

    Thread Starter i3ant0n

    (@i3ant0n)

    Thanks for the replies ??

    I have the back up done and just managed a brief chat with a friend who says I can export parts of that sql and import them into the new one I have made.
    I’m nto entirely sure what version it is as it was broken for a while but haven’t had the chance to jump on it and get it sorted.

    I would dearly love to know what nailed it as such.
    I also read just now to disable all the plugins and enable them one by one, which might show the cause.

    We added a few new posts to get content started back up and him running again so he will be delighted if we can somehow add back with more ease than one post at a time lol.

    htacess – I’m told there is only one htaccess in the domain root and see it on the ftp. I am aware I can and indeed have edited it and reset it. Not sure what you mean about installing a new version of wordpress and that also making a new htaccess file though. The domain hosts quite a few wordpress sites.

    Again, thanks for the replies. Your help is invaluable and much appreciated.

    Thread Starter i3ant0n

    (@i3ant0n)

    oops – meant to add, I’m not sure how to disable the plugins since I can only go to one page on any browser, signing in gives a 406/404 error, viewing any further page after the initial page visit, does the same thing. however, if i clean cookies, it works, but the same thing then happens again.

    i3ant0n

    Moderator keesiemeijer

    (@keesiemeijer)

    reset the plugins folder by FTP or whatever file management application your host provides. Sometimes, an apparently inactive plugin can still cause problems.

    Thread Starter i3ant0n

    (@i3ant0n)

    keesiemeijer, it worked. Amazing stuff…. thanks. I started replacing the plugins back (very nice how you can just move them to take them off lol) and the first one I put back broke it again. However, the rest have gone back in fine and all seem to be working.

    Still using IE so will have to close it to make it forget the cache I guess. GChrome and Safari are now working.
    Below is the plugin detail from its readme txt
    Thanks to you and artbycrunk for taking the time to reply. Problem cured, I will try to pass on something to the plugin author just incase it is a current/valid issue.

    EDIT ~~~~~ (posted on authors blog)
    EDIT ~~~~~ Topic marked resolved. Thanks WP and all who help out here. You are the stuff of genius.
    === Plugin Name ===
    Contributors: eriksef
    Donate link: https://blog.phpwelt.net/67-counter-plugin-widget-fur-wordpress.html
    Tags: counter, widget, instantcounter, seo, statistic, counter, count
    Requires at least: 2.0.0
    Tested up to: 2.8.6
    Stable tag: 1.1
    ===================

    Thread Starter i3ant0n

    (@i3ant0n)

    Sadly I have had to remark this unresolved as I cannot login to the admin at all. I seem to be logged in if I go back to any of the pages but clicking Site Admin or trying to login, gives Internal Server Error. That said, after logging in and browsing a few pages, it seems to have forgotten I am logged in and clicking login, does give the opportunity to login. Again, then the ISerror comes up.

    I have no idea what can be done now. Can anyone help ?

    Thread Starter i3ant0n

    (@i3ant0n)

    Bumped because I am still stuck with this.

    Try switching to the Twenty Ten theme by renaming your current theme’s folder in wp-content/themes using FTP or whatever file management application your host provides.

    Thread Starter i3ant0n

    (@i3ant0n)

    Hi esmi. This time, doing this made the blog load as a blank white screen. Tried it on ie and gchrome, same result. Ie refused to load the page again after renaming back too. Closing and reloading the browser fixed that though. Also, tried closing browser between renaming the folder, same thing.

    Reset the plugins folder again by FTP or phpMyAdmin.

    Rename the .htaccess file in the wordPress folder to .htaccess.old

    Re-upload all files & folders – except the wp-content folder – from a fresh download of WordPress.

    Thread Starter i3ant0n

    (@i3ant0n)

    Ok, I can do the above except for the .htaccess as there is one on the domain root but haven’t seen another in any of the wp folders. There are about 20 sqls there according to phpmyadmin, some not in use.

    I’ll wait for a reply on this before I start trying to sort it. Thx for the reply esmi.

    Try renaming the .htaccess file in the domain root.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Can't login admin or view home page more than once ?’ is closed to new replies.