Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Closed
mattab opened this Issue · 3 comments

2 participants

Matthieu Aubry Anthon Pang
Matthieu Aubry
Owner

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]

Anthon Pang
Collaborator

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

Anthon Pang
Collaborator

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

Matthieu Aubry mattab added this to the 1.12.x - Piwik 1.12.x milestone
Anthon Pang robocoder was assigned by mattab
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.