2124 pointsLike some sort of WPMU DEV God"Mindblowingly helpful memberLifetime member
Ovidiu
Member
—
16th June 2011 (11 months ago)
I think we need a sticky post with how to debug a problem. And maybe some of the ideas in here can lead to a new support plugin for WPMUDEV users.
Lets see where we can start: You have a problem with a plugin or theme, its either not working as expected or not at all so where do you start?
Please provide the following info when reporting the error:
your wordpress version
your plugin version
how does the problem manifest itself?
your server and PHP info
an excerpt of your error logs
a list of all your active plugins
Lets explain one by one:
Wordpress version and plugin version are obvious questions as is the one about how does the problem manifest itself. When it comes to server info you can create a file with any name, i.e. info.php and place the following code inside it: <?php phpinfo(); ?> opening this file in the browser i.e. mydomain.tld/info.php gives you all needed info about your server environment.
Optionally you can use a plugin, i.e.
When it comes to dealing with error logs, follow Sarah's advice: http://wpmu.org/wordpress-troubleshooting-basics-how-to-check-your-error-logs/ or use a FTP program and check if you have a folder called logs which contains the error logs. Error logs are vital for properly diagnosing a problem since usually your hosting provider has set up your environment as to not display errors so that you and your site's visitors are not disturbed by error messages.
As to listing all active plugins, there were a few plugins around doing that but the last time I checked, none was reporting on those placed inside the mu-plugins folder.
I placed the list of plugins last as that usually leads to someone giving me the advice to deactivate all of them and try again, which I cannot do on a live environment but nevertheless its sound and logic advice so I listed it here.
And now lets see if we can come up with some ideas for a support and/or reporting for WPMUDEV users.
Obviously you guys don't want to receive emails for every error we have but how about a plugin that helps when reporting errors and does the following:
user CLICKs to enable debugging to a certain file
User triggers the problem by activating the plugin or running it
user CLICKs to stop debugging and gets a nice report by email he can then submit here in the forum containing the following info
- error log output between the two CLICKs by the user
- system info taken from <?php phpinfo(); ?>
WoW. That just turned out to be the longest post I've ever written :-) I might publish it on my blog too ;-) Feel free to correct, add to it and make it sticky....
###edit###
*sarcasm start*I know its a long text and most people won't read it until the end :-(*sarcasm end*
I think we need a sticky post with how to debug a problem. And maybe some of the ideas in here can lead to a new support plugin for WPMUDEV users.
Lets see where we can start: You have a problem with a plugin or theme, its either not working as expected or not at all so where do you start?
Please provide the following info when reporting the error:
your wordpress version
your plugin version
how does the problem manifest itself?
your server and PHP info
an excerpt of your error logs
a list of all your active plugins
Lets explain one by one:
Wordpress version and plugin version are obvious questions as is the one about how does the problem manifest itself. When it comes to server info you can create a file with any name, i.e. info.php and place the following code inside it: <?php phpinfo(); ?> opening this file in the browser i.e. mydomain.tld/info.php gives you all needed info about your server environment.
Optionally you can use a plugin, i.e.
When it comes to dealing with error logs, follow Sarah's advice: http://wpmu.org/wordpress-troubleshooting-basics-how-to-check-your-error-logs/ or use a FTP program and check if you have a folder called logs which contains the error logs. Error logs are vital for properly diagnosing a problem since usually your hosting provider has set up your environment as to not display errors so that you and your site's visitors are not disturbed by error messages.
As to listing all active plugins, there were a few plugins around doing that but the last time I checked, none was reporting on those placed inside the mu-plugins folder.
I placed the list of plugins last as that usually leads to someone giving me the advice to deactivate all of them and try again, which I cannot do on a live environment but nevertheless its sound and logic advice so I listed it here.
And now lets see if we can come up with some ideas for a support and/or reporting for WPMUDEV users.
Obviously you guys don't want to receive emails for every error we have but how about a plugin that helps when reporting errors and does the following:
user CLICKs to enable debugging to a certain file
User triggers the problem by activating the plugin or running it
user CLICKs to stop debugging and gets a nice report by email he can then submit here in the forum containing the following info
- error log output between the two CLICKs by the user
- system info taken from <?php phpinfo(); ?>
WoW. That just turned out to be the longest post I've ever written :-) I might publish it on my blog too ;-) Feel free to correct, add to it and make it sticky....
###edit###
*sarcasm start*I know its a long text and most people won't read it until the end :-(*sarcasm end*
I am gonna make your post sticky actually... hopefully it'll help some members to find out how they can troubleshoot!
I like your idea about some kind of error log. Rather, I think it'd be cool if we could build into Update Notifications some kind of system that allows members to allow us access to their install from within their backend.
ah, I seem to have missed that post by Siobhan, just glanced over it and its very similar to what I am saying except that I forgot about resetting to default theme and some other details she mentions instead I mentioned a couple of useful plugins :-)
Its good to hear that you're thinking about some sort of plugin too. If you guys have some issues with access to clients systems, I don't know about the liabilities for such things, at least the functions I suggested that help the users gather the needed info would be a starting point.
I'm quite sure that won't happen simply because that would cause a load of strain on the support team as people are lazy and most people won't bother opening a thread here anymore but simply click the report button and thus flood the support team with requests...
10635 pointsLike some sort of WPMU DEV GodMindblowingly helpful memberLifetime member
Sales & Support Lead
—
20th June 2011 (11 months ago)
#
@Ovidiu, I read this post and had a great big smile on my face :) Love to see members here passing along solid, valuable information.
Folks can save a ton of time by going through the steps you've provided above and including the information in their first post here. We're still looking at various ways of getting all this awesome information together to make it accessible to the most people.
Thanks (as always) for your useful knowledge here on the forums :)
Great advice Ovidiu... I've been guilty of omitting important pieces of information when making support requests in the past--here and elsewhere. I'm also on the receiving end of incomplete requests for support daily. No matter what side of the request you're on, having all the necessary info saves a lot of time and effort.
Thanks but you see, I must admit I don't expect anyone to provide all that info. Everyone wants their problem solved, pronto, so I'm happy if at least some of it is provided.
I prefer a piece of error log to any other info honestly, mostly we're left stabbing in the dark though :-(
Responses (9)
Sales & Support Pro — 16th June 2011 (11 months ago) #
Hiya!
That's an awesome post, nice one - more rep points for you!
We do have something similar that Siobhan wrote a few weeks ago here:
http://wpmu.org/troubleshooting-wordpress-support-request-etiquette-and-how-to-get-the-answers-that-you-need/
I am gonna make your post sticky actually... hopefully it'll help some members to find out how they can troubleshoot!
I like your idea about some kind of error log. Rather, I think it'd be cool if we could build into Update Notifications some kind of system that allows members to allow us access to their install from within their backend.
Hmm... got me thinking!
Phil
Member — 16th June 2011 (11 months ago) #
ah, I seem to have missed that post by Siobhan, just glanced over it and its very similar to what I am saying except that I forgot about resetting to default theme and some other details she mentions instead I mentioned a couple of useful plugins :-)
Its good to hear that you're thinking about some sort of plugin too. If you guys have some issues with access to clients systems, I don't know about the liabilities for such things, at least the functions I suggested that help the users gather the needed info would be a starting point.
Blog Master — 17th June 2011 (11 months ago) #
Great post Ovidiu! If you don't mind I'll combine it with my post and Sarah's and make a huge bug checking post!
Member — 17th June 2011 (11 months ago) #
sure, go for it :-)
Member — 20th June 2011 (11 months ago) #
Why not add the ability to submit a bug with that level of detail directly into the WPMU DEV Update Notifications plug-in?
Andrew
Member — 20th June 2011 (11 months ago) #
@AndrewTraub:
I'm quite sure that won't happen simply because that would cause a load of strain on the support team as people are lazy and most people won't bother opening a thread here anymore but simply click the report button and thus flood the support team with requests...
Sales & Support Lead — 20th June 2011 (11 months ago) #
@Ovidiu, I read this post and had a great big smile on my face :) Love to see members here passing along solid, valuable information.
Folks can save a ton of time by going through the steps you've provided above and including the information in their first post here. We're still looking at various ways of getting all this awesome information together to make it accessible to the most people.
Thanks (as always) for your useful knowledge here on the forums :)
Member — 29th June 2011 (11 months ago) #
Great advice Ovidiu... I've been guilty of omitting important pieces of information when making support requests in the past--here and elsewhere. I'm also on the receiving end of incomplete requests for support daily. No matter what side of the request you're on, having all the necessary info saves a lot of time and effort.
Member — 30th June 2011 (10 months ago) #
Thanks but you see, I must admit I don't expect anyone to provide all that info. Everyone wants their problem solved, pronto, so I'm happy if at least some of it is provided.
I prefer a piece of error log to any other info honestly, mostly we're left stabbing in the dark though :-(
Become a member