Issue with CaRP and WP
-
Hey guys,
Will try to keep this as quick and painless as possible, and any help is appreciated. I have a .php file that I am attempting to RSS feed a few of the blog posts from my WP blog into the CaRP feeder on the .php page. The WP blog is in the root folder, I installed CaRP outside of the root folder as suggested, etc.,. When I run the CaRP Setup, if I use any other RSS feed but my own, it works flawlessly. When I attempt to feed my own, I get connection errors.
Now, here is why I’m turning to the community: As I said, other feeds work so it is an issue with the PHP script calling for my blog. The initial connection error I get is the fsockopen() cannot connect. Spent a few hours on the phone with my server provider, and all PHP functions and proper ports are open/enabled, server-side.
Then I thought maybe it was the RSS feed, but it was validated by two of the validation sites. They are on the same server, so I’ve also attempted typing in a local host path every which way, that doesn’t work either.
Here is the PHP code and the attempted RSS feed. I see a few things on these boards about php echo, is that my next step? Again, any help is greatly appreciated.
?php
require_once ‘/home/vsftpd/lifline1/carp/carp.php’;
// Add any desired configuration settings before CarpCacheShow
// using “CarpConf” and other functions
CarpConf(‘iorder’,’link,date,desc’);
CarpConf(‘maxitems’,2);
CarpConf(‘maxidesc’,200);
CarpCacheShow(‘https://www.lifline.com/blog/?feed=rss2’);
- The topic ‘Issue with CaRP and WP’ is closed to new replies.