Notice: Undefined variable: errno in piwik/libs/Zend/Http/Client/Adapter/Socket.php on line 236 #2988

Closed
mattab opened this Issue Feb 29, 2012 · 3 comments

2 participants

@mattab
Piwik Open Source Analytics member

When piwik.org is down or feedburner maybe, the following errors can be displayed.

Should we report upstream?
Should we add silent fail @ in front of the initial call?


Notice: Undefined variable: errno in /home/xxx/httpdocs/piwik/libs/Zend/Http/Client/Adapter/Socket.php on line 236

Backtrace -->
#0 Piwik_ErrorHandler(...) called at [/home/xxx/httpdocs/piwik/libs/Zend/Http/Client/Adapter/Socket.php:236]#1 Zend_Http_Client_Adapter_Socket->connect(...) called at [/home/xxx/httpdocs/piwik/libs/Zend/Http/Client.php:1068]#2 Zend_Http_Client->request(...) called at [/home/xxx/httpdocs/piwik/libs/Zend/Feed.php:171]#3 Zend_Feed::import(...) called at [/home/xxx/httpdocs/piwik/plugins/ExampleRssWidget/ExampleRssWidget.php:103]#4 Piwik_ExampleRssWidget_Rss->get(...) called at [/home/xxx/httpdocs/piwik/plugins/ExampleRssWidget/ExampleRssWidget.php:62]#5 Piwik_ExampleRssWidget_Controller->rssPiwik(...) called at [:]#6 call_user_func_array(...) called at [/home/xxx/httpdocs/piwik/core/FrontController.php:138]#7 Piwik_FrontController->dispatch(...) called at [/home/xxx/httpdocs/piwik/index.php:53]


There is an error. Please report the message and full backtrace in the Piwik forums (please do a Search first as it might have been reported already!).

Notice: Undefined variable: errstr in /home/xxx/httpdocs/piwik/libs/Zend/Http/Client/Adapter/Socket.php on line 236

Backtrace -->
#0 Piwik_ErrorHandler(...) called at [/home/xxx/httpdocs/piwik/libs/Zend/Http/Client/Adapter/Socket.php:236]#1 Zend_Http_Client_Adapter_Socket->connect(...) called at [/home/xxx/httpdocs/piwik/libs/Zend/Http/Client.php:1068]#2 Zend_Http_Client->request(...) called at [/home/xxx/httpdocs/piwik/libs/Zend/Feed.php:171]#3 Zend_Feed::import(...) called at [/home/xxx/httpdocs/piwik/plugins/ExampleRssWidget/ExampleRssWidget.php:103]#4 Piwik_ExampleRssWidget_Rss->get(...) called at [/home/xxx/httpdocs/piwik/plugins/ExampleRssWidget/ExampleRssWidget.php:62]#5 Piwik_ExampleRssWidget_Controller->rssPiwik(...) called at [:]#6 call_user_func_array(...) called at [/home/xxx/httpdocs/piwik/core/FrontController.php:138]#7 Piwik_FrontController->dispatch(...) called at [/home/xxx/httpdocs/piwik/index.php:53]

@robocoder

I already reported this upstream. I thought it was fixed n our local copy.

@robocoder

(In [5944]) fixes #2988 (ZF-10871) - uninitialized variables when socket functions are disabled by php config

@mattab mattab added this to the 1.12.x - Piwik 1.12.x milestone Jul 8, 2014
@robocoder robocoder was assigned by mattab Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment