Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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
Assignees
Labels
Bug
Milestone

Comments

@mattab
Copy link
Member

@mattab mattab commented Feb 29, 2012

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
Copy link
Contributor

@robocoder robocoder commented Feb 29, 2012

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

@robocoder
Copy link
Contributor

@robocoder robocoder commented Feb 29, 2012

@robocoder
Copy link
Contributor

@robocoder robocoder commented Mar 1, 2012

(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
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug
Projects
None yet
Development

No branches or pull requests

2 participants