Troubleshooting Your Site
Some days you can do all the right things and still find yourself with trouble to fix on your site. Anthony, Dee and Warren will run a troubleshooting panel to talk through common issues you may find yourself stuck on and also be available to answer your troubleshooting questions, so come prepared!! Here are some conversation starters...
1. The dreaded white screen of death
2. Dealing with upload file size limits
3. Runing out of memory
4. Turning on debug and being able to interpret results from that
5. 500 server errors, what causes them, how to fix them.
6. When permalinks needing rejigging
7. Having to add FTP details every time you install a plguin and how to add the relevant defines to the config to combat this if your host won't fix your permissions.
8. Permissions errors, how to diagnose them, and what to ask your host to do to fix them.
- Dee Teal and Anthony Hortin
3. The ‘White Screen of Death’
The ‘White Screen of Death’ is exactly how it sounds.
A simple blank white screen, with no errors! Aargh!
It can be caused by numerous issues.
!
Try increasing the PHP Memory Limit
!
Deactivate all plugins
!
Change to one of the default WordPress themes
!
Enable Debug in your wp-config.php file
5. Dashboard Styles not Displaying
If your Dashboard looks like there’s no CSS styles
applied, try adding the following to your
wp-config.php file
!
define('CONCATENATE_SCRIPTS', false);!
7. Dealing with File Size Limits
Create a php.ini file in your root folder
Add the following lines & save
!
upload_max_filesize = 64M;!
post_max_size = 64M;!
!
!
If it doesn’t work after adding the file to the root folder, try
moving it to the wp-admin folder. Different hosts have different
restrictions so your experience may vary.
8. Running out of Memory
Two options:
!
Add the following line to your wp-config.php file
define('WP_MEMORY_LIMIT', ‘256M');!
!
- or -
!
Add the following line to your php.ini file
memory_limit = 256M;
9. Turning on Debug to View Errors
Modify the following line in your wp-config.php file
define(‘WP_DEBUG', true);
10. 500 Server Errors
The HTTP 500 Internal Server is a very generic error
so it often requires some troubleshooting.
!
Check for corrupt .htaccess file
!
Increase the PHP Memory Limit
!
Deactivate all plugins
!
Re-upload Core WordPress files
!
If all else fails, ask your website hosting provider
11. Resetting your Permalinks
If you receive 404 errors or ‘This page doesn’t exist’,
try resetting your permalinks.
!
To reset your Permalinks, click the Save Changes
button on the Settings > Permalinks screen.
13. Avoid FTP Prompts
Sometimes when updating WordPress or installing a
plugin, you’re prompted for FTP Details.
!
Ask your host to check/reset file permissions/ownership.
If that fails, add the following to wp-config.php
!
define('FS_METHOD', 'ftpext');!
define('FTP_BASE', '/path/to/wordpress/');!
define('FTP_USER', 'username');!
define('FTP_PASS', 'password');!
define('FTP_HOST', 'host');!
define('FTP_SSL', false);
14. Permission Errors
Permissions errors come in various forms. Most
commonly, you’re unable to upload files/images.
!
In a Unix environment:
!
- All files should be owned by the user's account
- All directories should be 755 or 750.
- All files should be 644 or 640.
Exception: wp-config.php should be 600
- No directories should ever be given 777
15. Thanks!
Questions?
You can find Anthony here
!
@maddisondesigns
maddisondesigns.com
!
@easywpguide
easywpguide.com
You can find Dee here
!
@thewebprincess
thewebprincess.com