I ask myself why Advanced Menu System slow site loading. And after a scan for errors I found an error in
one of requested files. That file is total.php located in:
application/modules/Advmenusystem/externals/scripts/
When I opened the file i found this specific line:
include dirname(dirname(dirname(__FILE__))) . '/cli.php';
When I slowly read the all code i found a specific error that error is __FILE__
but in total.php i does not see specification for __FILE__ . I make a fixation to include the cli.php file
Replace the existing line with this line:
include dirname(dirname(dirname(__FILE__))) . '/cli.php';
With
include('applications/modules/Advmenusystem/cli.php');
Why This Fix Will Speed Site Load
The original file with non replaced file shows error 500 [Internal Error 500]. That error needs time to show and when its show the core request file again and again and again … With replacing the problem line core request total.php file and get load for 200ms with php_speedy_wp gzip and with error 500 need much more time to load and load and load.
I think this fix will do complete fix for Advanced Menu System
I’m Using Plugin:
Advanced Menu System 4.01p1
Here is Fixed Plugin : download from APC-FileHost
Looking for quality SocialEngine Web Hosting? Look no further than Arvixe Web Hosting!