Copyright © 2011 Kaltura Inc.
All Rights Reserved. Designated trademarks and brands are the property of their respective owners.
Use of this web site constitutes acceptance of the Terms of Use and Privacy Policy.
EduVideo.org
Possible solution the the "failed to create formpost data" error message
This error returned from curl.
I'm attaching a test script
<?php
print("Testing GET
\n");
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "http://www.kaltura.com/api/ping");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_USERAGENT, "");
curl_setopt($ch, CURLOPT_TIMEOUT, 10);
$curl_result = curl_exec($ch);
$curl_error = curl_error($ch);
curl_close($ch);
print("Result:
" . $curl_result . "
\n");
print("Error:
" . $curl_error . "
\n");
print("
\n");
print("Testing POST
\n");
$params["dummy1"] = "dummy";
$params["dummy2"] = "dummy";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "http://www.kaltura.com/api/ping");
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($params, null, "&"));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_USERAGENT, "");
curl_setopt($ch, CURLOPT_TIMEOUT, 10);
$curl_result = curl_exec($ch);
$curl_error = curl_error($ch);
curl_close($ch);
print("Result:
" . $curl_result . "
\n");
print("Error:
" . $curl_error . "
\n");
?>
It will test both GET and POST
Let me know what result you get
This is the result:
Testing GET
Result:
Error:
Testing POST
Result:
Error:
Looks like curl doesn't work at all
Did you see in phpinfo() that curl is enabled?
Hi,
I tried to install it on Wordpress 2.6.3, and after filling out the form to receive the "Partner ID" and pressing "Complete installation" I receive the error message stated in the subject.
I read the readme.txt, and it said it could be because of two reasons:
Solution 1: Enable curl and its functions on the server (or have the hosting company enable it for you).
Solution 2: Remove any blocking of external calls from the server.
My webhost is running PHP 5.2.6 and allow_url_fopen is on and curl information:
cURL support enabled
cURL Information libcurl/7.15.5 OpenSSL/0.9.8c zlib/1.2.3 libidn/0.6.5
Please advise.