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

ZendFramework dependencies #1031

Closed
robocoder opened this issue Nov 1, 2009 · 5 comments
Closed

ZendFramework dependencies #1031

robocoder opened this issue Nov 1, 2009 · 5 comments
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@robocoder
Copy link
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
Copy link
Contributor Author

In [1554], fixes #1031 - ZendFramework dependencies

@mattab
Copy link
Member

mattab commented Nov 2, 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
Copy link
Contributor Author

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

@robocoder
Copy link
Contributor Author

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

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

@robocoder robocoder added this to the Piwik 0.5 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 For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

2 participants