Commenting plugin "New Comment Notification Emails"

It doesn’t appear that this has been posted before…

If any emails are entered into the “New Comment Notification Emails” box for the commenting plugin the user experiences the “Omeka encountered an error” page when they leave a comment. The comment actually successfully goes to moderation, but the email address entered in this field does not receive an email.

I wasn’t able to replicate this - what versions of Commenting and Omeka Classic are you using?

Omeka 2.7.1 and Commenting 2.2.

Also, commenting gives the user the option to leave a website url. If the user does this, it makes their name clickable on the admin end when moderating the comment. However, it goes to a 404 when clicked.

If there is an email address given, this is the error:

28%20AM

I do see the problem clicking on user urls, and will make an issue on the plugin.

For the email address error, turn on error messages and let us know what it says.

Thank you! Here is the error:

RuntimeException: The configured PHP path (/bin/php) does not point to a PHP-CLI binary. in /home/theampli/public_html/application/libraries/Omeka/Job/Process/Dispatcher.php:124
Stack trace:
#0 /home/theampli/public_html/application/libraries/Omeka/Job/Process/Dispatcher.php(93): Omeka_Job_Process_Dispatcher::_checkCliPath('/bin/php')
#1 /home/theampli/public_html/application/libraries/Omeka/Job/Process/Dispatcher.php(28): Omeka_Job_Process_Dispatcher::getPHPCliPath()
#2 /home/theampli/public_html/application/libraries/Omeka/Job/Dispatcher/Adapter/BackgroundProcess.php(31): Omeka_Job_Process_Dispatcher::startProcess('Omeka_Job_Proce...', Object(User), Array)
#3 /home/theampli/public_html/application/libraries/Omeka/Job/Dispatcher/Default.php(151): Omeka_Job_Dispatcher_Adapter_BackgroundProcess->send('{"className":"J...', Array)
#4 /home/theampli/public_html/plugins/Commenting/controllers/CommentController.php(231): Omeka_Job_Dispatcher_Default->sendLongRunning('Job_CommentNoti...', Array)
#5 /home/theampli/public_html/plugins/Commenting/controllers/CommentController.php(82): Commenting_CommentController->sendEmailNotifications(Object(Comment))
#6 /home/theampli/public_html/application/libraries/Zend/Controller/Action.php(516): Commenting_CommentController->addAction()
#7 /home/theampli/public_html/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('addAction')
#8 /home/theampli/public_html/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#9 /home/theampli/public_html/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch()
#10 /home/theampli/public_html/application/libraries/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()
#11 /home/theampli/public_html/application/libraries/Omeka/Application.php(73): Zend_Application->run()
#12 /home/theampli/public_html/index.php(23): Omeka_Application->run()
#13 {main}

You’ll want to check with your hosting company or sysadmin and set the PHP path in the config.ini file in your Omeka installation (access via FTP or SSH)

Regarding the issue with user’s websites - we’re working on a fix and it will be out soon. Thanks for bringing it to our attention!

Thanks for your comment. We needed to set the PHP path as you suggested and the plugin works now!

1 Like