I moved my wordpress site from one host account to another. I keep my URL unchanged. After that, my site is work fine - but only on front side. I cannot login to admin area - there is only blank white screen after i enter my username and password. Here is a brief detail what i have installed and what i try to do for now:
front end is work just fine - mean that DB connection is ok
login form is appear correctly. I even try to enter wrong username and/or password in order to check auth procedsure - it's ok for incorrect login. If credentials is correct - white blank screen.
have very simple template - no fancy sliders, no sophisticated framework - "simply works core"
have Better WP security installed - i try to delete plugin folder - no change
try to clean/delete .htaccess - no change
try to get manually a secret key from .htaccess and login with him - again white blank screen.
trying to run wordpress in debug mode - no error messages. Also no errors form php in error.log (edited at 28.10.2013)
Please, if anyone have same or similar problem - i'll be very happy to resolve this. My blog is a long time active, i have a lot of posts and pages there.
try change this on your wp-config.php to see if the wordpress dump any useful information about this white screen.
define('WP_DEBUG', false);
Replace that line with the following:
// Turns WordPress debugging on
define('WP_DEBUG', true);
// Tells WordPress to log everything to the /wp-content/debug.log file
define('WP_DEBUG_LOG', true);
// Doesn't force the PHP 'display_errors' variable to be on
define('WP_DEBUG_DISPLAY', false);
// Hides errors from being displayed on-screen
#ini_set('display_errors', 0);
hope that helps :)
After few days of hard but unsuccess tryouts, i found a solution. It's drastic and not well explain what happen, but it worked for me - and hope for something else too. So:
rename wp-content\plugins diretory to __plugins - this will deactivate ALL plugins
rename .htaccess to .__htaccess - this will remove all url rewrite records
clean browser cache
login from wp-admin\
when try to access plugin list, a lot of messages appear - sayng for deactivating all plugins
restore plugins and htaccess to their original names
and finally - activate all needed plugins again
In conclusion - this does not answer the question why (even if URL is not change) this happen. It also not so pleasant if you have a lot of plugins - you must remember which of them is activated.
Thank you all, that problem is closed for me.
I fixed it.
I tried the following:
define('WP_MEMORY_LIMIT', '64M');
Change Plugins name
Check white spaces
Increase memory
Change Theme
Upload new wp-admin
All of them didn't work..
I downloaded wp-config with ftp and changed the encoding using notepad++ from utf8-BOM to just utf8
A white screen only tells you that something has gone wrong.
This can be anything. Speculating is just a waste of time.
Go and find the error.log of your webserver!
Then last lines of this file should tell you what went wrong.
When you don't understand it, you can ask again.
Related
I have moved my wordpress site to a new server, and login.php is working right.
But in there many plugins is not working well, for example the login page is not linked to any other page after I submitted my username and password.
Here is the login page link:
https://cpalocate.ca/login/
I have entered the invalid username and password, it will also show the blank page, but not error page.
When I add this code in wp-config.php
define('WP_DEBUG', true);
it showed this text. " Notice: Constant WYZ_THEME_DIR already defined in /home/.....".
And I have fixed that, but the same problem.
Now there is no any error debug, but the login page is also not working.
I changed the php version of my site in cpanel, but the same.
Anyone has your idea to solve this issue?
It is possible (I'd even say likely) that on your old server it was using PHP 5.6 (or at least a different version of PHP than your new server) and now you're on 7.0, 7.2 or even 7.3. It would seem that if that's the case, some of your plugins are incompatible.
You should edit your wp-config.php and add
define('WP_DEBUG', true);
so that you can see the errors on your screen, at least until you figure out which plugins are causing the problems.
If it is a matter of PHP version, check with your host to see if they can roll you back, or you'll have to either contact the plugin author and have them update the plugins, or you need to fix the code yourself, based on whatever the error messages you see are.
Edit: if this doesn't solve your problem, first try a default WordPress theme like twenty-nineteen or whatever. If that doesn't solve it, then disable each plugin one at a time until you find the culprit.
I have turned off all my plugins and turn back it one by one.
I have found one of my plugins is caused this problem, it is PM Pro Settings.
So I deactivated it and there is no any problem now.
I am using other plugins on behalf of that one.
I am working on wordpres site, site works good but whenever i try to login using wp-admin it shows me error called "cookies are blocked due to unexpected output" and i can see one of the text "password" return on left top area of wp-admin screen.I tried to change password from phpmyadmin but it does not works. can any one help me out for this.
Thanks in advanced
Turn on Debug info by adding following code in wp-config.php
define('WP_DEBUG', true);
It will show you what code might by causing the issue.
Also read this thread please people with same issue have solved:
https://wordpress.org/support/topic/unable-to-log-in-cookies-are-blocked-due-to-unexpected-output?replies=37
If this is happening after moving a multisite to a different domain (for dev purposes for instance) then make sure you edit the following line in your wp-config.php file and change the previous domain to the current one:
define('DOMAIN_CURRENT_SITE', 'newdomainname.com');
I'm working on a site for my client and the site is live and right now it is not viewable. When I try to login to a WordPress back-end, I can't see anything.
Here is the site: http://www.theselfloveproject.net/
Here is the back-end login: http://www.theselfloveproject.net/wp-admin/
What I was doing before it blanked out, was going into the editor (html editor) for one of my plugins. I updated it and then that's when it went blank. As if I messed up something with the overall coding of the site. I'm not sure what I did.
It sounds like the update you've made is preventing access. Try disabling or removing the plugin that you edited using FileZilla (or some equivalent) to check whether you can access the login screen again.
You got a php-error somewhere, and without access to the FTP you will not be able to solve it. So just get the information from the client, don't worry it happens to all of us sometimes, no need to feel ashamed.
Once you got the credentials and FTP-access, find the wp-config.php in the root and set define('WP_DEBUG', true); reload the page and you should see what error message you get and in which file at what line.
Sounds like you updated a plugin and something went wrong.
Basically, always have FTP-credentials for live sites you are responsible for. You don't know when you will need it.
please set
define('WP_DEBUG', true); at wp-config.php file and you will see where is issue.
I messed up a wp installation so I decided to backup the database and re-install, then I deleted all the wp database tables and imported my backup
Now It doesn't output even errors ( http://toniweb.us/codigo/ ), even that I changed the debug option into true:
define('WP_DEBUG', true);
Any idea what could I try now to find out where the error comes from?
-EDIT-
Also tried:
ini_set('error_reporting', 1);
error_reporting(E_ALL);
1/ Can you log in to the admin area? I just tried to visit your admin login screen and got presented with the 'Wordpress needs to update the database' message, this is common after failed upgrades/migrations, usually hitting the update button will fix your issues (update: in this case it appears to have done so).
2/ Try switching to the default Wordpress theme (rename your current theme via FTP if you can't access the admin area). If you can access the admin area then try to reset your permalinks (just select the same option you have now, it will update it in the database).
3/ Failing that, check your themes functions.php file for any white space at the end of the document, this sometimes produces a blank white screen instead of your site.
I've been trying to install an existing drupal 6 app into a MAMP environment (mac), but i get a white page as a result of the home page. The thing is that i can access to the rest of pages if i put the absolute url, but it doesn't show anything at root ( http://virtualhostname/ )! Maybe it's a question of the .htaccess and rewrite issues. I already setted up the memory_limit of php.ini of mamp and drupal to 256M so i don't think this is the problem either. Maybe is the db, cause some parts of the pages doesn't show properly, maybe at the import something went wrong, i don't know.
Its probably a php problem. Check your apache logs for the error. If you are running linux, just go to the terminal and do 'tail -f /var/log/apache2/error.log' and referesh the url you are getting the white page.
This will let you know the reason for the white page and then you can resolve it. You can paste the error over here, so that people can look and help you debugging it.
Hope this helps!!
Put these lines at the top of your index.php file, it will display the error out to the screen instead of just the white page.
error_reporting(E_ALL);
ini_set('display_errors', TRUE);
ini_set('display_startup_errors', TRUE);
UPDATE
Sounds like the 'whitespace at the end of template files' problem, details and fixes are here: http://drupal.org/node/1424
This is usually a php memory issue, but I have also seen similar situations where having an OP code cache like APC gets messed up and the usual solution is to restart apache to solve it.
Make sure you clear cache and run update.php