• TheMarque

    (@themarque)


    I am having a bizarre and frustrating problem, and i am coming here at last resort.

    When trying to log in to my wordpress installation, it shows me the wp-login.php PHP CODE instead of correctly logging me in! I’ve done everything can think of, disabled themes. Fresh install of WordPress. Upgraded PHP version to 7.1. Disabled plugins, disabled themes. Deleted and re-uploaded fresh wp-login.php. Nothing seems to fix. I can provide [redacted] screenshots if need be.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Howdy_McGee

    (@howdy_mcgee)

    So if it’s showing the PHP code, how did you log in to disable themes and plugins? It’s probably worth at this point to contact your host.

    Thread Starter TheMarque

    (@themarque)

    I disabled them by breaking them via FTP by renaming them.

    I have contacted the host and they said they have no idea what the issue is.

    Thread Starter TheMarque

    (@themarque)

    Contacting host again

    • This reply was modified 7 years ago by TheMarque.
    Howdy_McGee

    (@howdy_mcgee)

    It sounds to me that PHP is not enabled. To test this you could create a folder in the root directory with an index.php file ( not index.php.txt or anything else, just index.php. Inside the file simply put:

    <?php die( 'Made it!' ); ?>

    If you see the PHP tags you need to contact your host telling them to enable PHP. If you don’t see the PHP tags and simply see the message “Made it!” then the issue lies somewhere else and I would do a complete reinstall of WordPress.

    Thread Starter TheMarque

    (@themarque)

    Yes, tried your experiment and that did in fact work. So PHP is on, but the issue persists.

    You can see the issue here: https://www.thejkinz.com/wp-login.php

    • This reply was modified 7 years ago by TheMarque.
    Thread Starter TheMarque

    (@themarque)

    Wow, i just got a message from my host and they just said “fixed it, check now” no idea what they did. Ill ask and post back here.

    Thread Starter TheMarque

    (@themarque)

    This is what they said. “I found that some WordPress related files missing caused the issue. I’ve manually updated the WordPress to correct the issue. If you face this type of issue in the future feel free to contact us. We are happy to assist you.”

    No idea what that was…I did a fresh reinstall of wordpress like three times.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Frustrating Trouble with wp-login.php, displaying only code’ is closed to new replies.