andyrav
Jr. Member

Karma: 0
Posts: 68
|
 |
« on: January 11, 2012, 10:41:47 AM » |
|
Hi, has anyone managed to get email notification working in phpScheduleIt-2.0.0-beta20120101
|
|
|
|
|
Logged
|
|
|
|
andyrav
Jr. Member

Karma: 0
Posts: 68
|
 |
« Reply #1 on: January 11, 2012, 11:08:23 AM » |
|
export from the logfile if this helps Wed Jan 11 15:59:36 2012,626 [10822] ERROR default - Error sending notification of type OwnerEmailCreatedNotification for reservation 4f0db1e888c6b. Exception: exception 'SmartyException' with message 'Unable to load template file '..\tpl\Email\emailheader.tpl'' in /home/xxx/public_html/phpScheduleIt/lib/external/Smarty/sysplugins/smarty_internal_template.php:163 Stack trace:
|
|
|
|
|
Logged
|
|
|
|
pecorazza
Newbie
Karma: 0
Posts: 1
|
 |
« Reply #2 on: January 12, 2012, 09:14:02 AM » |
|
Hello everybody Me to, I have the same error ...
|
|
|
|
|
Logged
|
|
|
|
andyrav
Jr. Member

Karma: 0
Posts: 68
|
 |
« Reply #3 on: January 16, 2012, 04:51:43 AM » |
|
Still the same in phpScheduleIt-2.0.0-beta20120112 Mon Jan 16 09:46:19 2012,420 [10013] DEBUG default - Calling notify on OwnerEmailCreatedNotification for reservation 4f13f1eb4beb6 Mon Jan 16 09:46:19 2012,567 [10013] ERROR default - Error sending notification of type OwnerEmailCreatedNotification for reservation 4f13f1eb4beb6. Exception: exception 'SmartyException' with message 'Unable to load template file '..\tpl\Email\emailheader.tpl' in 'ReservationCreated.tpl'' in /var/www/phpScheduleIt/lib/external/Smarty/sysplugins/smarty_internal_templatebase.php:127 Stack trace: #0 /var/www/phpScheduleIt/lib/external/Smarty/sysplugins/smarty_internal_template.php(285): Smarty_Internal_TemplateBase->fetch(NULL, NULL, NULL, NULL, false, false, true) #1 /var/www/phpScheduleIt/tpl_c/0f4a50973a8937f4618da8c81d62412654c6c1d9.file.ReservationCreated.tpl.php(36): Smarty_Internal_Template->getSubTemplate('..\tpl\Email\em...', NULL, NULL, NULL, NULL, Array, 0) #2 /var/www/phpScheduleIt/lib/external/Smarty/sysplugins/smarty_internal_templatebase.php(180): content_4f13f1eb899d0(Object(Smarty_Internal_Template)) #3 /var/www/phpScheduleIt/lib/Common/SmartyPage.php(139): Smarty_Internal_TemplateBase->fetch('ReservationCrea...') #4 /var/www/phpScheduleIt/lib/Email/EmailMessage.php(46): SmartyPage->FetchLocalized('ReservationCrea...') #5 /var/www/phpScheduleIt/lib/Email/Messages/ReservationCreatedEmail.php(79): EmailMessage->FetchTemplate('ReservationCrea...') #6 /var/www/phpScheduleIt/lib/Email/EmailService.php(54): ReservationCreatedEmail->Body() #7 /var/www/phpScheduleIt/lib/Application/Reservation/Notification/OwnerEmailNotification.php(52): EmailService->Send(Object(ReservationCreatedEmail)) #8 /var/www/phpScheduleIt/lib/Application/Reservation/Notification/IReservationNotificationService.php(59): OwnerEmailNotification->Notify(Object(ReservationSeries)) #9 /var/www/phpScheduleIt/Presenters/ReservationHandler.php(109): ReservationNotificationService->Notify(Object(ReservationSeries)) #10 /var/www/phpScheduleIt/Presenters/ReservationSavePresenter.php(100): ReservationHandler->Handle(Object(ReservationSeries), Object(ReservationSavePage)) #11 /var/www/phpScheduleIt/Pages/Ajax/ReservationSavePage.php(151): ReservationSavePresenter->HandleReservation(Object(ReservationSeries)) #12 /var/www/phpScheduleIt/Web/ajax/reservation_save.php(26): ReservationSavePage->PageLoad() #13 {main} Mon Jan 16 09:46:19 2012,568 [10013] DEBUG default - Calling notify on AdminEmailCreatedNotification for reservation 4f13f1eb4beb6 Mon Jan 16 09:46:19 2012,568 [10013] DEBUG default - Calling notify on ParticipantAddedEmailNotification for reservation 4f13f1eb4beb6 Mon Jan 16 09:46:19 2012,569 [10013] DEBUG default - Calling notify on InviteeAddedEmailNotification for reservation 4f13f1eb4beb6
|
|
|
|
|
Logged
|
|
|
|
andyrav
Jr. Member

Karma: 0
Posts: 68
|
 |
« Reply #4 on: January 16, 2012, 11:08:31 AM » |
|
Managed to find a work around i modifyed /var/www/phpScheduleIt/lang/en_us/ReservationCreated.tpl and changed it to the absolute filepath {include file='..\..\tpl\Email\emailheader.tpl'} to {include file='/var/www/phpScheduleIt/tpl/Email/emailheader.tpl'}
same for all the other paths to the email tpl's
|
|
|
|
|
Logged
|
|
|
|
andyrav
Jr. Member

Karma: 0
Posts: 68
|
 |
« Reply #5 on: January 16, 2012, 12:13:52 PM » |
|
still loads of bugs in the email part that need fixing i.e the links dont work the subject header is ?
|
|
|
|
|
Logged
|
|
|
|
Nick
Administrator
Hero Member
   
Karma: 15
Posts: 5419
|
 |
« Reply #6 on: January 17, 2012, 02:17:47 PM » |
|
Good stuff. I haven't had an email server to play with yet, so most of this was based on hope. I'll try to get something set up and debug it.
|
|
|
|
|
Logged
|
|
|
|
mollek
Newbie
Karma: 0
Posts: 2
|
 |
« Reply #7 on: January 17, 2012, 05:23:31 PM » |
|
Is it possible to add an option to e-mail the contact person for a particular resource (besides the administrator or tech support)?
|
|
|
|
|
Logged
|
|
|
|
Nick
Administrator
Hero Member
   
Karma: 15
Posts: 5419
|
 |
« Reply #8 on: January 23, 2012, 01:56:03 PM » |
|
This is a great suggestion. I'll put it on my feature list.
|
|
|
|
|
Logged
|
|
|
|
andyrav
Jr. Member

Karma: 0
Posts: 68
|
 |
« Reply #9 on: January 25, 2012, 06:11:00 AM » |
|
Still a porblem in latest build phpScheduleIt-2.0.0-beta20120124
Wed Jan 25 11:08:13 2012,887 [1439] ERROR default - Error sending notification of type OwnerEmailCreatedNotification for reservation 4f1fe29d9d23e. Exception: exception 'SmartyException' with message 'Unable to load template file '..\tpl\Email\emailheader.tpl' in 'ReservationCreated.tpl'' in /var/www/phpScheduleIt/lib/external/Smarty/sysplugins/smarty_internal_templatebase.php:127 Stack trace:
|
|
|
|
|
Logged
|
|
|
|
Nick
Administrator
Hero Member
   
Karma: 15
Posts: 5419
|
 |
« Reply #10 on: January 31, 2012, 01:04:07 PM » |
|
I'd try clearing any cached files in \tpl_c
|
|
|
|
|
Logged
|
|
|
|
andyrav
Jr. Member

Karma: 0
Posts: 68
|
 |
« Reply #11 on: February 01, 2012, 10:42:48 AM » |
|
Tried that, still same error.
|
|
|
|
|
Logged
|
|
|
|
robbeck
Newbie
Karma: 0
Posts: 5
|
 |
« Reply #12 on: February 01, 2012, 11:06:14 PM » |
|
Are there plans to add a notification for deleted events? Also, is there a way in the current 2.0 beta release to include admins on all reservations? I didn't see that option anywhere.
Thanks
|
|
|
|
|
Logged
|
|
|
|
Nick
Administrator
Hero Member
   
Karma: 15
Posts: 5419
|
 |
« Reply #13 on: February 07, 2012, 10:22:03 AM » |
|
Both of those features are planned for the 2.1 release
|
|
|
|
|
Logged
|
|
|
|
andyrav
Jr. Member

Karma: 0
Posts: 68
|
 |
« Reply #14 on: February 13, 2012, 05:31:06 AM » |
|
Hi Still not working in 2.0 Mon Feb 13 10:29:08 2012,428 [31942] DEBUG default - Calling notify on OwnerEmailUpdatedNotification for reservation 4f38dfef27921 Mon Feb 13 10:29:08 2012,476 [31942] ERROR default - Error sending notification of type OwnerEmailUpdatedNotification for reservation 4f38dfef27921. Exception: exception 'SmartyException' with message 'Unable to load template file 'ReservationCreated.tpl'' in /var/www/phpScheduleIt/lib/external/Smarty/sysplugins/smarty_internal_templatebase.php:127 Stack trace: #0 /var/www/phpScheduleIt/lib/Common/SmartyPage.php(147): Smarty_Internal_TemplateBase->fetch('ReservationCrea...') #1 /var/www/phpScheduleIt/lib/Email/EmailMessage.php(47): SmartyPage->FetchLocalized('ReservationCrea...') #2 /var/www/phpScheduleIt/lib/Email/Messages/ReservationCreatedEmail.php(79): EmailMessage->FetchTemplate('ReservationCrea...') #3 /var/www/phpScheduleIt/lib/Email/EmailService.php(54): ReservationCreatedEmail->Body() #4 /var/www/phpScheduleIt/lib/Application/Reservation/Notification/OwnerEmailNotification.php(53): EmailService->Send(Object(ReservationUpdatedEmail)) #5 /var/www/phpScheduleIt/lib/Application/Reservation/Notification/IReservationNotificationService.php(59): OwnerEmailNotification->Notify(Object(ExistingReservationSeries)) #6 /var/www/phpScheduleIt/Presenters/ReservationHandler.php(109): ReservationNotificationService->Notify(Object(ExistingReservationSeries)) #7 /var/www/phpScheduleIt/Presenters/ReservationUpdatePresenter.php(105): ReservationHandler->Handle(Object(ExistingReservationSeries), Object(ReservationUpdatePage)) #8 /var/www/phpScheduleIt/Pages/Ajax/ReservationUpdatePage.php(68): ReservationUpdatePresenter->HandleReservation(Object(ExistingReservationSeries)) #9 /var/www/phpScheduleIt/Web/ajax/reservation_update.php(26): ReservationUpdatePage->PageLoad()
|
|
|
|
|
Logged
|
|
|
|
|