After transfer Blog and changelog not work

Hello everybody,
i want to change my server. So i make a mysql backup with mysqlbumper and download the 1.7.1 from here (my old installation are 1.7.1 too).
Then insert the my sql backup with same program.

I have one error:


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: errno in /var/www/vhosts/peronia.de/httpdocs/piwik/libs/Zend/Http/Client/Adapter/Socket.php on line 236

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

What is that?

Okay, sorry for my bad english :smiley:

EDIT: I found more:


Backtrace:

#0 /var/www/vhosts/peronia.de/httpdocs/piwik/libs/Zend/Http/Client.php(1068): Zend_Http_Client_Adapter_Socket->connect('feeds.feedburne...', 80, false)
#1 /var/www/vhosts/peronia.de/httpdocs/piwik/libs/Zend/Feed.php(171): Zend_Http_Client->request('GET')
#2 /var/www/vhosts/peronia.de/httpdocs/piwik/plugins/ExampleRssWidget/ExampleRssWidget.php(103): Zend_Feed::import('http://feeds.fe...')
#3 /var/www/vhosts/peronia.de/httpdocs/piwik/plugins/ExampleRssWidget/ExampleRssWidget.php(70): Piwik_ExampleRssWidget_Rss->get()
#4 [internal function]: Piwik_ExampleRssWidget_Controller->rssChangelog()
#5 /var/www/vhosts/peronia.de/httpdocs/piwik/core/FrontController.php(138): call_user_func_array(Array, Array)
#6 /var/www/vhosts/peronia.de/httpdocs/piwik/index.php(53): Piwik_FrontController->dispatch()
#7 {main}

All only in the Changelog and Blog widget.

Your new host doesn’t support sockets, and is causing this .
Zend Framework component to fail

Just remove those widgets from your dashboard

– As I usually hate reviving old threads -


Backtrace:

#0 /var/www/vhosts/peronia.de/httpdocs/piwik/libs/Zend/Http/Client.php(1068): Zend_Http_Client_Adapter_Socket->connect('feeds.feedburne...', 80, false)
#1 /var/www/vhosts/peronia.de/httpdocs/piwik/libs/Zend/Feed.php(171): Zend_Http_Client->request('GET')
#2 /var/www/vhosts/peronia.de/httpdocs/piwik/plugins/ExampleRssWidget/ExampleRssWidget.php(103): Zend_Feed::import('http://feeds.fe...')
#3 /var/www/vhosts/peronia.de/httpdocs/piwik/plugins/ExampleRssWidget/ExampleRssWidget.php(70): Piwik_ExampleRssWidget_Rss->get()
#4 [internal function]: Piwik_ExampleRssWidget_Controller->rssChangelog()
#5 /var/www/vhosts/peronia.de/httpdocs/piwik/core/FrontController.php(138): call_user_func_array(Array, Array)
#6 /var/www/vhosts/peronia.de/httpdocs/piwik/index.php(53): Piwik_FrontController->dispatch()
#7 {main}

Also appeared on one of the Piwik-Installations I recently started managing (I can’t tell for how long it has been there already…).
I already removed the ‘Feedburner statistics’ widget - but the ‘Piwik.org Blog’ does keep giving me this backtrace.
How can I get rid of it?

So long,
A.Kalkhoff

@A.Kalkhoff its missing the error string in your post, what is the full error message?


Unable to Connect to tcp://feeds.feedburner.com:80. Error #110: Die Wartezeit f?r die Verbindung ist abgelaufen

Go to Piwik
Login

Backtrace:
#0 /var/www/XXX/stats/libs/Zend/Http/Client.php(1068): Zend_Http_Client_Adapter_Socket->connect('feeds.feedburne...', 80, false)
#1 /var/www/XXX/stats/libs/Zend/Feed.php(171): Zend_Http_Client->request('GET')
#2 /var/www/XXX/stats/plugins/ExampleRssWidget/ExampleRssWidget.php(106): Zend_Feed::import('http://feeds.fe...')
#3 /var/www/XXX/stats/plugins/ExampleRssWidget/ExampleRssWidget.php(65): Piwik_ExampleRssWidget_Rss->get()
#4 [internal function]: Piwik_ExampleRssWidget_Controller->rssPiwik()
#5 /var/www/XXX/stats/core/FrontController.php(138): call_user_func_array(Array, Array)
#6 /var/www/XXX/stats/index.php(53): Piwik_FrontController->dispatch()
#7 {main}

Sorry about that, I failed my copy-paste ^^
Fitting as my vacation started today…

So long,
A.Kalkhoff

Any intel on this matter yet?

So long,
A.Kalkhoff

please remove the Feedburner widget from the dashboard as the connections are blocked on your server

As I already wrote above, I already removed the Feedburner widget from the dashboard.
The Piwik-Blog widget gives out that error & backtrace.

So long,
A.Kalkhoff

No solution to make the Piwik-Blog widget not show error messages/backtraces of other widgets?

So long,
A.Kalkhoff

Thank you for insisting it was easy :slight_smile:

http://dev.piwik.org/trac/changeset/6768

http://dev.piwik.org/trac/changeset/6769

Thank you for providing those patches (:
Based on that I just counter-checked the other example-widgets, there is another one showing a malfunction: The Piwik-Changelog-Widget:

Unable to Connect to tcp://feeds.feedburner.com:80. Error #110: Connection timed out

Go to Piwik
Login
Backtrace:

#0 /var/www/XXX/piwik/libs/Zend/Http/Client.php(1068): Zend_Http_Client_Adapter_Socket->connect(‘feeds.feedburne…’, 80, false)
#1 /var/www/XXX/piwik/libs/Zend/Feed.php(171): Zend_Http_Client->request(‘GET’)
#2 /var/www/XXX/piwik/plugins/ExampleRssWidget/ExampleRssWidget.php(106): Zend_Feed::import(‘http://feeds.fe…’)
#3 /var/www/XXX/piwik/plugins/ExampleRssWidget/ExampleRssWidget.php(73): Piwik_ExampleRssWidget_Rss->get()
#4 [internal function]: Piwik_ExampleRssWidget_Controller->rssChangelog()
#5 /var/www/XXX/piwik/core/FrontController.php(138): call_user_func_array(Array, Array)
#6 /var/www/XXX/piwik/index.php(53): Piwik_FrontController->dispatch()
#7 {main}

I didn’t apply those patches for the other two yet, as I need to delay those to a client, I’ll wait until I can apply a patch for this one as well.
I changelog-widget is not in use, but I thought I would let you know - to improve Piwik :wink:

So long,
A.Kalkhoff

bump
So that Matt sees this additional error and can get me a patch for that as well :wink:

So long,
A.Kalkhoff

Unable to Connect to tcp://feeds.feedburner.com:80. Error #110: Connection timed out

This looks like a server connection error. Can you connect to feedburner from your server ?

I didn’t patch the feedburner yet. But as the changelog-widget also shows that error (as the blog-widget) I thought to give you that intel.
As I doubt that either Blog- or Changelog-widgets are supposed to show errors/backtraces as another widget doesn’t work correctly. That’s why you provided a patch for the Blog-widget in the first place I guessed?

So long,
A.Kalkhoff