• To All,
    I have been battling to get this running for 2 days now and would truly appreciate some assistance.
    I have Redhat 7.2 / Php 5.6.15 / MySql 5.7.15 / Apache 2.4.6 installed on a local machine.
    I have installed wordpress v 4.6.1

    No matter what i use (/wp-login.php or /wp-admin/ which redirects) I am unable to login to the admin portal of the installation. I have enabled debug mode, and there is nothing to suggest an issue. I cannot find anything in any logs. The page just refreshes with no indication of why I cannot login. If I deliberately use an incorrect password for the account named during install, it tells me the password is incorrect.

    Also, I have drop the database, and reinstalled but still no joy.

    Does anyone have any ideas ?
    Many thanks
    Lee

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi lpilkington

    what do you mean with

    No matter what i use (/wp-login.php or /wp-admin/ which redirects) I am unable to login to the admin portal of the installation.

    does appear the login page ? or just blank page ? or dou mean you put the login and password in but doesnt get access?

    if you give this information it’s should be clear for tracking the problem

    • This reply was modified 9 years, 8 months ago by juwelier.
    Thread Starter lpilkington

    (@lpilkington)

    Hi

    Firstly, thank you for taking the time to reply. Very much appreciated.

    When I go to the URL I do get the login page.
    When I enter my username and password (which I specified during install) the login page is just “refreshed” with the standard word press logo with the normal “username or email” and “password” login box.

    if I enter my username and purposefully put in an incorrect password, I get get the “Error, the password you entered for the username <username> is incorrect. Lost your password?” diaglogue appear under the wordpress logo.

    Same behavior on both wp-login.php and /wp-admin/

    Thank you again, looking forward to your reply

    hi lpilkington

    could you put the url in here please and if possible pm me login info so i’ll check it for you?

    __________________________
    juwelier genk

    Thread Starter lpilkington

    (@lpilkington)

    Hi

    I managed to resolve this. Basically did the following (if this helps anyone with similar issues)

    Remove apache/mysql from the install (yum …. )
    Download and install xampp for linux (lampp)
    Download and install the bitnami version of wordpress 4.6.1

    symlinked /opt/lampp/htdocs to /opt/lampp/apps/wordpress/htdocs/

    Edit the wp-config file and change the following lines of code to remove /wordpress from the URL
    /opt/lampp/apps/wordpress/htdocs/wp-config.php

    define(‘WP_SITEURL’, ‘http://&#8217; . $_SERVER[‘HTTP_HOST’] . ‘/’);
    define(‘WP_HOME’, ‘http://&#8217; . $_SERVER[‘HTTP_HOST’] . ‘/’);

    original lines read

    define(‘WP_SITEURL’, ‘http://&#8217; . $_SERVER[‘HTTP_HOST’] . ‘/wordpress’);
    define(‘WP_HOME’, ‘http://&#8217; . $_SERVER[‘HTTP_HOST’] . ‘/wordpress’);

    Restarted lampp
    /opt/lampp/lampp stop / start

    Now I can hit the default loading page which is good and I can use the url /wp-login.php and login using the username and password defined during the install of bitnami version of wordpress.

    It asked for a password during the install of bitnami in the console window after the install was initiated. I just pressed Enter as I presumed it was asking for the mysql root password which at that point hadnt been set.

    Thank you for the responses and replies ….
    Much appreciated
    Lee

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

The topic ‘Cannot login after fresh install’ is closed to new replies.