• Resolved Ralda

    (@ralda)


    A lot went wrong today on our website https://www.spellenmolen.be

    A short history of what I’ve done wrong:
    – I changed something in functions.php, than I had a blanco website and nothing worked.

    – I undid this change in the file via FTP, refreshed the webpage (without closing my browser!) and the site was back. However, all widgets and custom menus in the left sidebar were gone.

    – I closed my browser for lunch time, after lunch I opened everything and I couldn’t login anymore. It says

    ERROR: Cookies are blocked due to unexpected output.

    – I’ve tried changing the name of my plugins and the plugin folder, but this makes no difference. Also, cookies are accepted in my browser.

    I really hope some of you can help me, the first step is that I should be able to log in again.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hey Ralda,

    Hope you’re doing well today!

    Try changing the folder name for your theme, that will default your site back to the WordPress twentyfifteen theme if you have it. That way we will know if it’s still an issue with the functions.php file that you edited – it sounds like it is.

    Another option you may want to try first is just clearing your cookies and cache or checking a new browser.

    Let us know if that does the trick ??

    All the best,
    Tyler

    Thread Starter Ralda

    (@ralda)

    Hey Tyler,

    Thanks a lot!

    I found an (older) backup on my computer and I replaced the functions.php file with that one. This solved the problem, the site is working just like before now.

    Awesome! No problem ?? glad to hear it is working now.

    Enjoy the rest of your weekend.

    Cheers,
    Tyler

    This just started happening to my site. I haven’t done squat there in months. Just wanted to log in today to nuke all of the spam.

    I renamed all plug-in files and turned debug on in wp-config.php

    renamed the error log file and now no longer see any new errors.

    __STILL__ cannot log in. I have tried the various functions.php tricks. I have transferred various files over to my Linux desktop and check for UTF-8 with Kate text editor.

    I even tried this in the top of wp-config.php
    define( ‘WP_DEFAULT_THEME’, ‘twentyten’ );
    and when I do that I get nothing.

    renaming the seos-blue theme folder gives me even more nothing as I assume the “default” where ever it is configured doesn’t exist on this blog.

    I am not a Web programmer, but a business application programmer with nearly 30 years in IT. I don’t speak PHP. How and what file do I hack to change to twentyten, twentythirteen, twentyfourteen, or twentytwelve (since they are provided by WordPress I _assume_ they don’t have any offending files.)

    I’m seriously thinking about turning off automatic updates (once I can get logged in) because this site was just fine last time I logged in. One other person has been entering posts (they have no admin access) and that is all that has happened. I do remember receiving an automated update message a while back. I assume this went south with the update.

    I now have no plug-ins and cannot log in. Please help. I do have FTP access to folders so I can transfer and edit.

    Judging from the message threads this is an all too common occurrence.

    Thanks,

    Ok, 5 hours later I tracked it down. I’ve been running the seos-blue theme for months now and all was well. Whatever came down in recent automatic updates really clocked this theme. In the middle of the functions.php file there was an ending <? followed by blank lines and <?php. Deleting all of that “fixed” it, but why did it break now? I don’t hack and edit themes. I find something I like, use some of the sidebar entries, then leave it alone until I get tired of looking at it, which can take over a year.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Cannot login on WordPress site’ is closed to new replies.