Forum
YouTube fieldtype error
I'm receiving this error when saving a YouTube URL to be processed by the YouTube fieldtype:
Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set in /home/breedijk/domains/pluskids.nl/public_html/perch/addons/fieldtypes/youtube/youtube.class.php on line 221
Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set in /home/breedijk/domains/pluskids.nl/public_html/perch/addons/fieldtypes/youtube/youtube.class.php on line 268
Warning: Cannot modify header information - headers already sent by (output started at /home/breedijk/domains/pluskids.nl/public_html/perch/addons/fieldtypes/youtube/youtube.class.php:221) in /home/breedijk/domains/pluskids.nl/public_html/perch/core/inc/top.php on line 13
Warning: Cannot modify header information - headers already sent by (output started at /home/breedijk/domains/pluskids.nl/public_html/perch/addons/fieldtypes/youtube/youtube.class.php:221) in /home/breedijk/domains/pluskids.nl/public_html/perch/core/inc/top.php on line 14
cURL is on with the following (using phpinfo()
):
cURL support enabled
cURL Information 7.33.0
Age 3
Features
AsynchDNS No
Debug No
GSS-Negotiate No
IDN No
IPv6 Yes
Largefile Yes
NTLM Yes
SPNEGO No
SSL Yes
SSPI No
krb4 No
libz Yes
CharConv No
Protocols dict, ftp, ftps, gopher, http, https, imap, imaps, pop3, pop3s, rtsp, smtp, smtps, telnet, tftp
Host x86_64-unknown-linux-gnu
SSL Version OpenSSL/0.9.8b
ZLib Version 1.2.3
My template is very straight forward:
<div class="video small">
<perch:content id="video" type="youtube" label="YouTube video URL" output="embed" />
</div>
Do you have Safe Mode enabled?