Hello guys,
I notice that my forum is very very slow... but not my admin panel.
So I believe that this is causing by a plugin that I installed.
Is there any way to found what plugin is causing this?
I know that I can deactivate one by one, but I dont want to make that, because I will loose that plugin configuration and I will need to setup all again...
Is there any other way?
Please help... thank you!
Quote:Generated in 2.9784639 seconds (99.64% PHP / 0.36% MySQL)
SQL Queries: 15 / Global Parsing Time: 2.9256439 / Memory Usage: 3.25 MB
PHP version: 5.3.6 / Server Load: 1.08 / GZip Compression: Disabled
[advanced details]
Generated in 0.3967211 seconds (63.23% PHP / 36.77% MySQL)
SQL Queries: 93 / Global Parsing Time: 0.2215490 / Memory Usage: 12 MB
PHP version: 5.2.17 / Server Load: 1.31 / GZip Compression: Enabled
and running like hell
That information was not helpful for me...
Can someone help me please?
Btw, I notice that as a guest, the forum is very FAST!
But as a member, is very slow...
To confirm it is a plugin issue and you're running an up to date copy of MyBB, you can disable all plugins by going to the ACP -> Configuration -> General Configuration settings and at the bottom there is "Disable All Plugins?". This will prevent plugins from running without deactivating them.
Thank you Tomm M,
I did that and the forum was very fast after that:
Quote:Generated in 0.0307570 seconds (79.58% PHP / 20.42% MySQL)
SQL Queries: 11 / Global Parsing Time: 0.0153499 / Memory Usage: 3 MB
PHP version: 5.3.6 / Server Load: 1.01 / GZip Compression: Enabled
[advanced details]
Now I only need to know what is the problematic plugin.
Do you have any suggestion for me?
try disabling them all manually and restarting each one in turn till you find which one gives you the performance hit.
Quote:I know that I can deactivate one by one, but I dont want to make that, because I will loose that plugin configuration and I will need to setup all again... Is there any other way?
Btw, I notice that:
Disable All Plugins
Setting this to yes will disable all plugins without deactivating or uninstalling them. This is equivalent of manually defining NO_PLUGINS at the top of init.php.
Is possible to add some similar code line in the plugin files?
My idea is to add a code line in all my plugin files to disable him without deactivate... and test one by one.
What do you say?
i say just deactivate them all in teh ACP then reactivate one at a time sounds less time consuming than editing every plugin file?
Some plugins uninstall themselves when you deactivate them. Ironic much.
@Divvy, in each plugin file (just after the <?php at the top) write return; - this will stop the plugin file from loading.
Thank you Tomm M
I tested in one plugin file and It works!
Now I have some work to do hehe...
Thank you once again!