Top Banner
WordPress Q&A #wpmelb Anthony Hortin @maddisondesigns maddisondesigns.com Dee Teal @thewebprincess thewebprincess.com
15

WordPress Q&A

Jan 15, 2015

Download

Internet

WP Australia

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
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: WordPress Q&A

WordPress Q&A

#wpmelb

Anthony Hortin @maddisondesigns

maddisondesigns.com

Dee Teal @thewebprincess

thewebprincess.com

Page 2: WordPress Q&A

The ‘White Screen of Death’

Page 3: WordPress Q&A

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

Page 4: WordPress Q&A

Dashboard Styles not Displaying

Page 5: WordPress Q&A

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);!

Page 6: WordPress Q&A

Dealing with File Size Limits

Page 7: WordPress Q&A

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.

Page 8: WordPress Q&A

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;

Page 9: WordPress Q&A

Turning on Debug to View Errors

Modify the following line in your wp-config.php file define(‘WP_DEBUG', true);

Page 10: WordPress Q&A

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

Page 11: WordPress Q&A

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.

Page 12: WordPress Q&A

Resetting your Permalinks

Page 13: WordPress Q&A

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);

Page 14: WordPress Q&A

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

Page 15: WordPress Q&A

Thanks! Questions?

You can find Anthony here !

@maddisondesigns maddisondesigns.com

!@easywpguide

easywpguide.com

You can find Dee here !

@thewebprincess thewebprincess.com