• Resolved rcain

    (@rcain)


    Generally nice plugin, however, I have experienced following problem:

    wordpress V2.9.1 and/or 2.9.2 (latest) – tried both, same result:

    plugin works fine EXCEPT, when using a url such as:

    http://myblog/category/testx/

    .. where category testx does not exist

    wordpress displays partial raw text from the themes footer.php – ie::

    iv id="footer">
    	<div id="base">
            <ul>
                <li class="baseHdr">Recent Posts:</li>
    .....
    </div><!-- end #wrapper -->
    </body>
    </html>

    ie. it fails to produce ANY of the header or page code for the site and even corrupts the footer file itself (misses off the first few chars of the file). Similar to if it had tried an echo with headers already sent (though it doesnt actualy produce that error message).

    I expected it to display blank page (or 404) , which is what would ordinarily display under such circumstances.

    This happens regardless of the theme chosen.

    Disabling the plugin, stops this misbehaviour.

    I have tried reinstalling, plugin from scratch, also reinstalling wordpress from scratch. Same result.

    Permalinks are set to /%category%/%pagename%/, though I have tried other combinations with same result. (However, I suspect it may have something to do with htaccess (or possibly caching), since renaming htaccess stops problem, though obviously prevents permalinks – ie. no good).

    Anyone experienced similar? Anyone found a solution?

    Thanks in advance for any help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter rcain

    (@rcain)

    ah, OK, think I’ve found the problem:

    In order to achieve some fancy text effects, I was inputing a menu item name of eg:

    media<span class="light_blue">pro</span>

    .. which it was accepted fine, and also running fine, EXCEPT, it seems, under conditions when page/category not found (?!).

    I also note (via direct view of db) that on subsequent save of edited menu items, it was (understandably) truncating this to:

    media<span class=

    (bytheby, I had also started menu item order at 1 instead of 0 – may also have been part of problem).

    i will therefore try and hack/extend this plugin to render the text effects I want, and post my results later.

    Hope someone finds this useful.

    Thread Starter rcain

    (@rcain)

    … stop press…

    i still have a problem here, even after removing all my fancy span styles from menu item names (and checking in the database that they are clean). also, having reorderd all items in all menus starting from 0.

    the only thing i can track it down to is two separate menu’s appearing in my themes header.php as:

    <body>
    <div id="wrapper">
    	<div id="header">
    		<div id="scl_top_nav">
    			<?php if (function_exists('displayMenu')) displayMenu(1); ?>
    		</div>
    ...
    			<div id="navcontainer">
    				<div id="scl_main_nav">
    					<?php if (function_exists('displayMenu'))  displayMenu(2); ?>
    				</div>
    			</div>
    ....

    the second call (displayMenu(2)) breaks wp when category or page does not exist.

    i also have (different) menus appearing in sidebar.php and footer.php (though these in themselves dont seem to cause a problem).

    therefore i still have a problem, can anyone help?

    Thread Starter rcain

    (@rcain)

    ok. think i have the answer now.

    this seems to an underlying problem with Fasthosts 404 handling and wp.

    simply coincidence that the problem triggered in this way. there is no suspected bug with the Menucreator plugin.

    i am investigating things further and experimenting with Fasthosts domain error handling options. will report back if any success.

    Hey can you send me a URL so I can look at this.

    Jared
    UltimateIDX Team

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: WordPress Menu Creator] breaks wp if category does not exist’ is closed to new replies.