Loading...
 
Skip to main content

Category: Daily reports

Periodic reports sent with grouped notification emails
Daily reports
Show subcategories objects

Name Type
'There is no class to handle the event wiki_page_created.'
{syntax type="tiki" editor="plain"}
When I enable daily reports and run the cron task,
I get an error:

Fatal error: Uncaught exception 'Exception' with message
'There is no class to handle the event wiki_page_created.'
in ./lib/core/Reports/Send/EmailBuilder/Factory.php:24

Stack trace:
#0 ./lib/core/Reports/Send/EmailBuilder.php(107):
Reports_Send_EmailBuilder_Factory->build('wiki_page_creat...')
#1 ./lib/core/Reports/Send/EmailBuilder.php(44):
Reports_Send_EmailBuilder->makeEmailBody(Array, Array)
#2 ./lib/core/Reports/Send.php(47):
Reports_Send_EmailBuilder->emailBody(Array, Array, Array)
#3 ./lib/core/Reports/Manager.php(50):
Reports_Send->sendEmail(Array, Array, Array)
#4 ./tiki-user_reports_send.php(20):
Reports_Manager->send()
#5 {main}
thrown in ./lib/core/Reports/Send/EmailBuilder/Factory.php on line 24

tracker item
"There is no class to handle the event wiki_page_created" exception at daily-report:send
cd /data/www/html/tiki/; /usr/bin/php console.php daily-report:send
produces:

{CODE()}Generating reports...
Sending...

[Exception]
There is no class to handle the event wiki_page_created.
daily-report:send{CODE}
tracker item
Add checkbox to tag forum thread as [SOLVED] and allow filtering and reporting based on that also
Add checkbox to tag forum thread as 'expected feedback obtained', or [[SOLVED], and allow filtering and reporting based on that also

Similar to filtering closed item with the chance to reopen, but for support forums and without closing the threaf, but at least indicating to power users that they'd better search first other threads that still require support.

Like the [[SOLVED] manual tag renaming the thread subject in a later stage by the poster of the new thread.

Also show these type of unsolved threads in clear way in the daily reports messages
tracker item
add site name to Daily Reports
I host several tiki sites on the same hosting service, so it would be nice if the daily reports included the site name in the subject line and body.

I did this with 3 minor changes:

1. templates/mail/report.tpl - add site to report template
### diff report.tpl.orig report.tpl.new
1c1
< {tr _0=$report_user}Report for %0{/tr}.{if $report_preferences.type eq 'html'}<br><br>{/if}
---
> {tr _0=$report_site _1=$report_user}Report on %0 for %1{/tr}.{if $report_preferences.type eq 'html'}<br><br>{/if}

2. lib/core/Reports/Send.php - add site to subject line (refactored)
### diff Send.php.orig Send.php.new
66,77c66,73
< if (is_array($reportCache) && count($reportCache) >= 1) {
< if (count($reportCache) == 1) {
< $subject = tr(
< 'Report from %0 (1 change)',
< TikiLib::date_format(
< $this->tikiPrefs['short_date_format'],
< $this->dt->format('U'))
< );
< } else {
< $subject = tr(
< 'Report from %0 (%1 changes)',
< TikiLib::date_format(
< $this->tikiPrefs['short_date_format'],
< $this->dt->format('U')),
< count($reportCache)
< );
< }
< else {
< $subject = tr(
< 'Report from %0 (no changes)',
< TikiLib::date_format(
< $this->tikiPrefs['short_date_format'],
< $this->dt->format('U'))
< );
---
> $subject = tr('Report on %0 from %1 ',
> $this->tikiPrefs['browsertitle'],
> TikiLib::date_format(
> $this->tikiPrefs['short_date_format'],
> $this->dt->format('U'))
> );
> if (!is_array($reportCache)) {
> $subject .= tr('(no changes)');
> } elseif (count($reportCache) == 1) {
> $subject .= tr('(1 change)');
> } else {
> $subject .= tr('(%0 changes)', count($reportCache));
> }

3. lib/core/Reports/Send/EmailBuilder.php - set site for report
# diff EmailBuilder.php.orig EmailBuilder.php.new
37c37,38
<
---
> $smarty->assign('report_site',
> $this->tikilib->get_preference('browsertitle'));
tracker item
GroupWatch on Calendar sends copy of all emails to some user with admin perms (and something similar with daily report emails too)
GroupWatch on Calendar sends copy of all emails to some user with admin perms
See this setup, in a Tiki 12.x svn:
* GroupA has users: user1, user2, user3, user4
* user5, user6 exist, but are not in GroupA
* user1 & user2 belong to Registered, and GroupA
* user3 & user4 belong to Registered, GroupA, AdminsGroupA
* user1, user2 & user3 receive individual emails from notifications (no daily report set).
* user4, user5 & user6 have daily report set.
* Calendar1 has groupA set to receive notifications through the Group Watches feature.

* AdminsGroupA has a few extra permissions set, through inherited groups, related to calendars, and in many other areas.
(maybe the best way to reproduce would be to debug a copy of the production site)


How to reproduce (hopefully):
* user4 adds an event to the Calendar1
* user1 & user2 receive only one email each, with the notification of the event.
* __user3 receives 3 emails and it should receive only 1__: one from the notification email sent to his email as "To:", but also a copy of the email sent to user1, and a copy of the email sent to user2. The email from user3 is not set as cc, so it seems as if it was set as "bcc"
* user4 sees only one event in the daily digest received.
* user4 receives 3 emails with notification digests: he receives his own, plus a copy of the notification email for user5, and another one for user6. [[__this looks as another bug non-related to Calendars, but with the notification watches system__]

In the real setup of the production tiki site, there are not 3 users but many more, and therefore, the extra notification emails per event in the calendar get to annoy users...

The same setup worked properly in Tiki9, since this was reproduced in a production site recently upgraded from Tiki9svn to Tiki12svn.
---
Annoying. I can't seem to reproduce the issue in the show instance. :-(
But I promise there is some conflicting set of settings or something in our tiki site once we have upgraded it to Tiki12, since the issue is happening. :-/ {sign user="xavi" datetime="2014-11-05T12:46:21+00:00"}

If any developer is willing to debug, I can share an annonimized db dump of our tiki site. Drop me a message at xavi(a)tiki.org
---
The problem might be related to this other bug report:
https://dev.tiki.org/item5573
tracker item
Undefined indexes related to calendarlib.php at 'console.php daily-reports:send'
We are using ((doc:Daily reports)) in a productin site running Tiki12 LTS (svn).

I've just noticed that there are some Undefined index messages thrown when the php console.php is run:
{CODE(colors="php", caption="cd /var/www/tiki12/;php console.php daily-report:send")}
PHP Notice: Undefined index: start in /var/www/ueb/lib/calendar/calendarlib.php on line 447
PHP Notice: Undefined index: end in /var/www/ueb/lib/calendar/calendarlib.php on line 448
PHP Notice: Undefined index: end in /var/www/ueb/lib/calendar/calendarlib.php on line 450
PHP Notice: Undefined index: start in /var/www/ueb/lib/calendar/calendarlib.php on line 450
PHP Notice: Undefined index: description in /var/www/ueb/lib/calendar/calendarlib.php on line 451
PHP Notice: Undefined index: name in /var/www/ueb/lib/calendar/calendarlib.php on line 452
PHP Notice: Undefined index: name in /var/www/ueb/lib/core/Reports/Send/EmailBuilder/CalendarChanged.php on line 28
{CODE}
tracker item
Add empty lines after each section of records not just bold text for the first entry of the new section of records
Add empty lines after each section of records, not just bold text for the first entry of the new section of records as it is nowadays.
tracker item
Daily reports: Emails sent mostly every two days instead of daily as indicated in the feature
{syntax type="tiki" editor="plain"}
Daily reports: Emails sent mostly every two days instead of daily as indicated in the feature
tracker item
Differentiate in Daily reports changes made in general objects and in objects created by the user that is receiving the report
Check if there is an easy way to differentiate in the daily reports changes made in general objects and changes made in objects created by the user.
tracker item
tiki-user_reports_send.php from command line doesn't find ip_address
{syntax type="tiki" editor="plain"}
I am following instructions in [http://doc.tiki.org/Daily+Reports].
When I run:
php tiki-user_reports_send.php

from the Linux command line or in cron, I get an error:
This script can only be called by the server.

$tikilib->get_ip_address() returns 0.0.0.0 not 127.0.0.1.

I am in a shared hosting environment (A2Hosting),
which could certainly contribute to the problem.
tracker item
New option to include 'Threads with no replies yet' to Daily Reports and to Notification digests
It's not easy to get information in your mail box from all tiki sites where discussions are held in forums, in order to find out which threads didn't receive any reply. Imagine the user forums (many) in t.o.: you need to browse through many forums to see the threads that didn't receive any reply yet, in case you know answers to amny questions, but your time is limited and you want to focus first in the threads that didn't receive any reply yet.

A new option to include '__Threads with no replies yet__' to ((doc:Daily Reports)) and to ((doc:Notification digests)) would be very useful. This idea is borrowed originally from vbulletin, which included this feature many years ago. See example of email received from another software (probably vbulletin, even if I can't tell for sure any more) where that section is included.

In fact, an even better solution could be to create a new module for "__Threads with no replies yet__", and allow some way to let the tiki admin include some modules in ((doc:Daily Reports)) and in ((doc:Notification Digests)).

{CODE()}
userfoo,

We're proud to announce that LQ ISO has now facilitated over 49 MILLION Linux downloads! Visit http://iso.linuxquestions.org/ for all your Linux distribution download needs. With over 2,600 Linux distribution versions available for download, LQ ISO is the place to download Linux.

Would you like the latest Linux and Open Source news? If so, follow us on twitter: https://twitter.com/linuxquestions Also note that we're now regularly posting original news to the Linux - News forum. Visit http://www.linuxquestions.org/questions/linux-news-59/ to discuss the latest Linux and Open Source news.

Did you recently get a new Android device or Chromebook? Visit http://www.androidquestions.org/forum.php for Android related discussion/help and http://www.chromeosquestions.org/forum.php for ChromeOS related discussion/help. Along with LQ, these sites form The Questions Network.

-jeremy
http://jeremy.linuxquestions.org/

***SPONSOR***
Introduction to Linux - A Hands on Guide

This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.

Receive your complimentary guide: http://linuxquestions.tradepub.com/free/w_mach01/
***SPONSOR***
---------------------------------------------------------------------------

Today's Date: 09-02-2014

Activity since: 08-18-2014
---------------------------------------------------------------------------

View all new content here: http://www.linuxquestions.org/questions/
---------------------------------------------------------------------------
LATEST THREADS
---------------------------------------------------------------------------

-- Threads posted most recently --

Title: "Yet more cifs mount issues..." (Date Posted 09-02-2014 by anw)
o 0 Replies, 20 Views, Last Post: 06:23 PM, 09-02-2014 by anw
o http://www.linuxquestions.org/questions/linux-software-2/yet-more-cifs-mount-issues-4175517206/

Title: "How to treat secure boot when Slackware 14.1 is installed" (Date Posted 09-02-2014 by nix84)
o 1 Replies, 67 Views, Last Post: 06:06 PM, 09-02-2014 by Didier Spaier
o http://www.linuxquestions.org/questions/slackware-14/how-to-treat-secure-boot-when-slackware-14-1-is-installed-4175517204/

Title: "libelf error on rhel7 (kernel 3.10.0-123.el7.x86_64)" (Date Posted 09-02-2014 by swarapol)
o 1 Replies, 57 Views, Last Post: 06:34 PM, 09-02-2014 by AlucardZero
o http://www.linuxquestions.org/questions/red-hat-31/libelf-error-on-rhel7-kernel-3-10-0-123-el7-x86_64-a-4175517203/

Title: "Using fdisk to make mem stick bootable" (Date Posted 09-02-2014 by nix84)
o 1 Replies, 60 Views, Last Post: 06:16 PM, 09-02-2014 by Didier Spaier
o http://www.linuxquestions.org/questions/slackware-14/using-fdisk-to-make-mem-stick-bootable-4175517202/

Title: "Bad drive" (Date Posted 09-02-2014 by adadani)
o 1 Replies, 54 Views, Last Post: 06:34 PM, 09-02-2014 by AlucardZero
o http://www.linuxquestions.org/questions/linux-newbie-8/bad-drive-4175517201/

Title: "Cinnamon crashes with Linux Mint 17 live CD - "you are currently in fallback mode"" (Date Posted 09-02-2014 by Gabethebabe)
o 1 Replies, 11 Views, Last Post: 05:32 PM, 09-02-2014 by EDDY1
o http://www.linuxquestions.org/questions/linux-newbie-8/cinnamon-crashes-with-linux-mint-17-live-cd-you-are-currently-in-fallback-mode-4175517199/


-- Threads with no replies yet --

Title: "Alsa doesn't detect HDMI audio on Haswell" (Date Posted 09-02-2014 by adolfoe)
o 73 Views
o http://www.linuxquestions.org/questions/linux-hardware-18/alsa-doesn%27t-detect-hdmi-audio-on-haswell-4175517194/

Title: "Best solution for linux based proxy server in an office" (Date Posted 09-02-2014 by sigint-ninja)
o 66 Views
o http://www.linuxquestions.org/questions/linux-newbie-8/best-solution-for-linux-based-proxy-server-in-an-office-4175517190/

Title: "Erase a partition without losing it's UUID?" (Date Posted 09-02-2014 by Amarildo)
o 91 Views
o http://www.linuxquestions.org/questions/linux-newbie-8/erase-a-partition-without-losing-it%27s-uuid-4175517188/

Title: "need an epub reader that has highlighting" (Date Posted 09-02-2014 by Gregg Bell)
o 64 Views
o http://www.linuxquestions.org/questions/linux-software-2/need-an-epub-reader-that-has-highlighting-4175517186/

Title: "Auto respond to all incoming e-mail messages with a default subject and message" (Date Posted 09-02-2014 by aalger)
o 67 Views
o http://www.linuxquestions.org/questions/linux-newbie-8/auto-respond-to-all-incoming-e-mail-messages-with-a-default-subject-and-message-4175517180/

Title: "Let's test Slackware-current." (Date Posted 09-02-2014 by Didier Spaier)
o 196 Views
o http://www.linuxquestions.org/questions/slackware-14/let%27s-test-slackware-current-4175517175/


---------------------------------------------------------------------------
LATEST POLLS
---------------------------------------------------------------------------

Question: Do you change a brand new PC directly to Linux, buy it with Linux, or something else?
o 'Have bought Windows PCs and converted them straight to Linux ' (26 Votes)
o 'Have only ever converted old PCs to Linux ' (7 Votes)
o 'Have bought PCs which have Linux as their installed OS ' (6 Votes)
o 'Typically build a custom system from the ground up ' (31 Votes)
o 'Something else' (12 Votes)
View Poll Results: http://www.linuxquestions.org/questions/showthread.php?t=4175514666

Question: Do you enable or disable NumLock?
o 'I have NumLock turned on most of the time ' (30 Votes)
o 'I have NumLock turned off most of the time ' (10 Votes)
o 'I constantly turn NumLock on and off, depending on what I'm doing ' (1 Votes)
o 'My keyboard doesn't have a number pad' (3 Votes)
View Poll Results: http://www.linuxquestions.org/questions/showthread.php?t=4175514020


---------------------------------------------------------------------------
FORTHCOMING EVENTS :
to view the calendar, click the link below:
http://www.linuxquestions.org/questions/calendar.php?c=0
---------------------------------------------------------------------------


---------------------------------------------------------------------------
STATISTICS:
We have had the following activity since 08-18-2014
---------------------------------------------------------------------------

o 4,430 New Members
o 1,275 New Threads
o 7,448 New posts


---------------------------------------------------------------------------
USER INFO:
These are your current user details
---------------------------------------------------------------------------

o Your username is: "userfoo"
o You have 2 Posts
o You registered on 01-18-2005
o You were last active on LinuxQuestions.org at 12:52 PM, 10-21-2005


---------------------------------------------------------------------------
To unsubscribe from the community updates, click this link:
http://www.linuxquestions.org/questions/profile.php?do=editoptions
and uncheck "Receive Community Bulletin Newsletters".
Currently, community updates are sent bi-weekly.
---------------------------------------------------------------------------
{CODE}
tracker item
Show PHP error messages