@robocoder opened this issue on November 1st 2009

The latest version of Zend Framework has more dependencies than the 1.0-ish version of the library that Piwik previously used, e.g., - Zend_Validate_Hostname - iconv - Zend_Feed - dom (part of php core, but may be packaged separately by the distro)

@robocoder commented on November 1st 2009

In [1554], fixes #1031 - ZendFramework dependencies

@mattab commented on November 2nd 2009

Do we use Zend_Validate_Hostname? I don't remember where. It seems a bit risky to add the iconv requirement to Piwik - I know that many web hosts didn't have it installed a few years back. If it is easy/reasonnable, it would be nice to not use Zend_Validate_Hostname and remove Piwik dependancy on iconv.

@robocoder commented on November 2nd 2009

It was reported in the forum and also mentioned in the freebsd ports commit log.

@robocoder commented on November 2nd 2009

I don't see an easy fix for this, unless you want to disable the ExampleRssWidget plugin.

#0 Zend_Validate_Hostname->isValid(feeds.feedburner.com) called at [/home/apang/work/piwik/trunk/libs/Zend/Uri/Http.php:449]
#1 Zend_Uri_Http->validateHost() called at [/home/apang/work/piwik/trunk/libs/Zend/Uri/Http.php:281]
#2 Zend_Uri_Http->valid() called at [/home/apang/work/piwik/trunk/libs/Zend/Uri/Http.php:154]
#3 Zend_Uri_Http->__construct(http, //feeds.feedburner.com/Piwik) called at [/home/apang/work/piwik/trunk/libs/Zend/Uri.php:130]
#4 Zend_Uri::factory(http://feeds.feedburner.com/Piwik) called at [/home/apang/work/piwik/trunk/libs/Zend/Http/Client.php:261]
#5 Zend_Http_Client->setUri(http://feeds.feedburner.com/Piwik) called at [/home/apang/work/piwik/trunk/libs/Zend/Feed.php:170]
#6 Zend_Feed::import(http://feeds.feedburner.com/Piwik) called at [/home/apang/work/piwik/trunk/plugins/ExampleRssWidget/ExampleRssWidget.php:95]
#7 Piwik_ExampleRssWidget_Rss->get() called at [/home/apang/work/piwik/trunk/plugins/ExampleRssWidget/ExampleRssWidget.php:54]
#8 Piwik_ExampleRssWidget_Controller->rssPiwik()
#9 call_user_func_array(...) called at [/home/apang/work/piwik/trunk/core/FrontController.php:129]
#10 Piwik_FrontController->dispatch() called at [/home/apang/work/piwik/trunk/index.php:91]
@robocoder commented on November 30th 2009

In [1576], matt removed DOM because he got the error:

Undefined index: dom 
in '/mnt/var/www/html/tmp/templates_c/%%6262A62A24D1F%%systemCheck.tpl.php' at the line 119

I've added "extension" to #60

This issue was closed on November 30th 2009
Powered by GitHub Issue Mirror