SocialEngine 4: Advanced Menu System – Site Load Slow Fix

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!

Tags: , , , , , , | Posted under 3rd Party Software, SocialEngine | RSS 2.0

Author Spotlight

Andrew Cross

Andrew Cross

Hi, I'm Andrew. A am a 25, ICT Administrator which offers support to company's around the South Wales Area. I have created a few social sites for myself and other company's. So far 2 out of 3 have been successful using the powerful SocialEngine Script. I continue to try and help the community of SocialEngine by giving Support and Technical Help where possible.

Leave a Reply

Your email address will not be published. Required fields are marked *


4 + = 9

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>