Forum Replies Created

Viewing 15 replies - 1 through 15 (of 24 total)
  • So, I looked through my Apache error_log while having this problem, and it gave me the following error:

    PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 58368 bytes) in /path/to/wordpress/wp-admin/admin-functions.php

    So, I looked in my php.ini file, and found the max memory directive of 8M, and increased it to 16M. It seems to have solved my problem. I’m not certain if this is a really bad idea or not, as I’m fairly new to this, but I suppose I’ll find out. Just FYI for anyone looking for a way to use all their plugins and still get their Admin page.

    Forum: Plugins
    In reply to: Calendar by Vanguard

    Well, none that I’ve tested. There’s WP-iCal but it doesn’t list 2.0 compatibility, and I’ve not tested it, so I’m honestly not sure how it works.

    I’ve also not really checked out Event Calendar 3 but it might work for you.

    Forum: Plugins
    In reply to: Calendar by Vanguard
    ptp

    (@ptp)

    I really don’t know. I’m out of suggestions, as I’ve suggested everything I had to do to make it work… Hrmmm.

    ptp

    (@ptp)

    Using WordPress 2.0.2 here. Both Trackbacks and Pingbacks to the test site above worked just fine for me. Both Trackbacks and Pingbacks to my own site from the test site above also worked just fine for me. Pingbacks and Trackbacks to my own site also got through just fine.

    ptp

    (@ptp)

    It isn’t working for me… it is possible that the machine you’re surfing from uses a DNS server that has the old information cached… I don’t know though. When I try to follow the link you post (after removing the two periods after the .com) and click on blog, I get an error establishing the database connection.

    Forum: Plugins
    In reply to: Calendar by Vanguard
    ptp

    (@ptp)

    Okay, try changing

    <?php include ("header.php") ; ?>
    Calendário
    <div id="calendar">
    <? if (function_exists('do_calendar')) { do_calendar(); } ?></div></body>

    <?php include ("footer.php") ; ?>

    to


    <?php include ("header.php") ; ?>
    Calendário

    <ul>
    <li>
    <div id="calendar">
    <? if (function_exists('do_calendar')) { do_calendar(); } ?></div></li>
    </ul>
    <?php include ("footer.php") ; ?>

    Just a note, take that end body tag out, as the footer puts it in for you. I don’t know if that’s causing your problem, nor am I certain that my suggestion will fix your problem. I abandoned the use of this plugin because I couldn’t get it to produce valid XHTML.

    Thread Starter ptp

    (@ptp)

    Okay, sorry, I’m not really trying to bump this, I’m just trying to make sure that the solutions are here before I give up. After some searching, I found Ticket #2638, which addresses this issue. I’ve applied the code change recommended by the submitter, and it has taken care of the problems I was having in a much narrower scope than my initial fix suggestion. The ticket can be viewed at

    http://wordpress.org/support/topic/67267?replies=6

    I’m changing this to resolved.

    Forum: Plugins
    In reply to: Calendar by Vanguard
    ptp

    (@ptp)

    Where do you want the calendar to appear, and what template file have you put that code in?

    ptp

    (@ptp)

    And you’re using 2.0.2? On checking your site, yes it looks like you are… Hrmmm. Let me play with things on my site for a bit.

    Forum: Plugins
    In reply to: Calendar by Vanguard
    ptp

    (@ptp)

    Catherine_cath,

    I can’t find the calendar at your site. Is your calendar within a <div id="calendar"> ? It often doesn’t behave well if it is not.

    ptp

    (@ptp)

    Hrmm… I dunno then… using those symbols worked for me… I’m assuming you’ve tried including the part with the gt and lt symbols within code tags, is this a correct assumption?

    ptp

    (@ptp)

    If you want the symbols to show up, you’ll need to use:

    & lt; for <
    & gt; for >

    minus the spaces between the & and l/g. At least, that’s the only way I’ve been able to make them show up, even using the pre and code tags in WordPress 2.0.2.

    It’s even munching my comment as I try to respond now.

    ptp

    (@ptp)

    The validator page has two options that may be of help to you: Show Source, and Verbose Output. If you turn these on and revalidate, the site itself gives suggestions about how to fix your code (many suggestions show up without these options anyway), and you can look at the line numbers it’s talking about in the source below the error list. That might get you started.

    Thread Starter ptp

    (@ptp)

    All right,

    It looks like no one is inclined to help. After a lot of research I’ve managed to apply a quick-and-dirty fix to get this validating again, the details are below:

    I replaced line 624 of widgets.php with four lines of code.
    624 was originally:

    wp_list_pages("title_li=$before_title$title$after_title");

    Changing it to:

    ob_start ();
    wp_list_pages("title_li=$before_title$title$after_title");
    $tempout = ob_get_clean ();
    echo stripslashes($tempout);

    This is obviously quick and dirty, because if there *were* any reason to have backslashes in that line of HTML, it would remove them indiscriminately. I’ve been unable, however, to get the replacement to work using preg_replace or str_replace. So, for anyone else who wants to use the widgets plugin with the Kubrick theme, wants to display their pages section on their dynamic sidebar, and wants their page to validate, the above code change in widgets.php should temporarily fix it.

    Thread Starter ptp

    (@ptp)

    I’m still stuck on this. Has anyone got any idea how I can get rid of those slashes? It looks like somewhere in the wp_list_pages function, the quotes we’re feeding to it are getting escaped (notice that there’s a / before both quotes in the <h2 class="widgettitle"> tag). I’ve examined the function in the wp-post-functions.php file, but I haven’t found anything that jumps out at me. Granted, I don’t understand every bit of code there, but at any rate, I’m stuck. I think I understand most of the code, except I don’t know what __(‘Pages’) is, so I don’t know if that could be where it’s coming from.

    Please help.

Viewing 15 replies - 1 through 15 (of 24 total)