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

Seting time period for statistics #45

Open
watza opened this Issue Jan 5, 2015 · 29 comments

Comments

Projects
None yet
6 participants
@watza

watza commented Jan 5, 2015

Hello,
I have OWA 1.5.4 installed on my server / domain. The problem is I can see statistics only from the last 7 days.
How can I set or display stats from one month or full year? What should I do, where to click etc.
I can navigate, look for visitors, browsers etc, but only for LAST 7 days.
Please help - how to change to time view?
Regards
Rafal

@padams

This comment has been minimized.

Show comment
Hide comment
@padams

padams Jan 5, 2015

Owner

Upper right corner of the report is the data picker. Just click on it to open.

Peter Adams

On Jan 5, 2015, at 1:41 AM, watza notifications@github.com wrote:

Hello,
I have OWA 1.5.4 installed on my server / domain. The problem is I can see statistics only from the last 7 days.
How can I set or display stats from one month or full year? What should I do, where to click etc.
I can navigate, look for visitors, browsers etc, but only for LAST 7 days.
Please help - how to change to time view?
Regards
Rafal


Reply to this email directly or view it on GitHub.

Owner

padams commented Jan 5, 2015

Upper right corner of the report is the data picker. Just click on it to open.

Peter Adams

On Jan 5, 2015, at 1:41 AM, watza notifications@github.com wrote:

Hello,
I have OWA 1.5.4 installed on my server / domain. The problem is I can see statistics only from the last 7 days.
How can I set or display stats from one month or full year? What should I do, where to click etc.
I can navigate, look for visitors, browsers etc, but only for LAST 7 days.
Please help - how to change to time view?
Regards
Rafal


Reply to this email directly or view it on GitHub.

@watza

This comment has been minimized.

Show comment
Hide comment
@watza

watza Jan 7, 2015

Sorry, but there is nothing about date. Could you please look at the screen and be more specific? Where it is?
owa_epolpedia

watza commented Jan 7, 2015

Sorry, but there is nothing about date. Could you please look at the screen and be more specific? Where it is?
owa_epolpedia

@padams

This comment has been minimized.

Show comment
Hide comment
@padams

padams Jan 8, 2015

Owner

uh, that is strange. it’s clearly missing for your screenshot. Now i see why you are confused.
Please check to see that you installed all the OWA files correctly and check that you do not have any javascript errors.
Also try loading the interface with another browser.

On Jan 7, 2015, at 1:36 AM, watza notifications@github.com wrote:

Sorry, but there is nothing about date. Could you please look at the screen and be more specific? Where it is?
https://cloud.githubusercontent.com/assets/10398886/5643455/024658e8-9659-11e4-95c0-1f439cb520f2.jpg

Reply to this email directly or view it on GitHub #45 (comment).

Owner

padams commented Jan 8, 2015

uh, that is strange. it’s clearly missing for your screenshot. Now i see why you are confused.
Please check to see that you installed all the OWA files correctly and check that you do not have any javascript errors.
Also try loading the interface with another browser.

On Jan 7, 2015, at 1:36 AM, watza notifications@github.com wrote:

Sorry, but there is nothing about date. Could you please look at the screen and be more specific? Where it is?
https://cloud.githubusercontent.com/assets/10398886/5643455/024658e8-9659-11e4-95c0-1f439cb520f2.jpg

Reply to this email directly or view it on GitHub #45 (comment).

@watza

This comment has been minimized.

Show comment
Hide comment
@watza

watza Jan 19, 2015

Yes, many thanks S. :)
It worked on Chrome, but IE and Firefox is bugging. I have to update my browsers, but at least I know where are my stats :) Cheers.

watza commented Jan 19, 2015

Yes, many thanks S. :)
It worked on Chrome, but IE and Firefox is bugging. I have to update my browsers, but at least I know where are my stats :) Cheers.

@padams

This comment has been minimized.

Show comment
Hide comment
@padams

padams Apr 2, 2015

Owner

What version/OS of firefox was this happening in?

Owner

padams commented Apr 2, 2015

What version/OS of firefox was this happening in?

@padams padams added the Installation label Apr 2, 2015

@padams padams closed this Apr 2, 2015

@dachande

This comment has been minimized.

Show comment
Hide comment
@dachande

dachande Sep 28, 2015

This issue has been closed, but it can still be experienced with the latest OWA version which is 1.5.7.

The Time Period Control works perfect on Chrome and Internet Explorer but it doesn't work on Firefox.
This has been testet on Linux (Firefox 41.0) and Windows (Firefox 40.0.3).

Looking at the Debug Toolbar I get a not wellformed error in modules/base/templates/filter_period.tpl

<div class="timePeriodControlContainer">

    <table id="owa_reportPeriodLabelContainer" cellpadding="0" cellspacing="0">
        <TR>
            <TD class="owa_reportPeriodLabelText">

                <span>
                    <*=this.datelabel *>
                </span>                     
            </TD>

            <TD class="owa_reportRevealControl"></TD>   
        </TR>
    </table>
[...]
</div>

With <*=this.datelabel *> being highlighted.

There is also the following error in the file modules/base/js/owa.reporting-combined.min.js:

TypeError: h is undefined

I hope this helps identifying, debugging and fixing the problem.

dachande commented Sep 28, 2015

This issue has been closed, but it can still be experienced with the latest OWA version which is 1.5.7.

The Time Period Control works perfect on Chrome and Internet Explorer but it doesn't work on Firefox.
This has been testet on Linux (Firefox 41.0) and Windows (Firefox 40.0.3).

Looking at the Debug Toolbar I get a not wellformed error in modules/base/templates/filter_period.tpl

<div class="timePeriodControlContainer">

    <table id="owa_reportPeriodLabelContainer" cellpadding="0" cellspacing="0">
        <TR>
            <TD class="owa_reportPeriodLabelText">

                <span>
                    <*=this.datelabel *>
                </span>                     
            </TD>

            <TD class="owa_reportRevealControl"></TD>   
        </TR>
    </table>
[...]
</div>

With <*=this.datelabel *> being highlighted.

There is also the following error in the file modules/base/js/owa.reporting-combined.min.js:

TypeError: h is undefined

I hope this helps identifying, debugging and fixing the problem.

@padams

This comment has been minimized.

Show comment
Hide comment
@padams

padams Feb 28, 2016

Owner

I can't reproduce this on firefox 44.0.2 running on OS X. If anyone else can please re-open.

Owner

padams commented Feb 28, 2016

I can't reproduce this on firefox 44.0.2 running on OS X. If anyone else can please re-open.

@padams padams reopened this Feb 28, 2016

@McNairy

This comment has been minimized.

Show comment
Hide comment
@McNairy

McNairy Sep 21, 2016

I had this issue (missing date picker) on a system I inherited with IIS 7.5 and OWA 1.5.7. using Chrome dev tools I saw that /services/owa/modules/base/templates/filter_period.tpl was not found. Since the file did in fact exist and had correct access permissions I checked to see if .tpl files were being processed by PHP. They weren't. I added a module mapping and reset the server and it worked.

McNairy commented Sep 21, 2016

I had this issue (missing date picker) on a system I inherited with IIS 7.5 and OWA 1.5.7. using Chrome dev tools I saw that /services/owa/modules/base/templates/filter_period.tpl was not found. Since the file did in fact exist and had correct access permissions I checked to see if .tpl files were being processed by PHP. They weren't. I added a module mapping and reset the server and it worked.

@dac2020

This comment has been minimized.

Show comment
Hide comment
@dac2020

dac2020 Apr 4, 2017

I know this is an old issue but I don't really want to open another one.
On firefox 52, owa 1.6.0 works fine for me.
However, there is another thing I'm a little confused about.
I've tried to set the data range, in my case, I want to see the entire year, from jan to dec but those settings keep getting lost so I have to re-set it over and over again.
Is there something I could configure which would leave this setting permanently?

dac2020 commented Apr 4, 2017

I know this is an old issue but I don't really want to open another one.
On firefox 52, owa 1.6.0 works fine for me.
However, there is another thing I'm a little confused about.
I've tried to set the data range, in my case, I want to see the entire year, from jan to dec but those settings keep getting lost so I have to re-set it over and over again.
Is there something I could configure which would leave this setting permanently?

@padams

This comment has been minimized.

Show comment
Hide comment
@padams

padams Apr 5, 2017

Owner

it should stick automatically. can you detail the steps and associated URLs to reproduce this?

Owner

padams commented Apr 5, 2017

it should stick automatically. can you detail the steps and associated URLs to reproduce this?

@dac2020

This comment has been minimized.

Show comment
Hide comment
@dac2020

dac2020 Apr 5, 2017

Associated URLs? If you mean post my site publicly here on github, I can't do that.

In terms of how I am trying to change the date, I'm clicking on the date/time on the upper right hand corner to bring the drop down up.

I've tried selecting Predefined Periods but they never stay and I have to do it again if I move away from that site.
I've also picked a Date Range such as Jan 1/17 to current day.
In both cases, I then click on Change Date Range.

What I mean by moving away from that site is going back to Sites Roster, the setting is lost every time.

dac2020 commented Apr 5, 2017

Associated URLs? If you mean post my site publicly here on github, I can't do that.

In terms of how I am trying to change the date, I'm clicking on the date/time on the upper right hand corner to bring the drop down up.

I've tried selecting Predefined Periods but they never stay and I have to do it again if I move away from that site.
I've also picked a Date Range such as Jan 1/17 to current day.
In both cases, I then click on Change Date Range.

What I mean by moving away from that site is going back to Sites Roster, the setting is lost every time.

@padams

This comment has been minimized.

Show comment
Hide comment
@padams

padams Apr 5, 2017

Owner
Owner

padams commented Apr 5, 2017

@dac2020

This comment has been minimized.

Show comment
Hide comment
@dac2020

dac2020 Apr 5, 2017

I'm not sure what to provide but any time I move away from the Dashboard of a site I want to see stats for, the date/time is reset for that site back to Last Seven Days.

There really isn't anything I can show to reproduce, it's as simple as that.
Maybe something is not getting written somewhere to keep the setting? Where could I look for this setting, in a file or in the db?

dac2020 commented Apr 5, 2017

I'm not sure what to provide but any time I move away from the Dashboard of a site I want to see stats for, the date/time is reset for that site back to Last Seven Days.

There really isn't anything I can show to reproduce, it's as simple as that.
Maybe something is not getting written somewhere to keep the setting? Where could I look for this setting, in a file or in the db?

@padams

This comment has been minimized.

Show comment
Hide comment
@padams

padams Apr 5, 2017

Owner
Owner

padams commented Apr 5, 2017

@dac2020

This comment has been minimized.

Show comment
Hide comment
@dac2020

dac2020 Apr 5, 2017

Let's see if I can provide what you're asking for.

Sites Roster
http://owa.domain.com/index.php?owa_do=base.sites
Here I see the list of two sites, one wordpress, the other phpbb. At this point, the wp site is always showing only the last 7 days in the preview.

The phpbb doesn't work yet so no idea how to get stats from it. As I understand it, I needed to add the tracking code in the /styles/prosilver/template/overall_footer.php but that is not generating anything.

Next I click on the wp reports
http://owa.domain.com/index.php?owa_do=base.reportDashboard&owa_siteId=xxx

The reports show the last seven days so I click on the date/time dropdown.
Can't really show you that since it doesn't change the URL.

I change the date to Jan 1/17 to current and click on Change Date Range.
Now I can see stats since Jan1 on all Dashboard pages.

As soon as I go back to Reporting or Sites Roster, the date is changed back to seven days again.

Is this what you want? I'm not sure what else to add?

dac2020 commented Apr 5, 2017

Let's see if I can provide what you're asking for.

Sites Roster
http://owa.domain.com/index.php?owa_do=base.sites
Here I see the list of two sites, one wordpress, the other phpbb. At this point, the wp site is always showing only the last 7 days in the preview.

The phpbb doesn't work yet so no idea how to get stats from it. As I understand it, I needed to add the tracking code in the /styles/prosilver/template/overall_footer.php but that is not generating anything.

Next I click on the wp reports
http://owa.domain.com/index.php?owa_do=base.reportDashboard&owa_siteId=xxx

The reports show the last seven days so I click on the date/time dropdown.
Can't really show you that since it doesn't change the URL.

I change the date to Jan 1/17 to current and click on Change Date Range.
Now I can see stats since Jan1 on all Dashboard pages.

As soon as I go back to Reporting or Sites Roster, the date is changed back to seven days again.

Is this what you want? I'm not sure what else to add?

@padams

This comment has been minimized.

Show comment
Hide comment
@padams

padams Apr 5, 2017

Owner
Owner

padams commented Apr 5, 2017

@dac2020

This comment has been minimized.

Show comment
Hide comment
@dac2020

dac2020 Apr 5, 2017

It's fine, I'm happy to provide details. Just need to understand what you need :).

No, I'm not using the back button. I'm using the links at the top of the first page;
Reporting Administration Help Report a Bug

No matter how I get back to that site, the range goes back to seven days. Meaning, even if I click Administration, then Tracked Sites, it's always back to seven days.

dac2020 commented Apr 5, 2017

It's fine, I'm happy to provide details. Just need to understand what you need :).

No, I'm not using the back button. I'm using the links at the top of the first page;
Reporting Administration Help Report a Bug

No matter how I get back to that site, the range goes back to seven days. Meaning, even if I click Administration, then Tracked Sites, it's always back to seven days.

@padams

This comment has been minimized.

Show comment
Hide comment
@padams

padams Apr 5, 2017

Owner
Owner

padams commented Apr 5, 2017

@dac2020

This comment has been minimized.

Show comment
Hide comment
@dac2020

dac2020 Apr 5, 2017

I tried that also.

From the top page, Sites Roster (http://owa.domain.com/index.php?owa_do=base.sites)

I change the range to Jan 1/17 and the preview for wp shows since Jan.
However, as soon as I go visit either sites reports, it changes back to seven days.

Any time I move away from the WP site/reports, it changes back to seven days.

dac2020 commented Apr 5, 2017

I tried that also.

From the top page, Sites Roster (http://owa.domain.com/index.php?owa_do=base.sites)

I change the range to Jan 1/17 and the preview for wp shows since Jan.
However, as soon as I go visit either sites reports, it changes back to seven days.

Any time I move away from the WP site/reports, it changes back to seven days.

@padams

This comment has been minimized.

Show comment
Hide comment
@padams

padams Apr 5, 2017

Owner
Owner

padams commented Apr 5, 2017

padams pushed a commit that referenced this issue Apr 5, 2017

@padams

This comment has been minimized.

Show comment
Hide comment
@padams

padams Apr 5, 2017

Owner

Try the fix i just pushed.

Owner

padams commented Apr 5, 2017

Try the fix i just pushed.

@dac2020

This comment has been minimized.

Show comment
Hide comment
@dac2020

dac2020 Apr 5, 2017

To confirm, it should look like this now;

2017-04-05_094600

Guess I'm doing something wrong since it's still not working. The range is not being saved.

dac2020 commented Apr 5, 2017

To confirm, it should look like this now;

2017-04-05_094600

Guess I'm doing something wrong since it's still not working. The range is not being saved.

@padams

This comment has been minimized.

Show comment
Hide comment
@padams

padams Apr 5, 2017

Owner

No. when you see a diff on GitHub the lines in red are removed and the lines in green are new. You added both. See the diff above.

Owner

padams commented Apr 5, 2017

No. when you see a diff on GitHub the lines in red are removed and the lines in green are new. You added both. See the diff above.

@padams

This comment has been minimized.

Show comment
Hide comment
@padams

padams Apr 5, 2017

Owner
Owner

padams commented Apr 5, 2017

@dac2020

This comment has been minimized.

Show comment
Hide comment
@dac2020

dac2020 commented Apr 5, 2017

@padams

This comment has been minimized.

Show comment
Hide comment
@padams

padams Apr 6, 2017

Owner

sites.tpl.zip

here is the change.

Owner

padams commented Apr 6, 2017

sites.tpl.zip

here is the change.

@dac2020

This comment has been minimized.

Show comment
Hide comment
@dac2020

dac2020 Apr 6, 2017

Thanks. I hate to say it but the data still changes back to the last 7 days.

I tried to gather up more info for you but it's acting all random and too hard to keep track of all the weird things that are happening.

From the Reporting (main view) page,
http://owa.domain.com/index.php?owa_do=base.sites
I try to change the range to This Year
which shows the year of data but as soon as I go into the WP reports
http://owa.domain.com/index.php?owa_do=base.reportDashboard&owa_siteId=xxx
...it shows only the last 7 days again.

I go back to Reporting and it's back to 7 days again.
I change it back to This Year and this time I click on the WP View Reports option rather than the title link
http://owa.domain.com/index.php?owa_siteId=xxx&owa_period=this_year&owa_do=base.reportDashboard

This time it shows the year of data.
I go back to Reporting and it's back to 7 days again.

Also, each time I go to change the date range, the page tries to start showing that range before I even get a chance to click on Change Date Range unless I do it quickly.

dac2020 commented Apr 6, 2017

Thanks. I hate to say it but the data still changes back to the last 7 days.

I tried to gather up more info for you but it's acting all random and too hard to keep track of all the weird things that are happening.

From the Reporting (main view) page,
http://owa.domain.com/index.php?owa_do=base.sites
I try to change the range to This Year
which shows the year of data but as soon as I go into the WP reports
http://owa.domain.com/index.php?owa_do=base.reportDashboard&owa_siteId=xxx
...it shows only the last 7 days again.

I go back to Reporting and it's back to 7 days again.
I change it back to This Year and this time I click on the WP View Reports option rather than the title link
http://owa.domain.com/index.php?owa_siteId=xxx&owa_period=this_year&owa_do=base.reportDashboard

This time it shows the year of data.
I go back to Reporting and it's back to 7 days again.

Also, each time I go to change the date range, the page tries to start showing that range before I even get a chance to click on Change Date Range unless I do it quickly.

@Phoenix90210

This comment has been minimized.

Show comment
Hide comment
@Phoenix90210

Phoenix90210 Jun 23, 2017

Hi All,
I'm using version 1.6.0 based on windows and found that the time filter did not appear at all on the application after install.
I verified that the filter_period.tpl was indeed in the right place with the right permissions in owa_dir/modules/templates/

Using Firebug I identified that there was a 404 error when trying to open the file.
Navigation to the folder through IIS and then browsing the location produced a 404.3 error which was far more helpful.

Solution:

  1. At the site level in IIS in the feature menu click on MIME Types
  2. In the top Right click Add...
  3. Add the following Extension and MIME type
    Extension: *.tpl
    MIME Type: application/vnd.groove-tool-template
  4. Click OK
  5. Run CMD then type in iisreset and hit Enter

You will now have the time filter module available for your use.

Hope people find this useful.

Phoenix90210 commented Jun 23, 2017

Hi All,
I'm using version 1.6.0 based on windows and found that the time filter did not appear at all on the application after install.
I verified that the filter_period.tpl was indeed in the right place with the right permissions in owa_dir/modules/templates/

Using Firebug I identified that there was a 404 error when trying to open the file.
Navigation to the folder through IIS and then browsing the location produced a 404.3 error which was far more helpful.

Solution:

  1. At the site level in IIS in the feature menu click on MIME Types
  2. In the top Right click Add...
  3. Add the following Extension and MIME type
    Extension: *.tpl
    MIME Type: application/vnd.groove-tool-template
  4. Click OK
  5. Run CMD then type in iisreset and hit Enter

You will now have the time filter module available for your use.

Hope people find this useful.

@dac2020

This comment has been minimized.

Show comment
Hide comment
@dac2020

dac2020 Jun 23, 2017

So, you are thinking it's because the web server doesn't know about this type?
In Linux or using Apache, then someone would have to add something like this in the MIME type directives.

AddType application/vnd.groove-tool-template .tpl

I tried this but it makes no difference. Once I leave the reports and go to configure and back for example, it always changes back to some previous date range. In this case, 06/16/17-06/23/17.

dac2020 commented Jun 23, 2017

So, you are thinking it's because the web server doesn't know about this type?
In Linux or using Apache, then someone would have to add something like this in the MIME type directives.

AddType application/vnd.groove-tool-template .tpl

I tried this but it makes no difference. Once I leave the reports and go to configure and back for example, it always changes back to some previous date range. In this case, 06/16/17-06/23/17.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment