Results 1 to 6 of 6

Thread: Please help me,

  1. #1
    Join Date
    Jan 2011
    Location
    Southeastern CT
    Posts
    612
    Thanks
    46
    Thanked 32 Times in 32 Posts

    Default Please help me,

    I am a nnewbie at rss and php and am getting errors on these pages:


    I tried two example pages from simplepie and they did not work for me.Here are the pages I made using html and php files ( figured I had it wrong because one did not work.I included the page at Simplepie where I got the pages. and both of my files.

    Note, the only difference in my two files in each case is the file type.- php or html-otherwise they are the exact same thing.


    example 1

    http://simplepie.org/wiki/tutorial/h..._google_reader

    my files:
    http://web-user.net/rss/111.php
    or
    http://web-user.net/rss/111.html
    or
    http://web-user.net/rss/111.txt



    example 2

    http://simplepie.org/wiki/setup/sample_page

    http://web-user.net/rss/atest.html
    http://web-user.net/rss/atest.php
    http://web-user.net/rss/atest.txt

    John suggested I post here due to the errors I am getting.John has been trying to help me with the rss display box script to get a few more things to display.

    These scripts were cut and pasted from simplepie.I am at a lose as to why they don't work.
    Any help would be appreciated.

    I have simplepie in rss/simplepie



    Bud
    Last edited by ajfmrf; 01-16-2011 at 04:21 AM. Reason: adding txt page for help

  2. #2
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    PHP code needs to be entered for help with it. It is not displayed on the client side.
    Corrections to my coding/thoughts welcome.

  3. #3
    Join Date
    Jan 2011
    Location
    Southeastern CT
    Posts
    612
    Thanks
    46
    Thanked 32 Times in 32 Posts

    Default ok, I added

    the text file is that ok?


    I added both to the original post so as to not take anymore posts up but seeing no other post I put this so people will see I added it.....

  4. #4
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    Example 1 and 2 have the same problem I think which is that your missing the configuration file (I think that's what it is).

    Code:
    // Make sure SimplePie is included. You may need to change this to match the location of simplepie.inc.
    require_once('..rss/simplepie.inc');
    Corrections to my coding/thoughts welcome.

  5. #5
    Join Date
    Jan 2011
    Location
    Southeastern CT
    Posts
    612
    Thanks
    46
    Thanked 32 Times in 32 Posts

    Default now I get different a error.

    These are the same ,except for the file extention being php and txt.

    http://web-user.net/rss/atest.php
    http://web-user.net/rss/atest.txt


    This now gives me:

    Fatal error: Call to undefined method SimplePie::set_feed_url() in *********/rss/atest.php on line 10

    And now
    http://web-user.net/rss/111.php
    http://web-user.net/rss/111.txt

    Which are both the same except for the etentions php and txt.

    And these now give me this error:
    Fatal error: Call to undefined method SimplePie::set_feed_url() in /home/bud/public_html/rss/111.php on line 42

    Has the newest version of simple pie changed making what was once working in an earlier version not work???

    Thanks,

    Bud

  6. #6
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    The problem is your require is calling this http://web-user.net/rss/simplepie.inc

    which as you can see doesn't exist so you either need to put the file there or change the location in your require.
    Corrections to my coding/thoughts welcome.

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
  •