Results 1 to 4 of 4

Thread: Call to Undefined Function in RSS Display Box script

  1. #1
    Join Date
    May 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Call to Undefined Function in RSS Display Box script

    1) Script Title: RSS Display Box

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...ybox/index.htm

    3) Describe problem: I believe I've uploaded all of the scripts correctly. I've confirmed through the configuation test that I can run simplepie. And yet when I put the script into my website, I get the following error:

    Fatal error: Call to undefined function: outputbody() in /websiteinfoblahblahblah/rssbox/main.php on line 37

    I've poured over main.php and I can't see a problem. Line 37 (at least, I think it's line 37) says this:

    outputbody($item, $templatename); //call custom outputbody() function

    Anyone get this problem?

  2. #2
    Join Date
    May 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default No one?

    So no one has had this issue before? It seems like a simple fix, and I just need someone who knows PHP better than me to figure it out. I'm surprised this one has gone unanswered.

  3. #3
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    outputbody() is defined in outputbody.php actually. Did you remember to upload all the contents inside the folder /rssbox to your site?

  4. #4
    Join Date
    May 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by ddadmin View Post
    outputbody() is defined in outputbody.php actually. Did you remember to upload all the contents inside the folder /rssbox to your site?
    Yes, I ftp'd everything in its entirety to their proper location. My husband (who knows PHP better than I do) and I sat there for two hours last night flipping between our index.html page, main.php and outputbody.php trying to figure out why the code wasn't working. We finally gave up entirely and have opted to go in another direction.

    I'm sad though - I loved the NYTimes example and had hoped to use that on the website.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •