Log in

View Full Version : RSS Display Boxes Doesn't Show RSS Feeds



Tutajua
07-26-2010, 06:28 PM
Hi. I've installed RSS Display Boxes on my site http://www.tutajua.com/rss but then it doesn't show any RSS feeds. It gives me the error messages below where the feeds are supposed to show "Not Found

The requested URL /rssbox/main.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.9 Server at tutajua.com Port 80"

This is despite the changes i made on rssdisplaybox.js as follows:


var rssoutputscript="rssbox/main.php" rssoutputscript="http://"+window.location.hostname+"/rssbox/main.php"

Thanks

Tutajua

ddadmin
07-26-2010, 10:48 PM
There may be other errors, but the path to "main.php" inside "rssdisplaybox.js" is currently incorrect:


rssoutputscript="http://"+window.location.hostname+"/rssbox/main.php"

The above should be changed to:


rssoutputscript="http://"+window.location.hostname+"/rss/rssbox/main.php"

Tutajua
07-27-2010, 06:21 AM
Thanks. I've made the change and its now working, though its still not working in my localhost.

ddadmin
07-27-2010, 05:49 PM
To see if the path to "main.php" is correct when run in localhost, inside rssdisplaybox.js, try adding the line in red below:


rssoutputscript="http://"+window.location.hostname+"/rss/rssbox/main.php"
alert(rssoutputscript)

Then run your page in localhost- does the string that gets alerted correctly reflect the path to "main.php" inside localhost?