I can't open my WordPress login from a local Install - php

I just changed my WP user password from the Admin area of my local installation (using MAMP here). So right after I saved, everything went blank.
When I try to go to http://localhost/My-Theme/wp-admin/ I get nothing but a white page (the little MAMP favicon still on the tabs corner of the browser)
However when I go to http://localhost/My-Theme/ I can see my theme running.
Any ideas??
This is really frustrating, thank you in advance.

Firstly, you should see your apache logs so they will clarify you a bit more because it could be because of many reasons, for example problems with your database. Try to remove plugins and themes so you can see if this works or not, if it works try to add them 1 by 1 and you could see if theme or plugin fails and give this mistake.

I had a similar issue some time ago. This worked for me:
Try renaming the active theme folder (in wp-content/themes). Once renamed, WordPress will revert to using the WordPress Twenty Fifteen theme. Try to enter the login page again.

Related

Wordpress home page is blank but every other page is working fine

I am trying to move an existing site that works fine on the old server to a new server. On the new server the homepage is just showing blank page. however when i navigate to "wp-admin" or other pages like "about-us" shoiws up just fine and i am also able to login in my wp-admin. It's just the homepage that is blank..
I have tried to enable debug and also tried looking into wp_content/debug.php and it's empty:
define('WP_DEBUG',true);
define('WP_DEBUG_LOG',true);
define('WP_MEMORY_LIMIT','256M');
Next thing i tried is the permalink settings -> permalink -> "save" it also didn't work.
I have also tried by switching php version php7.3 same as the old server, didn't help
then finally i tried removing the plugins one by one and figured after removing this particular elementor plugin (https://www.eletemplator.com/ele-custom-skin/) the home page was loading fine. However this plugin is very important as most of the pages are using templates from this plugin to display the content.
Now that I know this plugin is causing the issue on the new server could it be because of the loading time? with this plugin on the old server everything works fine.
hope someone can help on this
For resolving this issue you can choose following steps:
1: First you try to disabling all the plugins of yours and then see if the front end comes back. If you can’t do it from the backend due to any reason, you can as well rename /plugins/ folder to /plugins-broken/ or similar, using FTP access.
2: If it does, then start enabling plugins one by one until the issue reappears. Then you’ll know what caused it.
After trying all the solutions, finally came to understanding that it was a memory limit issue on the httpd.conf apache server setting. After increasing the limit for RLimitMEM = 204535125 it was working!
this link really helped! incase someone faces this issue in the future please look into the httpd.conf settings for the memory limit. Further reference from a previously asked similar question: PHP out of memory error even though memory_limit not reached

WordPress Manual Install Theme/Display Issue

My Problem
I manually installed WordPress on a Debian 9 VM in Virtual Box on a Windows 10 machine. When I pull up the website, this is what I get:
A WordPress site with just HTML, no formatting
The point of this install was to learn how to make a custom WordPress theme. I have built child themes before, but never a theme from scratch, so it may be I don't have everything set up yet. But there is a second issue is WordPress does not give me an option to select my second theme either.
What I did
To set up the site, I followed this tutorial on setting up WP on a Debian system. I sort of touched up on this, but I am new to WP development. I thought this was a quick and dirty route to set up a WP install. I don't have the knowledge of WordPress to know if there is an error in this setup guide.
Again, I checked the themes folder. I could not find the custom theme I started to build as an option. I can't currently download themes straight from WP because I don't have an FTP server/client currently installed on my machine. If it were just the inability to choose a WordPress theme from the WordPress theme repository, I'd suspect it's the FTP setup. But, I also can't choose my custom theme. So is there something wrong with the install?
Summary
I can't get any formatting to work on my WP development site. I suspect it's some problem with themes, but I don't know enough about the internals WordPress to know how to diagnose the problem.
Thank you for your time
It's tough to say without seeing your setup exactly, but this is often caused by URL problems.
Are you able to access wp-admin? If so, try logging in and visiting the settings > permalinks page, then just hitting the save button.
Try reloading your site. It might be fixed.. If not, a little more to try. First, I'd open your browser's Console / Inspect mode, and see if there are any console errors (showing CSS files not loading, etc). If so, post them here.
Additionally, I found a helpful article that details some other things to try when this problem pops up:
http://wphelp24.com/how-to-fix-wordpress/how-to-fix-wordpress-css-not-loading/

My WordPress site got updated and also few plugins. site is not loading any more. What i can do it to win it back

I have WordPress site and it is updated new version. I don't know how. Few plugins also got updated. Now sites page is not loading. Server is working fine but pages are loading.
I don't have back up. How should I get back the things.
This is a good time to learn your lesson about backups. Always have a backup.
It's most likely that one plugin is breaking your site. You can copy the /wp-content folder of your site to your computer using FTP and then (after copying it locally!), one by one, delete the plugin folders in wp-content/plugins themselves on your site over FTP. After deleting each plugin folder, check if your site is back up.
If you find the offending plugin, try reinstalling it through the WordPress admin panel. Because you deleted the plugin folder and not the database entries, the settings should still be there, but your local copy is in case of further emergency anyway.
You can try renaming your plugin folders via FTP connection. Do that one-by-one and reload the site each time. They will be deactivated after you do this, and you will find the plugin which is causing the problem.

Wordpress plugins are active but not checked in admin tool

Ok, so I have a big problem. Or at least an indication of a big problem. You see I went to create a dev version of a recently launched site. I copied all the files over to a new directory, created my apache entries, created a brand new database for it, and copied over that database.
Then I made sure to change the www.mysite.com entries to dev.mysite.com in the database. All of that looked good and I restarted apache. After running into some issues with the dev site I decided to back away for the night. I went to check the production site and it was suddenly down. So I removed the SSL entry in default-ssl in Apache and restarted Apache again and that was fine.
Then I went into admin and noticed that on the plugin page it bolds the active plugins. It gives an accurate count. And the plugins are working. But the checkbox next to each isn't showing checked.
So I thought that maybe I messed up the database on accident. So I just blew away the db and re-imported it really quick from the backup I made before all this started (about 30 minutes ago). And it looks the same. The site is working, but I am having problems with admin.
Does anyone have any advice? This is freaking me out a bit. I have never had a problem like this before with creating a dev site and never had Wordpress do crazy stuff like this before.
I will add that this is running the latest version of Wordpress and WooCommerce. It seems like the site is working. But this is leaving me very concerned about other issues.
The checkbox next to my active plugins isn't checked either. I think this is normal. You check them yourself in order to apply bulk actions to multiple plugins at once (e.g. check three plugins and then use the bulk action dropdown to active all three at once).
Sorry if I've misunderstood your problem here.

Unable to access admin section of Wordpress using MAMP

I have been developing a Wordpress site locally using MAMP, and I have run into an issue twice now where when I leave at night and come back, I can't access the admin page. I have debugging on, and there aren't any fatal errors. I can access the front-end of the site just fine, but I can't log into the admin page. All I get is a white screen like:
Here is the front end:
As you can see the front end is working well, but I can't get into the admin section. I've tried to re-login and it just doesn't work.
What could be causing this? The last time this happened, I had to reinstall the entire site. I really don't want to do this every day. I know that everything was working when I left, and I haven't made any changes today.
I just ran into a problem with a brand new MAMP install along with a fresh WordPress install, with current files downloaded on 2020-06-08. MAMP installed perfectly. WordPress also installed perfectly, and the default website was accessible on my localhost. When I tried to login to wp-admin, however, I kept getting prompted to enter my username and password with no errors.
I followed every "fix" I could find and none of them worked. I uninstalled and reinstalled everything, created new databases, etc. multiple times with the same results.
After nearly 48 hours, I looked at MAMP preferences and went to the PHP tab and noticed there are two versions (7.3.9 and 7.4.2). I switched to 7.3.9 and I was able to login.
It looks like one of your plugins may be causing some trouble, as per this line:
Warning opendir(/Applications/MAMP/htdocs/wordpress/wp-content/plugins/tmm_shortcodes/views/.DS_Store/popups/): failed to open dir: Not a directory in /Applications/MAMP/htdocs/wordpress/wp-content/plugins/tmm_shortcodes/index.php on line 148
Try disabling the plugin through your PHPMyAdmin and try loading the admin page again. You should be able to find the list of active plugins in the wp_options table under
active_plugins. Make sure to save a copy of the contents of that field in a text file, in case something goes wrong so you can reset it to the original parameter.
I understand this is a very old post, but had this problem recently.
Found that my wp-config-sample.php file was missing a closing php tag ?>. Amended that and the login worked fine.
Thought I'd add my experience here. Might help someone down the line!

Categories