10446 Posts in 2223 Topics by 1719 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1985 Views |
-
Youtubegallery Fatal error: Call to undefined function curl_init()

24 June 2009 at 9:00am
Fatal error: Call to undefined function curl_init() in C:\wampserver\www\1-Ontwikkeling\roufaida.nl\sapphire\api\RestfulService.php on line 96
anyone know the solution for this?
-
Re: Youtubegallery Fatal error: Call to undefined function curl_init()

24 June 2009 at 9:24am
It was a php CURL extention problem.
Another question though.
In the Youtubegallery admin section i see the following fields:
Select
Youtube Username
Category or TagThe first to are just lines and the third one shows a input text field.
Shoudn't the first two have a input text field aswell????
-
Re: Youtubegallery Fatal error: Call to undefined function curl_init()

24 June 2009 at 9:36am
Did some digging,
this doesn't seem to work...
There is no dropdown field.
How come??? anyone?
<?php // YouTubeGallery.php line 28
// add custom fields for this youtube gallery page
function getCMSFields($cms) {
Requirements::javascript( 'youtubeservice/javascript/YoutubeGallery_CMS.js' );
$fields = parent::getCMSFields($cms);
$fields->addFieldToTab("Root.Content.Videos", new DropdownField("Method", "Select ", array(
'1' => 'Videos containing phrase',
'2' => 'Videos by Category or Tag',
'3' => 'Videos uploaded by',
'4' => 'Favorite videos of',
'5' => 'Videos from playlist')));
$fields->addFieldToTab("Root.Content.Videos", new TextField("User","Youtube Username"));
$fields->addFieldToTab("Root.Content.Videos", new TextField("Query","Search for"));
$fields->addFieldToTab("Root.Content.Videos", new TextField("CategoryTag", "Category or Tag"));
$fields->addFieldToTab("Root.Content.Videos", new TextField("Playlist", "Playlist ID"));
$fields->addFieldToTab("Root.Content.Videos", new NumericField("MaxResults", "Per Page", 10));
$fields->addFieldToTab("Root.Content.Videos", new DropdownField("Sortby", "Sort by (descending)", array(
'relevance' => 'Relevance',
'updated' => 'Most Recent',
'viewCount' => 'Most Viewed',
'rating' => 'Most Rated')));
return $fields;
}?>
-
Re: Youtubegallery Fatal error: Call to undefined function curl_init()

25 June 2009 at 6:52am
anyone?
-
Re: Youtubegallery Fatal error: Call to undefined function curl_init()

25 June 2009 at 7:03am
Looks like you need to install the cURL PHP module. Unusual that your host does not have that already installed.
-
Re: Youtubegallery Fatal error: Call to undefined function curl_init()

25 June 2009 at 7:04am
I installed CURL ....
In the second topic i explained i found the "problem"
But i found another problem in the Youtubegallery.
I can't see the dropdownbox in the admin because it's not there...
-
Re: Youtubegallery Fatal error: Call to undefined function curl_init()

25 June 2009 at 9:33am
Addition...
When i add a flickrrgalery then the dropdownbox appears at the youtubbegalery but not on the flickrrgalery...
What am i doing wrong?
| 1985 Views | ||
|
Page:
1
|
Go to Top |

