kumarsivarajan / mollify

Automatically exported from code.google.com/p/mollify
0 stars 0 forks source link

Upload file with Notification #563

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Upload any file
2. Notificator plugin (filesystem/upload)

What is the expected output? What do you see instead?
I hope the file upload correctly and send notification ...
Displays this message "File upload failed", however the file upload correctly 
but does not send the notification.

What version of the product are you using? On what operating system?
Mollify 2.5.12, Windows 7 64bits

Error Log
[28-Jul-2014 15:07:18 America/Costa_Rica] MOLLIFY ERROR: PHP error #2, 
mail(/var/log/php_mail.log): failed to open stream: Permission denied 
(/home/creacio2/public_html/archivos/backend/include/mail/MailSender.class.php:4
8)
{0:{function:globalErrorHandler, args:{0:2, 1:mail(/var/log/php_mail.log): 
failed to open stream: Permission denied, 
2:/home/creacio2/public_html/archivos/backend/include/mail/MailSender.class.php,
 3:48, 4:{to:{0:{id:2, name:Wes, email:wmolina@bp.fi.cr}}, subject:Nuevos 
Elementos, message:Favor Revisar, from:, attachments:, isHtml:, 
f:wesmolina@gmail.com, validRecipients:{0:{id:2, name:Wes, 
email:wmolina@bp.fi.cr}}, toAddress:Wes<wmolina@bp.fi.cr>, 
headers:MIME-Version: 1.0
Content-type: text/plain; charset=utf-8
From:wesmolina@gmail.com}}}, 
1:{file:/home/creacio2/public_html/archivos/backend/include/mail/MailSender.clas
s.php, line:48, function:mail, args:{0:Wes<wmolina@bp.fi.cr>, 1:Nuevos 
Elementos, 2:Favor Revisar, 3:MIME-Version: 1.0
Content-type: text/plain; charset=utf-8
From:wesmolina@gmail.com}}, 
2:{file:/home/creacio2/public_html/archivos/backend/plugin/Notificator/Notificat
orHandler.class.php, line:99, function:send, class:Mollify_MailSender, 
object:MailSender, type:->, args:{0:{0:{id:2, name:Wes, 
email:wmolina@bp.fi.cr}}, 1:Nuevos Elementos, 2:Favor Revisar}}, 
3:{file:/home/creacio2/public_html/archivos/backend/plugin/Notificator/Notificat
orHandler.class.php, line:45, function:sendNotification, 
class:NotificatorHandler, object:NotificatorHandler, type:->, 
args:{0:Notification [1], 1:FILESYSTEMEVENT FileEvent}}, 
4:{file:/home/creacio2/public_html/archivos/backend/plugin/Notificator/Notificat
orHandler.class.php, line:24, function:sendNotifications, 
class:NotificatorHandler, object:NotificatorHandler, type:->, 
args:{0:{0:Notification [1]}, 1:FILESYSTEMEVENT FileEvent}}, 
5:{file:/home/creacio2/public_html/archivos/backend/include/event/EventHandler.c
lass.php, line:53, function:onEvent, class:NotificatorHandler, 
object:NotificatorHandler, type:->, args:{0:FILESYSTEMEVENT FileEvent}}, 
6:{file:/home/creacio2/public_html/archivos/backend/include/filesystem/Filesyste
mController.class.php, line:702, function:onEvent, class:EventHandler, 
object:EventHandler, type:->, args:{0:FILESYSTEMEVENT FileEvent}}, 
7:{file:/home/creacio2/public_html/archivos/backend/include/filesystem/Filesyste
mController.class.php, line:640, function:upload, class:FilesystemController, 
object:FILESYSTEMCONTROLLER, type:->, args:{0:FILESYSTEMITEM Folder 
(LocalFilesystem): [53d6af99480bc] = 'Wes' (), 
1:SolicituddeFirmaDigitalNacionalV260114.pdf, 2:/tmp/phpJJ5wKR, 3:174916, 
4:application/pdf, 5:}}, 
8:{file:/home/creacio2/public_html/archivos/backend/include/services/FilesystemS
ervices.class.php, line:317, function:uploadTo, class:FilesystemController, 
object:FILESYSTEMCONTROLLER, type:->, args:{0:FILESYSTEMITEM Folder 
(LocalFilesystem): [53d6af99480bc] = 'Wes' ()}}, 
9:{file:/home/creacio2/public_html/archivos/backend/include/services/FilesystemS
ervices.class.php, line:61, function:processPostFolder, 
class:FilesystemServices, object:FileSystemServices, type:->, 
args:{0:FILESYSTEMITEM Folder (LocalFilesystem): [53d6af99480bc] = 'Wes' ()}}, 
10:{file:/home/creacio2/public_html/archivos/backend/include/services/ServicesBa
se.class.php, line:59, function:processPost, class:FilesystemServices, 
object:FileSystemServices, type:->, args:{}}, 
11:{file:/home/creacio2/public_html/archivos/backend/include/MollifyBackend.clas
s.php, line:85, function:processRequest, class:ServicesBase, 
object:FileSystemServices, type:->, args:{}}, 
12:{file:/home/creacio2/public_html/archivos/backend/r.php, line:63, 
function:processRequest, class:MollifyBackend, object:MollifyBackend, type:->, 
args:{0:Request}}}

Original issue reported on code.google.com by wesmol...@gmail.com on 28 Jul 2014 at 9:17

Attachments:

GoogleCodeExporter commented 8 years ago
Sounds like server configuration error: 
http://stackoverflow.com/questions/1906403/mail-failed-to-open-stream-permission
-denied

You server fails to send mail, not exactly something Mollify can do about.

Original comment by samuli.j...@gmail.com on 4 Aug 2014 at 9:06