• Resolved vitenyi

    (@vitenyi)


    Hi
    I have a main menu at top http://www.gasztrotrip.hu.
    I’ve added two pages at the end of the menu (‘Rólunk’ and ‘Kapcsolat’). The problem is, that the last menu item always become an empty link <a>..</a> after I save the menu. I tried to rename, modify pages, menu items but the result is the same.
    Why?
    Is there anybody facing the same problem like me?
    Thx

Viewing 13 replies - 1 through 13 (of 13 total)
  • your site and links look ok – no empty link.

    are you using the browser back button after saving the menu?
    this might lead to your described behaviour.

    Thread Starter vitenyi

    (@vitenyi)

    Hi, alchymyth,
    can you click at the last main menu item “Kapcsolat”?
    No, I never use browser navigations in back-end.

    no, i missed that. you are right, there is no url in that link.
    sorry for the confusion.

    Have you tried:

    – deactivating all plugins to see if this resolves the problem? If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the default theme to rule out any theme-specific problems?

    resetting the plugins folder by FTP or phpMyAdmin? Sometimes, an apparently inactive plugin can still cause problems.

    Thread Starter vitenyi

    (@vitenyi)

    I deactivated all plugins and switched to another theme. Deleted the last menu item and add again. The problem is still persists.
    But I have a suspicion. Is it possible, that there is a limitation for menu items, exactly 15??? My last item is the sixteens, including main and sub menu items.

    If you are talking of the WP3.0 + navigation menus I can assure you that there is no limit of 15 in place, at least not by default.

    Thread Starter vitenyi

    (@vitenyi)

    WP3.0.1

    Erm – there was a Trac ticket that established that there was an issue with some servers.

    Thread Starter vitenyi

    (@vitenyi)

    Thanks esmi!

    It is a similar topic: i-can-not-for-more-than-15-menu-items-why
    Unfortunately I’ve no access to error_log check the problem.
    I’ll ask ISP.

    Thread Starter vitenyi

    (@vitenyi)

    So, my ISP set the next parameters:
    suhosin.post.max_vars = 0
    suhosin.request.max_vars = 0

    (0 is unlimited)
    Thanks

    Luckily this is one of the top 3 pages of google search “wordpress menu limit”, so I quickly found a solution. I wrote a letter to my ISP to set the limit to 5000 and now it’s solved. I just asked them to set the following two values in PHP.

    suhosin.post.max_vars = 5000
    suhosin.request.max_vars = 5000

    But I think WordPress with it’s millions of downloads should really think about a different structure for the menu data, as I think not all users go as far as this and really look after the problem. And something as popular as WordPress really shouldn’t work in a “ask you ISP to set these values for you” way!

    Hi,

    The problem is in my website, in the menu, “The page content should be viewed only if a particular user is logged in. If that particular user is not logged in, and that user clicked that menu item, it should re direct to login page. Please help me on this issue.

    <div class="indent-1"><div id="dropmenu">
                        <?php
                            wp_page_menu('show_home=0&sort_column=menu_order, post_title&link_before=&link_after=');
                        ?>
                    </div></div>

    [Please post code snippets between backticks or use the code button.]

    Does anyone know if there’s anything I can try besides adding

    suhosin.post.max_vars = 5000
    suhosin.request.max_vars = 5000

    or

    suhosin.post.max_vars = 0
    suhosin.request.max_vars = 0

    to my PHP.ini? I’m on a VPS, so I can theoretically do whatever is necessary, but I’ve tried adding both variations on the suhosin method and my menu still tops out at around 56 items. It just doesn’t save anything beyond that.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘WordPress menu problem’ is closed to new replies.