• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

RSS feed working in preview but not when published

burnley

Regular Pleskian
Greetings all,

We recently had a client install the RSS feed onto their site using the module in Sitebuilder. They selected on of the pre-configured feeds and previewed their site and everything looked fine. However when the client published the site they get the following error:

Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /var/www/vhosts/<domain>/httpdocs/include/SB/Modules/HttpRequest.php on line 178

Firstly we went and checked that PHP is enabled for their site and that safe mode was off, no issues there. Now we can resolve this issue by manually adding the relevant path to the open_basedir parameters in the vhost.conf file for the domain, rebuilding and restating Apache.

Basically my question is why do we need to do this, shouldn't this sort of thing be configured into Sitebuilder? Is there a work-around or fix for this something we are missing something? I can't believe everyone has to add an exception each time a client wishes to use an RSS feed on their site.

We are running Sitebuilder 4.5.6 on Plesk 8.3

Regards,

Chris
 
This is related to PHP curl function. Please check following note: http://php.net/manual/en/function.curl-setopt.php#71313

The thing is that some of the channels added into RSS module by default may not exist anymore and have redirection to some other places. It is not possible to trace all the changes which are done on each RSS channel. So when such redirection takes place it uses CURL and at the end you get the warning (which is explained on php.net site). There are two ways for resolving this case:

1. Modify php.ini (in your case this should be /etc/php.ini ) so no warning messages are displayed - this is a common practice, after all. Just disable warnings output (display_errors = Off, also make sure that 'error_reporting' is commented). After that do not forget to restart apache service.

2. Check RSS channels list here: /usr/local/sitebuilder/include/Modules/RssReader/Settings/channels_list.xml and make sure that all links work fine without any redirections.
As soon as it's done, re-publish the site and check it one more time. Try this.
 
Back
Top