10 January 2011 at 12:28am
(Last edited: 10 January 2011 12:42am),
Hi, I made several non-commercial sites with SilverStripe (for hobby). I really like this elegant CMS much more than Joomla and other CMS software.
On a few sites I have the youtubeservice module running (with SilverStripe 2.4.4). All these sites are on shared hosting. The hosting provider updated one server to PHP 5.2.16 / MySQL 5.1.54 and now the youtubeservice module stopped working (only the text "Duration :" and "( Videos)" is visible). Exactly the same module works fine on websites which are on a server with PHP 5.2.14 / MySQL 5.1.52.
When I am in dev-mode the following error is visible:
[Warning] curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set Line 139 in ../sapphire/api/RestfulService.php:
However this error is not new and the same on both servers in dev-mode. In live-mode it works well on the server with PHP 5.2.14 / MySQL 5.1.52, but not on the other server.
12 January 2011 at 10:06am
(Last edited: 12 January 2011 10:10am),
Today, out of the blue, the youtube gallery is working OK on all my sites. Obviously the fact that the module didn't work for two days had nothing to do with the PHP/MySQL update. I didn't change anything, but the error "Error occurred in processing YouTube response" is gone and youtubeservice works again.
10 October 2011 at 4:01am
I had some problems with the Youtube module because my hosting provider (shared hosting) turned off curl_exec() for security reasons. I asked them to enable it for my websites and the Youtube module runs OK.