Page 1 of 1

undefined function curl_init line 44

PostPosted: Sun Jun 12, 2011 7:41 pm
by oikon
while starting serviio web service on my synology ds411+II the integrated server window gives the following error message.

Fatal error: Call to undefined function curl_init() in /volume1/web/serviio/lib/RestRequest.inc.php on line 44

What can I do? Does anyone know how to fix it?

The service onece run fine but without knowing what I've done all for a sudden I can't access the service-window any more.
Serviio itself is running fine and serving all the data to the media-player.

Thanks for your help.

Re: undefined function curl_init line 44

PostPosted: Sun Jun 12, 2011 10:43 pm
by Cerberus
oikon wrote:while starting serviio web service on my synology ds411+II the integrated server window gives the following error message.

Fatal error: Call to undefined function curl_init() in /volume1/web/serviio/lib/RestRequest.inc.php on line 44

What can I do? Does anyone know how to fix it?

The service onece run fine but without knowing what I've done all for a sudden I can't access the service-window any more.
Serviio itself is running fine and serving all the data to the media-player.

Thanks for your help.



the third party webui ???

Re: undefined function curl_init line 44

PostPosted: Mon Jun 13, 2011 7:59 am
by oikon
Cerberus wrote:
oikon wrote:while starting serviio web service on my synology ds411+II the integrated server window gives the following error message.

Fatal error: Call to undefined function curl_init() in /volume1/web/serviio/lib/RestRequest.inc.php on line 44

What can I do? Does anyone know how to fix it?

The service onece run fine but without knowing what I've done all for a sudden I can't access the service-window any more.
Serviio itself is running fine and serving all the data to the media-player.

Thanks for your help.



the third party webui ???



you are right - may be I should have post it under "Third-party tools integration"

What more do you need for help?

Re: undefined function curl_init line 44

PostPosted: Mon Jun 13, 2011 11:03 pm
by Cerberus
oikon wrote:
Cerberus wrote:
oikon wrote:while starting serviio web service on my synology ds411+II the integrated server window gives the following error message.

Fatal error: Call to undefined function curl_init() in /volume1/web/serviio/lib/RestRequest.inc.php on line 44

What can I do? Does anyone know how to fix it?

The service onece run fine but without knowing what I've done all for a sudden I can't access the service-window any more.
Serviio itself is running fine and serving all the data to the media-player.

Thanks for your help.



the third party webui ???



you are right - may be I should have post it under "Third-party tools integration"

What more do you need for help?


Leave it with me will fire an email off to the dev of that project and see what he says..

i currently have 3 question on hold for users here about teh webui and havent had reple from him in few days..

Re: undefined function curl_init line 44

PostPosted: Thu Jun 16, 2011 6:18 pm
by bifrost.sk
exactly same problem here...
(ds211j dsm 3,1)

Re: undefined function curl_init line 44

PostPosted: Wed Jul 06, 2011 10:40 pm
by Cerberus
Sent: Wed Jul 06, 2011 7:59 am
From: AcidumIrae
To: Cerberus
Re: Web UI

Hello,

Sorry for the late reply - I have missed the forum notification.
PHP WebUI requires cURL extension installed - it won't work without it, sorry.

oikon wrote:
while starting serviio web service on my synology ds411+II the integrated server window gives the following error message.

Fatal error: Call to undefined function curl_init() in /volume1/web/serviio/lib/RestRequest.inc.php on line 44

What can I do? Does anyone know how to fix it?

The service onece run fine but without knowing what I've done all for a sudden I can't access the service-window any more.
Serviio itself is running fine and serving all the data to the media-player.

Thanks for your help.


so in short install cURL on teh device and it will work :)

Re: undefined function curl_init line 44

PostPosted: Fri Jul 08, 2011 7:48 pm
by pilothaz
I have serviio installed and cURL using unionfs virtual drive for usr/local and /var folders...

How could I have this setup for pointing to that directory to have this working?

Re: undefined function curl_init line 44

PostPosted: Fri Jul 08, 2011 7:55 pm
by Cerberus
pilothaz wrote:I have serviio installed and cURL using unionfs virtual drive for usr/local and /var folders...

How could I have this setup for pointing to that directory to have this working?



its the curl extention you need not curl itself :) what version of linux is running on the NAS if its unbuntu then command is

  Code:
sudo apt-get install php5-curl

Re: undefined function curl_init line 44

PostPosted: Fri Jul 08, 2011 8:16 pm
by pilothaz
I am running it on a freeNAS box so, unix. Would be an pkg_add context. Will look it up when I am home.

Cerberus wrote:
pilothaz wrote:I have serviio installed and cURL using unionfs virtual drive for usr/local and /var folders...

How could I have this setup for pointing to that directory to have this working?



its the curl extention you need not curl itself :) what version of linux is running on the NAS if its unbuntu then command is

  Code:
sudo apt-get install php5-curl

Re: undefined function curl_init line 44

PostPosted: Fri Jul 08, 2011 9:09 pm
by Cerberus
pilothaz wrote:I am running it on a freeNAS box so, unix. Would be an pkg_add context. Will look it up when I am home.

Cerberus wrote:
pilothaz wrote:I have serviio installed and cURL using unionfs virtual drive for usr/local and /var folders...

How could I have this setup for pointing to that directory to have this working?



its the curl extention you need not curl itself :) what version of linux is running on the NAS if its unbuntu then command is

  Code:
sudo apt-get install php5-curl


ah ok thanks i wasnt sure so your command would be this

  Code:
pkg_add -r php5-curl


http://sourceforge.net/apps/phpbb/freen ... =15&t=2085 may also help you out as they take about how to setup Curl on freeNAS :)