• Resolved amlie

    (@amlie)


    Hi,
    I’m running for an artist her WP site. I do not remember which version of WP it is, it’s from 2007 and I do not think it was updated since (very bad….).

    The access to the dashboard is not possible anymore. Login works fine but then instead of the dashboard only lines and lines of codes are filling the screen…

    The same lines are visible on the top of the blog: https://www.soizicstokvis.net/

    It looks like there is a lot of things that got wrong. FTP access is ok but I do not know what to do!

    I’m grateful for any hint!
    thanks
    a

Viewing 15 replies - 1 through 15 (of 20 total)
  • Moderator James Huff

    (@macmanx)

    Try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, access your server via FTP or SFTP, navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue (theme functions can interfere like plugins).

    Thread Starter amlie

    (@amlie)

    hi, thanks.
    I deactivate the plugins via phpMyAdmin but no major changes occurred (except the lay out of the blog du to missing plug in).

    I also changed the name of the active theme. But then the all blog was gone and only the lines of codes were remaining. I loged in but as before no dashboard, only code.

    Others ideas of what I can do?

    Moderator James Huff

    (@macmanx)

    Manually install a copy of Twenty Fifteen via FTP https://www.ads-software.com/themes/twentyfifteen/ and try the theme reset again (renaming the directory of your currently active theme), then never delete the default theme again. ??

    Thread Starter amlie

    (@amlie)

    the default theme has not been deleted.
    if the theme reset works with Twenty Fifteen, will I be able to use again my previous theme?

    Moderator James Huff

    (@macmanx)

    At the moment, this is just to determine if your theme was the cause. If it is, it can probably be fixed.

    Does your site work under Twenty Fifteen?

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Turn off display_errors in your PHP.INI file.

    Thread Starter amlie

    (@amlie)

    i’ve uploaded Twenty Fifteen and renamed the active theme as well as the 3 others that were in the theme folder. But no the site is not working.
    https://www.soizicstokvis.net/

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    @macmanx : That site is running WordPress 2.7. Basic debugging with Twenty Fifteen is unlikely to work. ??

    @amlie:

    Step 1: Make a backup of everything. Everything. Database, files, the lot.

    Step 2: Attempt to update the site to a more modern version of WordPress. Fortunately, WordPress is very backwards compatible, so you should be able to manually upgrade it to 4.3 with no issues. Just follow the manual upgrade instructions.

    Step 3: Now you can debug the problems with it. Trying modern solutions on a piece of software released 7 years ago is likely to lead you to frustration.

    The long and the short of it is that you’re not going to “fix” it as much as you are going to “rebuild it from scratch”. The database will likely work fine, WordPress will update it for you and keep the content. But the theme, the plugins, the site look as a whole, that’s probably all going to disappear in the rebuilding process.

    Thread Starter amlie

    (@amlie)

    where I can find this PHP.INI file? I looked but did not find it.

    Thread Starter amlie

    (@amlie)

    ok, thanks!

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Forget the PHP.INI file. I noticed that you’re running 2.7 afterwards. Go back up a couple of posts and read that instead.

    Thread Starter amlie

    (@amlie)

    Upgrade was since months on my to-do list, now is the time!

    Moderator James Huff

    (@macmanx)

    Thanks for catching that, Otto!

    Thread Starter amlie

    (@amlie)

    Hi,
    Backup is done. I have understood that I need to do a manuel upgrade (replacing wp files).
    I can not update directly to 4.3, do I?
    From 2.7 I have to update 2.9, then 3.1 etc?
    Thanks
    a

    Moderator James Huff

    (@macmanx)

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘lines of codes prevent access to dashboard’ is closed to new replies.