@robocoder opened this Issue on November 1st 2009 Contributor

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 Contributor

In [1554], fixes #1031 - ZendFramework dependencies

@mattab commented on November 2nd 2009 Member

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 Contributor

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

@robocoder commented on November 2nd 2009 Contributor

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

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

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