@mattab opened this Issue on February 29th 2012 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 -->
<a href='/0'>#0</a> Piwik_ErrorHandler(...) called at [/home/xxx/httpdocs/piwik/libs/Zend/Http/Client/Adapter/Socket.php:236]<a href='/1'>#1</a> Zend_Http_Client_Adapter_Socket->connect(...) called at [/home/xxx/httpdocs/piwik/libs/Zend/Http/Client.php:1068]<a href='/2'>#2</a> Zend_Http_Client->request(...) called at [/home/xxx/httpdocs/piwik/libs/Zend/Feed.php:171]<a href='/3'>#3</a> Zend_Feed::import(...) called at [/home/xxx/httpdocs/piwik/plugins/ExampleRssWidget/ExampleRssWidget.php:103]<a href='/4'>#4</a> Piwik_ExampleRssWidget_Rss->get(...) called at [/home/xxx/httpdocs/piwik/plugins/ExampleRssWidget/ExampleRssWidget.php:62]<a href='/5'>#5</a> Piwik_ExampleRssWidget_Controller->rssPiwik(...) called at [:]<a href='/6'>#6</a> call_user_func_array(...) called at [/home/xxx/httpdocs/piwik/core/FrontController.php:138]<a href='/7'>#7</a> 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 -->
<a href='/0'>#0</a> Piwik_ErrorHandler(...) called at [/home/xxx/httpdocs/piwik/libs/Zend/Http/Client/Adapter/Socket.php:236]<a href='/1'>#1</a> Zend_Http_Client_Adapter_Socket->connect(...) called at [/home/xxx/httpdocs/piwik/libs/Zend/Http/Client.php:1068]<a href='/2'>#2</a> Zend_Http_Client->request(...) called at [/home/xxx/httpdocs/piwik/libs/Zend/Feed.php:171]<a href='/3'>#3</a> Zend_Feed::import(...) called at [/home/xxx/httpdocs/piwik/plugins/ExampleRssWidget/ExampleRssWidget.php:103]<a href='/4'>#4</a> Piwik_ExampleRssWidget_Rss->get(...) called at [/home/xxx/httpdocs/piwik/plugins/ExampleRssWidget/ExampleRssWidget.php:62]<a href='/5'>#5</a> Piwik_ExampleRssWidget_Controller->rssPiwik(...) called at [:]<a href='/6'>#6</a> call_user_func_array(...) called at [/home/xxx/httpdocs/piwik/core/FrontController.php:138]<a href='/7'>#7</a> Piwik_FrontController->dispatch(...) called at [/home/xxx/httpdocs/piwik/index.php:53]
@robocoder commented on February 29th 2012 Contributor

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

@robocoder commented on February 29th 2012 Contributor
@robocoder commented on March 1st 2012 Contributor

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

This Issue was closed on March 1st 2012
Powered by GitHub Issue Mirror