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

Components is not defined #800

Closed
anonymous-matomo-user opened this issue Jun 14, 2009 · 10 comments
Closed

Components is not defined #800

anonymous-matomo-user opened this issue Jun 14, 2009 · 10 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. Critical Indicates the severity of an issue is very critical and the issue has a very high priority. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Milestone

Comments

@anonymous-matomo-user
Copy link

I'm using Piwik on [http://www.yaml-fuer-drupal.de/], but since v0.4 I get the below error. For debugging purposes I copied the uncompressed file in the root folder. Please take a look what's going wrong.

Components is not defined
http://example.com/piwik/piwik.js
Line 26
@robocoder
Copy link
Contributor

Can you tell us what browser version you're using and provide steps to reproduce the error?

The closest I get to that error is using Firefox 3 with Web Developer and Firebug extensions, and I use Web Developer's "View Generated Source". It reports:

[Exception... "Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIRequest.name]"  nsresult: "0x80004001 (NS_ERROR_NOT_IMPLEMENTED)"  location: "JS frame :: file:///usr/lib/xulrunner-1.9.0.11/components/nsLoginManager.js :: anonymous :: line 282"  data: no]
file:///usr/lib/xulrunner-1.9.0.11/components/nsLoginManager.js
Line 282

The reduced test case is so trivial that it's clearly an interaction bug with the extensions.

<html><head><script type="text/javascript">
var Piwik = (function () {
        return {
                getTracker : function () {
                        return {
                                trackPageView : function () {},
                        };
                }
        };
})();
</script></head><body></body></html>

@robocoder
Copy link
Contributor

@anonymous-matomo-user
Copy link
Author

Firefox 3.0.11 with Firebug and Web Developer and others...

@anonymous-matomo-user
Copy link
Author

Attachment: Screenshot with error
piwik_component_not_defined.png

@robocoder
Copy link
Contributor

Unless the tracking is broken, can we close this ticket? Your site otherwise loads fine with IE7, Opera, Safari, and FF3.

@anonymous-matomo-user
Copy link
Author

Don't you think that this bug should be fixed in Piwik? I do not like to see errors in Firebug. Google Analytics also do not have such issue and other Piwik version, too. Should I remove Piwik from the site?

@mattab
Copy link
Member

mattab commented Jun 15, 2009

are you sure your browser has the right file in cache? please delete your cache and try again. because when we changed the content of the piwik.js it might not have be forced-reload depending on your server configuration cache settings..

@robocoder
Copy link
Contributor

Try the piwik.js in svn.

However, this is technically a bug in Firefox's chrome. If you disable your Firefox extensions, the error shouldn't even appear in Firefox's Error Console.

@anonymous-matomo-user
Copy link
Author

I'm not sure if the error is related to the above linked bugzilla case. I tested the view generated source on bugzilla page and the error is shown, nevertheless the Piwik error is shown on page load - it have nothing to do with generated source.

If you see the error in Firefox without any add-ons installed you should really fix/workaround it. Until we do not have a valid bug case linked, this is not closed.

For sure I cleared the caches more than once everywhere and clicked shift+reload to make sure all files are latest in the browser. Firebug shows me the new file is downloaded... and I can see the source of the new version JS file.

Have you changed something or why should I try the svn version?

@anonymous-matomo-user
Copy link
Author

The patch in http://dev.piwik.org/trac/changeset/1217/trunk/js/piwik.js seem to have this issue fixed. thx.

@anonymous-matomo-user anonymous-matomo-user added this to the Piwik 0.4.1 milestone Jul 8, 2014
@mattab mattab added the wontfix label Aug 3, 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. Critical Indicates the severity of an issue is very critical and the issue has a very high priority. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Projects
None yet
Development

No branches or pull requests

3 participants