View Full Version : RSS Display Boxes

03-09-2007, 12:20 AM
1) Script Title: RSS Display Boxes

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

3) Describe problem: Instead of getting the atom feed, it displays the code from rssbox/main.php (see my page here (http://benjaminbruce.us/en/index.php)). 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? :confused:


03-10-2007, 01:22 AM
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.

03-10-2007, 03:59 PM
I was simply ignorant about chmod--I did figure out how to change it to 777 through a PHP script (http://www.xoops.org/modules/smartfaq/faq.php?faqid=585).

Even so, it's still not working. I checked the compatibility test (http://benjaminbruce.us/sp_compatibility_test.php), 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.

03-10-2007, 09:07 PM
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:


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:


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

03-11-2007, 02:14 AM
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.

03-11-2007, 04:25 AM
You might want to check your error log if you have access to them, and locate the lines dealing with the above files.