[How-To] Quick Troubleshooting
As you upgrade / modify vBulletin, you may come across several different errors such as:
Blank / White Page(s) If you are receiving a blank / white page on your vBulletin installation, go through each of the steps listed here as that will fix your issue 99% of the time. PHP Errors If you are receiving a php error, which should usually look something like this: Code:
Some error text in somefile.php(251) : eval()'d code (line 125) somefile.php(251) => line 251 of somefile.php eval()'d code (line 125) => there is an error in line 125 of a plugin or a template Now, to start tracking the error down, go to line 251 of somefile.php. There will probably be a fetch_hook() or fetch_template() call in this line. This identifier tells you the hook or template name that is causing the error. If it's a hook, there may be multiple plugins attached to it so you'll have to find out which one is causing the problem by disabling all of the plugins using this hook and then re-enabling them one by one until the error appears again. Now you have the exact line for the plugin code that's causing the error. If it's a template, open it and go directly to the line indicated by the error. Most likely you'll find an invalid template conditional there. Database Errors You NEED to know the exact error! Again, you NEED to know the exact error!! To view the exact error you are receiving:
Code:
Database error in vBulletin : In this case MySQL Error : MySQL server has gone away is an issue with your host, and you would need to contact them about it. Make sure to include the error(s) you're receiving when contacting them :up: ###################################### To see what's causing your problems a little faster than using the above options, a majority of the time, you can narrow it down by disabling your modifications and / or testing your problem on a completely default vBulletin style. To disable your plugins, you will need to edit your includes/config.php file and add this line right below <?php PHP Code:
|
Thanks..just what i was looking for....
|
great coding....
|
its very easy way to know Errors
but the hard thing is how to fix :) thanks for your explanation i think it will help many |
Excuseme. I need help for themes error. I was upgrade vbulletin 3.8.2 to 4.2.0 patch level 3 but i have errors down. Why?
Code:
Parse error: syntax error, unexpected '<' in /home/username/domains/domainname.com/public_html/includes/class_core.php(4633) : eval()'d code on line 5 |
All times are GMT. The time now is 08:13 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|