The MU forums have moved to WordPress.org

ahp recent posts (13 posts)

  1. billT
    Member
    Posted 15 years ago #

    Is there a simple way to make the @ in $blog_prefix = "@"; an image. When I put the code for an image there the whole site becomes a blank page

  2. andrea_r
    Moderator
    Posted 15 years ago #

    Blank page means an error in your syntax.

  3. billT
    Member
    Posted 15 years ago #

    Im just adding <img src=etc.> between the '' does it have to be done with php rather than html?

  4. andrea_r
    Moderator
    Posted 15 years ago #

    But you're adding it in the middle of a php expression, so you have to escape the quotes.

  5. billT
    Member
    Posted 15 years ago #

    Got it now thanks

  6. billdennis5
    Member
    Posted 15 years ago #

    The plugin causes my admin bar to disappear, along with my footer.

    Are there any earlier sitewide recent post plugins that do not do this?

    I wear to God, this must be the hardest thing in the universe to accomplish, because I've only been trying to for five friggin' years to reliably show member blogs on the front page.

  7. billdennis5
    Member
    Posted 15 years ago #

    This is odd.

    I have the plugin displaying properly on one site, but not on my front page, where the plugin will not display the number of blogs being called (just five instead of 7), the admin bar doesn't appear, and neither does the footer.

    Any help would be greatly appreciated.

  8. andrea_r
    Moderator
    Posted 15 years ago #

    "where the plugin will not display the number of blogs being called (just five instead of 7), the admin bar doesn't appear, and neither does the footer."

    This tells me that it hits an error right after the 5th one and stops loading the rest of the page.

    Did you check your logs?
    Have you double-checked both templates to make sure the code is in there exactly the same on both? (or is it a widget?)

  9. billdennis5
    Member
    Posted 15 years ago #

    Not a widget. I hand coded it onto the theme's sidebar.php.

    Also, I just now went into the code and changed it to render just three posts instead of seven. It rendered three posts, with the same missing admin bar and footer. So the error is not being caused by the posts themselves.

  10. billdennis5
    Member
    Posted 15 years ago #

    I'm walking out the door now. I thought I'd post this morning errors from my error log:

    [Thu Feb 19 08:49:58 2009] [error] [client 200.216.61.139] PHP Fatal error:  Call to undefined function  the_keywords() in /home/blogpeor/public_html/wp-content/themes/Justice Blog of America/header.php on line 9, referer: http://justiceblogofamerica.blogpeoria.com/2007/03/13/oh-my-god-they-killed-jimmy-olsen/
    [Thu Feb 19 08:49:16 2009] [error] [client 189.53.127.12] PHP Fatal error:  Call to undefined function  the_keywords() in /home/blogpeor/public_html/wp-content/themes/Justice Blog of America/header.php on line 9, referer: http://justiceblogofamerica.blogpeoria.com/2007/03/13/oh-my-god-they-killed-jimmy-olsen/
    [Thu Feb 19 08:48:24 2009] [error] [client 200.222.48.8] PHP Fatal error:  Call to undefined function  the_keywords() in /home/blogpeor/public_html/wp-content/themes/Justice Blog of America/header.php on line 9, referer: http://justiceblogofamerica.blogpeoria.com/2007/03/13/oh-my-god-they-killed-jimmy-olsen/
    [Thu Feb 19 08:48:00 2009] [error] [client 212.33.142.236] PHP Fatal error:  Call to undefined function  tla_ads() in /home/blogpeor/public_html/wp-content/themes/primepress/sidebar-two.php on line 20, referer: http://images.google.com/imgres?imgurl=http://billydennis.blogpeoria.com/files/2008/06/marisa-miller-cubs-jersey.jpg&imgrefurl=http://billydennis.blogpeoria.com/2008/06/07/you-wanna-see-some-hot-cubs-fans-heres-one/&usg=__2R6oL1zQgCOfEb-3C8gI4Z309Q0=&h=482&w=300&sz=31&hl=en&start=46&um=1&tbnid=W0cPLR5ACSFCCM:&tbnh=129&tbnw=80&prev=/images%3Fq%3Dmarisa%2Bmiller%26start%3D40%26ndsp%3D20%26um%3D1%26hl%3Den%26client%3Dsafari%26rls%3Dnb-no%26sa%3DN
    [Thu Feb 19 08:48:00 2009] [error] [client 74.53.91.58] PHP Fatal error:  Call to undefined function  the_keywords() in /home/blogpeor/public_html/wp-content/themes/Justice Blog of America/header.php on line 9, referer: http://justiceblogofamerica.blogpeoria.com/2007/03/13/oh-my-god-they-killed-jimmy-olsen/
    [Thu Feb 19 08:47:38 2009] [error] [client 189.12.128.18] PHP Fatal error:  Call to undefined function  the_keywords() in /home/blogpeor/public_html/wp-content/themes/Justice Blog of America/header.php on line 9, referer: http://justiceblogofamerica.blogpeoria.com/2007/03/13/oh-my-god-they-killed-jimmy-olsen/
    [Thu Feb 19 08:47:27 2009] [error] [client 190.12.65.66] PHP Fatal error:  Call to undefined function  the_keywords() in /home/blogpeor/public_html/wp-content/themes/Justice Blog of America/header.php on line 9, referer: http://justiceblogofamerica.blogpeoria.com/2007/03/13/oh-my-god-they-killed-jimmy-olsen/
    [Thu Feb 19 08:46:58 2009] [error] [client 189.124.152.141] PHP Fatal error:  Call to undefined function  the_keywords() in /home/blogpeor/public_html/wp-content/themes/Justice Blog of America/header.php on line 9, referer: http://justiceblogofamerica.blogpeoria.com/2007/03/13/oh-my-god-they-killed-jimmy-olsen/
    [Thu Feb 19 08:46:36 2009] [error] [client 114.121.144.241] PHP Fatal error:  Call to undefined function  tla_ads() in /home/blogpeor/public_html/wp-content/themes/primepress/sidebar-two.php on line 20, referer: http://images.google.co.id/imgres?imgurl=http://billydennis.blogpeoria.com/files/2008/06/anne-hathaway-mark-hom.jpg&imgrefurl=http://billydennis.blogpeoria.com/2008/06/18/shes-on-the-market-boys/&usg=__Y_mKYp_ol_G-DFXd-i_zDEvob9k=&h=342&w=425&sz=25&hl=id&start=2&tbnid=M6R3CMcRHJKeLM:&tbnh=101&tbnw=126&prev=/images%3Fq%3Dann%2Bhathaway%26gbv%3D2%26hl%3Did%26sa%3DX
    [Thu Feb 19 08:46:14 2009] [error] [client 200.222.48.8] PHP Fatal error:  Call to undefined function  the_keywords() in /home/blogpeor/public_html/wp-content/themes/Justice Blog of America/header.php on line 9, referer: http://justiceblogofamerica.blogpeoria.com/2007/03/13/oh-my-god-they-killed-jimmy-olsen/
    [Thu Feb 19 08:46:07 2009] [error] [client 210.17.228.189] PHP Fatal error:  Call to undefined function  the_keywords() in /home/blogpeor/public_html/wp-content/themes/Justice Blog of America/header.php on line 9, referer: http://justiceblogofamerica.blogpeoria.com/2007/03/13/oh-my-god-they-killed-jimmy-olsen/
    [Thu Feb 19 08:45:54 2009] [error] [client 196.203.172.158] PHP Fatal error:  Call to undefined function  the_keywords() in /home/blogpeor/public_html/wp-content/themes/Justice Blog of America/header.php on line 9, referer: http://justiceblogofamerica.blogpeoria.com/2007/03/13/oh-my-god-they-killed-jimmy-olsen/
    [Thu Feb 19 08:45:52 2009] [error] [client 81.252.163.153] PHP Fatal error:  Call to undefined function  tla_ads() in /home/blogpeor/public_html/wp-content/themes/not_so_serious/rsidebar.php on line 7, referer: http://images.google.fr/imgres?imgurl=http://blotter.blogpeoria.com/files/2008/06/lynda-carter-as-wonder-woman.jpg&imgrefurl=http://blotter.blogpeoria.com/2008/06/07/she-shoulda-used-her-magic-golden-lasso-to-reel-the-body-in/&usg=__saoaEPmckOTPyW6NtPJKereTBKc=&h=600&w=741&sz=47&hl=fr&start=11&um=1&tbnid=0scVeAiKR8mJ_M:&tbnh=114&tbnw=141&prev=/images%3Fq%3Dlinda%2Bcarter%2Bphotos%26um%3D1%26hl%3Dfr%26sa%3DN
    [Thu Feb 19 08:45:45 2009] [error] [client 210.17.228.189] PHP Fatal error:  Call to undefined function  the_keywords() in /home/blogpeor/public_html/wp-content/themes/Justice Blog of America/header.php on line 9, referer: http://justiceblogofamerica.blogpeoria.com/2007/03/13/oh-my-god-they-killed-jimmy-olsen/
    [Thu Feb 19 08:45:45 2009] [error] [client 81.252.163.153] PHP Fatal error:  Call to undefined function  tla_ads() in /home/blogpeor/public_html/wp-content/themes/not_so_serious/rsidebar.php on line 7, referer: http://images.google.fr/imgres?imgurl=http://blotter.blogpeoria.com/files/2008/06/lynda-carter-as-wonder-woman.jpg&imgrefurl=http://blotter.blogpeoria.com/2008/06/07/she-shoulda-used-her-magic-golden-lasso-to-reel-the-body-in/&usg=__saoaEPmckOTPyW6NtPJKereTBKc=&h=600&w=741&sz=47&hl=fr&start=11&um=1&tbnid=0scVeAiKR8mJ_M:&tbnh=114&tbnw=141&prev=/images%3Fq%3Dlinda%2Bcarter%2Bphotos%26um%3D1%26hl%3Dfr%26sa%3DN
    [Thu Feb 19 08:45:00 2009] [error] [client 210.3.30.251] PHP Fatal error:  Call to undefined function  the_keywords() in /home/blogpeor/public_html/wp-content/themes/Justice Blog of America/header.php on line 9, referer: http://justiceblogofamerica.blogpeoria.com/2007/03/13/oh-my-god-they-killed-jimmy-olsen/
    [Thu Feb 19 08:44:36 2009] [error] [client 220.111.137.188] PHP Fatal error:  Call to undefined function  the_keywords() in /home/blogpeor/public_html/wp-content/themes/Justice Blog of America/header.php on line 9, referer: http://justiceblogofamerica.blogpeoria.com/2007/03/13/oh-my-god-they-killed-jimmy-olsen/
    [Thu Feb 19 08:44:15 2009] [error] [client 124.157.241.43] PHP Fatal error:  Call to undefined function  the_keywords() in /home/blogpeor/public_html/wp-content/themes/Justice Blog of America/header.php on line 9, referer: http://justiceblogofamerica.blogpeoria.com/2007/03/13/oh-my-god-they-killed-jimmy-olsen/
    [Thu Feb 19 08:44:05 2009] [error] [client 203.109.123.237] PHP Fatal error:  Call to undefined function  the_keywords() in /home/blogpeor/public_html/wp-content/themes/Justice Blog of America/header.php on line 9, referer: http://justiceblogofamerica.blogpeoria.com/2007/03/13/oh-my-god-they-killed-jimmy-olsen/
    [Thu Feb 19 08:43:40 2009] [error] [client 201.67.198.2] PHP Fatal error:  Call to undefined function  the_keywords() in /home/blogpeor/public_html/wp-content/themes/Justice Blog of America/header.php on line 9, referer: http://justiceblogofamerica.blogpeoria.com/2007/03/13/oh-my-god-they-killed-jimmy-olsen/
    [Thu Feb 19 08:43:16 2009] [error] [client 220.111.137.188] PHP Fatal error:  Call to undefined function  the_keywords() in /home/blogpeor/public_html/wp-content/themes/Justice Blog of America/header.php on line 9, referer: http://justiceblogofamerica.blogpeoria.com/2007/03/13/oh-my-god-they-killed-jimmy-olsen/
    [Thu Feb 19 08:43:03 2009] [error] [client 72.220.208.159] PHP Fatal error:  Call to undefined function  tla_ads() in /home/blogpeor/public_html/wp-content/themes/primepress/sidebar-two.php on line 20, referer: http://images.google.com/imgres?imgurl=http://billydennis.blogpeoria.com/files/2008/06/marisa-miller-dugout.jpg&imgrefurl=http://billydennis.blogpeoria.com/2008/06/07/you-wanna-see-some-hot-cubs-fans-heres-one/&usg=__eHysCUYES3mIgC-uXIqSg4QKCAA=&h=300&w=450&sz=28&hl=en&start=84&um=1&tbnid=BFjcj_xN_GjZ8M:&tbnh=85&tbnw=127&prev=/images%3Fq%3Dmarisa%2Bmiller%26start%3D72%26ndsp%3D18%26um%3D1%26hl%3Den%26rls%3Dcom.microsoft:en-us%26sa%3DN
    [Thu Feb 19 08:42:58 2009] [error] [client 72.220.208.159] PHP Fatal error:  Call to undefined function  tla_ads() in /home/blogpeor/public_html/wp-content/themes/primepress/sidebar-two.php on line 20, referer: http://images.google.com/imgres?imgurl=http://billydennis.blogpeoria.com/files/2008/06/marisa-miller-dugout.jpg&imgrefurl=http://billydennis.blogpeoria.com/2008/06/07/you-wanna-see-some-hot-cubs-fans-heres-one/&usg=__eHysCUYES3mIgC-uXIqSg4QKCAA=&h=300&w=450&sz=28&hl=en&start=84&um=1&tbnid=BFjcj_xN_GjZ8M:&tbnh=85&tbnw=127&prev=/images%3Fq%3Dmarisa%2Bmiller%26start%3D72%26ndsp%3D18%26um%3D1%26hl%3Den%26rls%3Dcom.microsoft:en-us%26sa%3DN
    [Thu Feb 19 08:42:52 2009] [error] [client 187.5.16.81] PHP Fatal error:  Call to undefined function  the_keywords() in /home/blogpeor/public_html/wp-content/themes/Justice Blog of America/header.php on line 9, referer: http://justiceblogofamerica.blogpeoria.com/2007/03/13/oh-my-god-they-killed-jimmy-olsen/
    [Thu Feb 19 08:41:18 2009] [error] [client 72.30.142.97] PHP Fatal error:  Call to undefined function  tla_ads() in /home/blogpeor/public_html/wp-content/themes/primepress/sidebar-two.php on line 20
    [Thu Feb 19 08:40:27 2009] [error] [client 65.55.210.59] PHP Fatal error:  Call to undefined function  tla_ads() in /home/blogpeor/public_html/wp-content/themes/primepress/sidebar-two.php on line 20
    [Thu Feb 19 08:38:54 2009] [error] [client 65.55.104.37] PHP Fatal error:  Call to undefined function  featured_posts() in /home/blogpeor/public_html/wp-content/themes/branfordmagazine_2.6/index.php on line 10
    [Thu Feb 19 08:36:13 2009] [error] [client 65.55.210.59] PHP Fatal error:  Call to undefined function  tla_ads() in /home/blogpeor/public_html/wp-content/themes/primepress/sidebar-two.php on line 20
    [Thu Feb 19 08:35:06 2009] [error] [client 24.42.68.97] PHP Fatal error:  Call to undefined function  tla_ads() in /home/blogpeor/public_html/wp-content/themes/primepress/sidebar-two.php on line 20'
  11. andrea_r
    Moderator
    Posted 15 years ago #

    And they're all errors in themes, three of them.

    "Call to undefined function the_keywords() "
    and
    "Call to undefined function tla_ads()"

    which means you've got function calls in the themes and (likely) the required plugin is not turned on. The shoudl have an if_function_exisits in front of them so they don't barf if the plugin is off.

  12. billdennis5
    Member
    Posted 15 years ago #

    Yeah, I noticed that too. I'm goingto have somework ahead ofme when I get home. I deleted a bunch of plugins to resolve serverload issues, but I didn't check on these blogs using older themes.

  13. billdennis5
    Member
    Posted 15 years ago #

    A dumb n00b question: Does is not make sense that when the "ahp recent posts" plug-in tries to call the most recent post from these errored-out blogs, THEN it breaks?

About this Topic

  • Started 15 years ago by billT
  • Latest reply from billdennis5