Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

WordPress menu limit problem on Media Temple (GS) WordPress

  • SOLVED

I've run into the menu limit issue on my Media Temple (gs). I've already reviewed other [resolved] threads on the wordpress.org forums regarding this issue and have implemented those solutions w/o any success.

More info about my issue. Hopefully, this will help with analysis of the issue:

<strong>Hosting:</strong>
Media Temple (gs)

<strong>WordPress Setup:</strong>
Wordpress 3.0.5 with Multisite enabled.

<strong>Menu breakdown</strong>
42 Total Menu Items <em>currently</em> - (<strong>56 total desired</strong>)
----------------------------------
9 Main Nav Items
15 Secondary Nav Items
18 Tertiary Nav Items <em>currently</em> - (<strong>32 total desired</strong>)

<strong>Updates to php.ini</strong>
The file has been updated with the following code.
Path to file: <strong>etc / php.ini</strong>

extension=suhosin.so
suhosin.memory_limit = 128M
suhosin.post.max_vars = 5000
suhosin.request.max_vars = 5000

<strong>Updates to .htaccess</strong>
The file has been updated with the following code.
Path to file: <strong>domains / site.org / html / .htaccess</strong>

php_value suhosin.memory_limit 128M
php_value suhosin.post.max_vars 5000
php_value suhosin.request.max_vars 5000

<strong>Screenshot attached</strong>
Shows current menu. Menu times out when trying to add tertiary nav items to Case Gallery and Project Websites.

Answers (4)

2011-02-14

Denzel Chia answers:

Hi,

Not sure if this will help.
Found this article by one of the WordPress Core Developers talking about memory limit of suhosin.
http://hakre.wordpress.com/2010/08/17/mysteries-about-the-wordpress-memory-limit/

And this plugin by WordPress may be able to bump up your memory to 256MB.
http://wordpress.org/extend/plugins/memory-bump/faq/


Thanks.


Michael Brumm comments:

While this was not the actual answer, this led me down the right path.

Right now, the only hack that seems to work is to:

1. manually change both the php.ini and .htaccess limit's to 256MB
2. add the new secondary or tertiary menu item to the root of the menu and save
3. move this new menu item to it's intended secondary or tertiary location and save

This seems to be the only variation of the approaches that doesn't time out.

Thanks Denzel for pointing me in the right direction.
Mike

2011-02-14

Jonah Schulte answers:

I'm not sure what the issue normally is with the menus on Meida Temple, but are you sure you're using PHP5 on the server and not PHP4? Just checking because sometimes using 4 can cause issues. You can select to use 4 or 5 in the MT Account Center site. The issue is probably something else but worth double checking...


Michael Brumm comments:

Thanks. That was one of the first things I checked.

Current version of PHP running on the server is: <strong>5.2.14</strong>

2011-02-14

Oleg Butuzov answers:

add this to your wp-config.php also...


define('WP_MEMORY_LIMIT', '128M');

2011-02-14

Rashid Aliyev answers:

Open configuration file and extend limit.

Add line:
define('WP_MEMORY_LIMIT', 'SIZE');

Relie SIZE with your size.
K - Kilobyte
M - Megobyte