lpilkington
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Cannot login after fresh installHi
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.1symlinked /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.phpdefine(‘WP_SITEURL’, ‘http://’ . $_SERVER[‘HTTP_HOST’] . ‘/’);
define(‘WP_HOME’, ‘http://’ . $_SERVER[‘HTTP_HOST’] . ‘/’);original lines read
define(‘WP_SITEURL’, ‘http://’ . $_SERVER[‘HTTP_HOST’] . ‘/wordpress’);
define(‘WP_HOME’, ‘http://’ . $_SERVER[‘HTTP_HOST’] . ‘/wordpress’);Restarted lampp
/opt/lampp/lampp stop / startNow 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
LeeForum: Fixing WordPress
In reply to: Cannot login after fresh installHi
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