- Posts: 7
- Thank you received: 2
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
ComfortUpdate - No server answer
- mbarrera
- Topic Author
- Offline
- New Member
Less
More
8 years 7 months ago #124468
by mbarrera
ComfortUpdate - No server answer was created by mbarrera
After update to Versión 2.06+ Build 150831when I try to check updates through ComfotUpdate it appears the following message:
No server answer
It seems that the ComfortUpdate server is not responding. Please try again in few minutes or contact the LimeSurvey team.
I need to access to Internet through a proxy server then I´ve configured it in the file /application/third_party/http.php
var $proxy_host_name="proxy.domain.net";
var $proxy_host_port=3128;
After that I have the same issue.
Then as previous versions I´ve configured it in the file /application/config/config-defaults.php
$config ="proxy.domain.net";
$config = 3128;
After that and with the debug activated appears the followin message:
Use of undefined constant proxy_host_port - assumed 'proxy_host_port'
/var/www/educacion/cau_ce/encuestas/application/models/UpdateForm.php(926)
914 private function _performRequest($getters, $CREATE_NEW_COOKIE_FILE=FALSE)
915 {
916
917 if(( extension_loaded ("curl") ))
918 {
919 if( isset($_REQUEST) )
920 $getters .= "&access_token=".$_REQUEST;
921
922 $ch = curl_init($this->_getProtocol().Yii::app()->getConfig("comfort_update_server_url").$getters);
923
924 if($this->proxy_host_name != '')
925 {
926 $proxy = $this->proxy_host_name.':'.proxy_host_port;
927 curl_setopt($ch, CURLOPT_PROXY, $proxy);
928 }
929
930 if($CREATE_NEW_COOKIE_FILE)
931 curl_setopt($ch, CURLOPT_COOKIEJAR, $this->path_cookie );
932 else
933 curl_setopt($ch, CURLOPT_COOKIEFILE, $this->path_cookie );
934
935 curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
936
937 $content = curl_exec($ch);
938 curl_close($ch);
Somebody can help me?
Thanks for advance
No server answer
It seems that the ComfortUpdate server is not responding. Please try again in few minutes or contact the LimeSurvey team.
I need to access to Internet through a proxy server then I´ve configured it in the file /application/third_party/http.php
var $proxy_host_name="proxy.domain.net";
var $proxy_host_port=3128;
After that I have the same issue.
Then as previous versions I´ve configured it in the file /application/config/config-defaults.php
$config ="proxy.domain.net";
$config = 3128;
After that and with the debug activated appears the followin message:
Use of undefined constant proxy_host_port - assumed 'proxy_host_port'
/var/www/educacion/cau_ce/encuestas/application/models/UpdateForm.php(926)
914 private function _performRequest($getters, $CREATE_NEW_COOKIE_FILE=FALSE)
915 {
916
917 if(( extension_loaded ("curl") ))
918 {
919 if( isset($_REQUEST) )
920 $getters .= "&access_token=".$_REQUEST;
921
922 $ch = curl_init($this->_getProtocol().Yii::app()->getConfig("comfort_update_server_url").$getters);
923
924 if($this->proxy_host_name != '')
925 {
926 $proxy = $this->proxy_host_name.':'.proxy_host_port;
927 curl_setopt($ch, CURLOPT_PROXY, $proxy);
928 }
929
930 if($CREATE_NEW_COOKIE_FILE)
931 curl_setopt($ch, CURLOPT_COOKIEJAR, $this->path_cookie );
932 else
933 curl_setopt($ch, CURLOPT_COOKIEFILE, $this->path_cookie );
934
935 curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
936
937 $content = curl_exec($ch);
938 curl_close($ch);
Somebody can help me?
Thanks for advance
The topic has been locked.
- LouisGac
- Visitor
8 years 7 months ago - 8 years 7 months ago #124469
by LouisGac
Replied by LouisGac on topic ComfortUpdate - No server answer
thank you for reporting, it will be fixed in the next release.
If you want to quickly debug it by yourself, just open the file /var/www/educacion/cau_ce/encuestas/application/models/UpdateForm.php
and change the line :
to :
(just added the $this)
If you want to quickly debug it by yourself, just open the file /var/www/educacion/cau_ce/encuestas/application/models/UpdateForm.php
and change the line :
Code:
$proxy = $this->proxy_host_name.':'.proxy_host_port;
to :
Code:
$proxy = $this->proxy_host_name.':'.$this->proxy_host_port;
(just added the $this)
Last edit: 8 years 7 months ago by LouisGac.
The topic has been locked.
- mbarrera
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 2
8 years 7 months ago #124502
by mbarrera
Replied by mbarrera on topic ComfortUpdate - No server answer
Thank you very much. It works fine.
The topic has been locked.