Emails not sending

85 views
Skip to first unread message

Annie Baumann

unread,
Oct 13, 2014, 4:05:20 PM10/13/14
to gots-d...@googlegroups.com
Hello!

I'm reposting for our university's IIT director. She had posted in an older thread, and she hasn't received a response, yet. I am an electronic services librarian working in tandem with our IIT director to get GotS running. So, sorry for the repost!

We are running GotS on a Lamp stack and we've configured PHP and webadmin to our IIT director's email via our SMTP server.

Our IIT director has verified that her email is working from the webadmin function as well as PHP. The guide_on_the_side/app/mpt/logs/error.log has the following information:
 

2014-09-09 13:32:00 Error: [SocketException] Could not send email.

Request URL: /guide_on_the_side/tutorials/provide_feedback/9

Stack Trace:

#0 /var/www/guide_on_the_side/lib/Cake/Network/Email/MailTransport.php(47): MailTransport->_mail('reference@viter...', 'Feedback for IL...', 'From: Sarah Bea...', 'From: reference...', NULL)

#1 /var/www/guide_on_the_side/lib/Cake/Network/Email/CakeEmail.php(1124): MailTransport->send(Object(CakeEmail))

#2 /var/www/guide_on_the_side/lib/Cake/Controller/Component/EmailComponent.php(347): CakeEmail->send('From: Sarah Bea...')

#3 /var/www/guide_on_the_side/app/Controller/TutorialsController.php(909): EmailComponent->send('From: Sarah Bea...')

#4 [internal function]: TutorialsController->provide_feedback('9')

#5 /var/www/guide_on_the_side/lib/Cake/Controller/Controller.php(490): ReflectionMethod->invokeArgs(Object(TutorialsController), Array)

#6 /var/www/guide_on_the_side/lib/Cake/Routing/Dispatcher.php(187): Controller->invokeAction(Object(CakeRequest))

#7 /var/www/guide_on_the_side/lib/Cake/Routing/Dispatcher.php(162): Dispatcher->_invoke(Object(TutorialsController), Object(CakeRequest), Object(CakeResponse))

#8 /var/www/guide_on_the_side/app/webroot/index.php(98): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))

#9 {main}

2014-09-09 13:32:01 Error: [SocketException] Could not send email.

Request URL: /guide_on_the_side/tutorials/provide_feedback/9

Stack Trace:

#0 /var/www/guide_on_the_side/lib/Cake/Network/Email/MailTransport.php(47): MailTransport->_mail('reference@viter...', 'Feedback for IL...', 'From: Sarah Bea...', 'From: reference...', NULL)

#1 /var/www/guide_on_the_side/lib/Cake/Network/Email/CakeEmail.php(1124): MailTransport->send(Object(CakeEmail))

#2 /var/www/guide_on_the_side/lib/Cake/Controller/Component/EmailComponent.php(347): CakeEmail->send('From: Sarah Bea...')

#3 /var/www/guide_on_the_side/app/Controller/TutorialsController.php(909): EmailComponent->send('From: Sarah Bea...')

#4 [internal function]: TutorialsController->provide_feedback('9')

#5 /var/www/guide_on_the_side/lib/Cake/Controller/Controller.php(490): ReflectionMethod->invokeArgs(Object(TutorialsController), Array)

#6 /var/www/guide_on_the_side/lib/Cake/Routing/Dispatcher.php(187): Controller->invokeAction(Object(CakeRequest))

#7 /var/www/guide_on_the_side/lib/Cake/Routing/Dispatcher.php(162): Dispatcher->_invoke(Object(TutorialsController), Object(CakeRequest), Object(CakeResponse))

#8 /var/www/guide_on_the_side/app/webroot/index.php(98): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))

#9 {main}


When we click the "Print/Send email" option on a quiz or on the feedback form, the screen doesn't disappear, like nothing is happening.

Any ideas?

Sorry for the repost! We are excited to get this up and running!

Mike Hagedon

unread,
Oct 31, 2014, 4:32:26 PM10/31/14
to gots-d...@googlegroups.com
Hi Annie,
I would start by double-checking your config.yml to make sure both email fields are filled out.

Mike

Sarah Bearbower

unread,
Dec 22, 2014, 5:02:20 PM12/22/14
to gots-d...@googlegroups.com
Mike both of these files are filled in.

Sarah Bearbower

unread,
Dec 22, 2014, 5:03:57 PM12/22/14
to gots-d...@googlegroups.com
Also the Debug.log has the following entries around the time of an attempted submittal.

2014-12-22 15:48:23 Notice: Notice (8): Undefined index: Role in [/var/www/guide_on_the_side/app/Controller/AppController.php, line 39]
Trace:
AppController::beforeFilter() - APP/Controller/AppController.php, line 39
TutorialsController::beforeFilter() - APP/Controller/TutorialsController.php, line 25
call_user_func - [internal], line ??
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 248
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 674
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 184
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 98

2014-12-22 15:48:24 Notice: Notice (8): Undefined index: Role in [/var/www/guide_on_the_side/app/Controller/AppController.php, line 39]
Trace:
AppController::beforeFilter() - APP/Controller/AppController.php, line 39
TutorialsController::beforeFilter() - APP/Controller/TutorialsController.php, line 25
call_user_func - [internal], line ??
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 248
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 674
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 184
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 98

2014-12-22 15:48:28 Notice: Notice (8): Undefined index: Role in [/var/www/guide_on_the_side/app/Controller/AppController.php, line 39]
Trace:
AppController::beforeFilter() - APP/Controller/AppController.php, line 39
TutorialsController::beforeFilter() - APP/Controller/TutorialsController.php, line 25
call_user_func - [internal], line ??
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 248
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 674
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 184
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 98

2014-12-22 15:49:13 Notice: Notice (8): Undefined index: Role in [/var/www/guide_on_the_side/app/Controller/AppController.php, line 39]
Trace:
AppController::beforeFilter() - APP/Controller/AppController.php, line 39
TutorialsController::beforeFilter() - APP/Controller/TutorialsController.php, line 25
call_user_func - [internal], line ??
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 248
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 674
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 184
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 98

2014-12-22 15:49:13 Notice: Notice (8): Undefined index: Role in [/var/www/guide_on_the_side/app/Controller/AppController.php, line 39]
Trace:
AppController::beforeFilter() - APP/Controller/AppController.php, line 39
call_user_func - [internal], line ??
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 248
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 674
ExceptionRenderer::_getController() - CORE/Cake/Error/ExceptionRenderer.php, line 156
ExceptionRenderer::__construct() - CORE/Cake/Error/ExceptionRenderer.php, line 94
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 121
[main] - [internal], line ??

2014-12-22 15:49:37 Notice: Notice (8): Undefined index: Role in [/var/www/guide_on_the_side/app/Controller/AppController.php, line 39]
Trace:
AppController::beforeFilter() - APP/Controller/AppController.php, line 39
TutorialsController::beforeFilter() - APP/Controller/TutorialsController.php, line 25
call_user_func - [internal], line ??
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 248
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 674
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 184
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 98

2014-12-22 15:49:37 Notice: Notice (8): Undefined index: Role in [/var/www/guide_on_the_side/app/Controller/AppController.php, line 39]
Trace:
AppController::beforeFilter() - APP/Controller/AppController.php, line 39
call_user_func - [internal], line ??
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 248
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 674
ExceptionRenderer::_getController() - CORE/Cake/Error/ExceptionRenderer.php, line 156
ExceptionRenderer::__construct() - CORE/Cake/Error/ExceptionRenderer.php, line 94
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 121
[main] - [internal], line ??

On Friday, October 31, 2014 3:32:26 PM UTC-5, Mike Hagedon wrote:

Mike Hagedon

unread,
Dec 29, 2014, 12:19:06 PM12/29/14
to gots-d...@googlegroups.com
Hi Sarah,
While GotS shouldn't be giving those notices, I've seen them before and they shouldn't be affecting email sending...

Mike

Reply all
Reply to author
Forward
0 new messages