Results 1 to 6 of 6

Thread: RSS Display Boxes

  1. #1
    Join Date
    Jun 2006
    Location
    Texas
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default RSS Display Boxes

    1) Script Title: RSS Display Boxes

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...rssdisplaybox/

    3) Describe problem: Instead of getting the atom feed, it displays the code from rssbox/main.php (see my page here). I'm thinking it might be that I need to set chmod 777 for this folder--but I don't know how to do that. Can I just add something to .htaccess to accomplish this?

    Thanks.

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

    Default

    Yep, this usually happens if the backend script (Simplepie) cannot run property- it just dumps out the entire source code instead. How do you mean you can't chmod 777 the folder (ie: your webhost disallows it)? Have you tried running 755 instead? Also, note that there is a compatibility test file included inside the zip file under the Simplepie folder. You may want to try and run that too to make sure your server meets all the requirements of this script.

  3. #3
    Join Date
    Jun 2006
    Location
    Texas
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I was simply ignorant about chmod--I did figure out how to change it to 777 through a PHP script.

    Even so, it's still not working. I checked the compatibility test, and it said everything was fine except that the extensions mbstring and iconv were not installed on the server. This is the only problem I see, so is there a way to fix it? My atom feeds are English and Spanish, so I wouldn't think there would be any encoding problems, and I'm pretty sure everything else is set correctly.

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

    Default

    Ok, the next step to fixing this is to figure out why your server isn't even interpreting PHP pages, at least when it comes to:

    http://benjaminbruce.us/accessories/rssbox/main.php

    When you run the above in your browser, it simply shows the entire source code, which shouldn't be the case. If your server has PHP set up correctly, it should never show the source. Once you can get the page to work correctly, then proceed to calling:

    http://benjaminbruce.us/accessories/...p?id=benjablog

    If things are working, you should see a list of unformatted RSS items.

  5. #5
    Join Date
    Jun 2006
    Location
    Texas
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    That is very strange; I don't know what to think. All other PHP pages I've used on this server have worked perfectly, so I don't know what's up with this one. Thanks for your help, though.

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

    Default

    You might want to check your error log if you have access to them, and locate the lines dealing with the above files.

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
  •