Site icon Hip-Hop Website Design and Development

Unable to entry the wp-admin facility at localhost:port/wp-admin [closed]


NOTE:
This matter was closed and i do not know WHY because it offers particularly with WP server configuration, which this discussion board is marketed to be particularly FOR.

I did give you a workaround, which i needed to submit. I added the next strains of code to my web site’s wp-config.php file and that obtained me across the situation:

outline(‘WP_HOME’,’http://localhost:8888′);
outline(‘WP_SITEURL’,’http://localhost:8888′);

I first tried creating a neighborhood web site certificates for my localhost configuration, however the steps that i adopted wouldn’t enable me to start out the MAMP server correctly. I’m following up on the MAMP help discussion board to see if i can get steps that work. However, i needed to submit my workaround as breadcrumbs for these with the identical downside which will stumble throughout this later.

END NOTE


Authentic downside/submit:

A number of months in the past, I’ve arrange a MAMP set up (model 6.3) utilizing Apache working on my Mac, i’ve obtained a shopper’s WordPress web site put in on it and it really works simply high quality. It has been working high quality for a few months as i’ve developed a brand new plugin. Now, within the last stretch of testing, i’m out of the blue unable to entry the wp-admin facility.

I don’t know what brought on this situation. When i attempt to entry the localhost’s WordPress admin facility (https://localhost:8888/wp-admin), i get the next message:

This web site cannot present a safe connection.
localhost despatched an invalid response.
ERR_SSL_PROTOCOL_ERROR

I’m not in any respect acquainted with "SSL" however was underneath the impression that localhost couldn’t use SSL straight. I’m not sure methods to proceed. There are not any errors in any wordpress debug logs or within the Apache logs to assist me slim this down. I’ve performed in depth googling of this and a few options have popped up and none of them work in my case:

  1. Merely use "http://" fairly "https://", as in "http://localhost:8888/wp-admin". This ends in the identical error given above.

  2. Add the next line to the wp-config.php file:
    outline(‘FORCE_SSL_ADMIN’, false);

I attempted this and it doesn’t work. Identical error.

  1. This submit particulars a two-step course of the place knowledge is inserted into the “wp_options” desk after which create an SSL certificates. The issue with this resolution is that my database doesn’t have a “wp_options” desk in it, neither in my take a look at model of the location on my localhost nor in my shopper’s manufacturing web site. The “wp_options” desk merely doesn’t appear to exist. Does anyone know what schema you’d discover it in? I’m undecided if that’s an issue or not. The second step says to "install a certificate on localhost". I don’t know how to do this and have not tried, as a result of not having the ability to discover the "wp_options" desk. If anybody can level me to a how-to on that, i’d admire that.

Here is the instance submit:
Tips on how to migrate a HTTPS WordPress set up to localhost?

  1. (possibly an addendum to #3). Most of the options that i’ve examine consult with modifying knowledge within the ‘wp_options’ desk. My shopper’s database (nor mine, since it’s a copy of my shopper’s) incorporates this desk. It is perhaps a associated query, however i am undecided how my shopper’s web site (or my native web site) can run with out it?

What’s so very odd about that is that i’ve been growing this web site for over 2 months with no points and now on the very finish right here, this downside out of the blue appeared, i’ve no perception into what brought on the difficulty.

Hopefully, somebody right here has run throughout this situation and might refer me to some documentation that i can observe to get there. I can not set up plugins on my web site and full my testing with out it.
thanks!