Need help with problems in trying to activate module in Drupal

bcdrupal - October 9, 2009 - 00:24
Project:Piwik - Web analytics
Version:6.x-1.x-dev
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hi, I've got a couple of issues here that may be related. First off I'm running Piwik 0.43 which I know has a problem with the flash reports... I'm not worried about that as I don't want any Drupal users viewing the reports in site, I'm going to have them using my Piwik site for self serving stats. I'm using the latest 6.x-1.1 version of the Drupal module for Piwik.

So, the problem is, I see both modules show up in the Modules page. I check mark both and save. When the page refreshes it shows only "Piwiki - Reports" enabled, and the check box for "Piwik - Web analytics" is not checked, and is not selectable.

In the Description for "Piwik - Reports", it states "Depends on: Piwik - Web analytics (disabled)".

Following this I can find no Piwik control panel to fill out settings. The only thing I can find is the token_auth field on my profile page.

When I look at my Drupal database I see no tables for Piwik or stats or anything else that might look related so I'm wondering if something is failing to install correctly.

Any help in sorting this out would be greatly appreciated.

Thanks!

#1

hass - October 9, 2009 - 06:38
Status:active» postponed (maintainer needs more info)

Piwik don't need any extra tables... If you don't need the reports - do not enable it. Is your site able to issue http requests? There must be a status message shown if not possible on top of the modules page If the install has been stopped

#2

bcdrupal - October 9, 2009 - 16:16

This is what it says at the top of my Modules page:

Modules are plugins that extend Drupal's core functionality. Enable modules by selecting the Enabled checkboxes below and clicking the Save configuration button. Once a module is enabled, new permissions may be available. To reduce server load, modules with their Throttle checkbox selected are temporarily disabled when your site becomes extremely busy. (Note that the Throttle checkbox is only available if the Throttle module is enabled.)

It is important that update.php is run every time a module is updated to a newer version.

You can find all administration tasks belonging to a particular module on the administration by module page.

To extend the functionality of your site, a number of contributed modules are available.

See the available updates page for information on installed modules and themes with new versions released.

I did run Update.PHP. The first time it said there were 0 items to update. When I went down to the Piwik module and force selected "6000" it ran with 1 items to update and gave me this output:

The following queries were executed
piwik_reports module
Update #6000
No queries

#3

hass - October 9, 2009 - 16:48

This is all not related. Never re-run updates!!! There are no db changes… and disable piwik_report module! You said you do not plan to use it.

Any errors or warnings on core status page?

#4

bcdrupal - October 9, 2009 - 23:15

FWIW, I had no idea not to re-run updates. Especially when I run updates and they report nothing has been done.

Anyways, as of right now I have both piwik modules unchecked.

I have 3 red notices. One on my Drupal Core version needs upgraded. HTTP request status (the system is firewalled) so that seems normal, and a few of the modules are yellow or red (red ones are webform, devel, printer e-mail & pdf versions).

#5

hass - October 9, 2009 - 23:24
Status:postponed (maintainer needs more info)» fixed

HTTP request status (the system is firewalled) so that seems normal

As already said in #1 - THIS IS the reason! Allow Drupal to issue HTTP requests. This is a requirement for update.module and piwik.module.

#6

bcdrupal - October 9, 2009 - 23:46

I can't do that and have no control over making it happen. Our company IT requires that all server initialted HTTP requests must go through a proxy and I could see no way configure something like that.

When I try to just check mark "Piwik - Web analytics" and save, the item unchecks itself... and this is all I see at the top of the modules page. Why would Drupal being unable to make a HTTP request cause a module to fail to enable?... how do other people run this software on Intranets?:

Your system or network configuration does not allow Drupal to access web pages, resulting in reduced functionality. This could be due to your webserver configuration or PHP settings, and should be resolved in order to download information about available updates, fetch aggregator feeds, sign in via OpenID, or use other network-dependent services. (Currently using HTTP request status Fails)
No information is available about potential new releases for currently installed modules and themes. To check for updates, you may need to run cron or you can check manually. Please note that checking for available updates can take a long time, so please be patient.
Modules are plugins that extend Drupal's core functionality. Enable modules by selecting the Enabled checkboxes below and clicking the Save configuration button. Once a module is enabled, new permissions may be available. To reduce server load, modules with their Throttle checkbox selected are temporarily disabled when your site becomes extremely busy. (Note that the Throttle checkbox is only available if the Throttle module is enabled.)

It is important that update.php is run every time a module is updated to a newer version.

You can find all administration tasks belonging to a particular module on the administration by module page.

To extend the functionality of your site, a number of contributed modules are available.

See the available updates page for information on installed modules and themes with new versions released.

#7

bcdrupal - October 10, 2009 - 00:35

Oh, and I found this http://drupal.org/node/7881 .... I'm researching.

#8

hass - October 10, 2009 - 10:08

Thank you for the link. the behaviour is correct - if requirements fail - the module is kept disabled. This limitation will not allow you do use many important modules like update, linkchecker, aggregator and others... If proxys cannot used you need to request an exception for you host :-).

#9

System Message - October 24, 2009 - 10:10
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.