Roundcube: Adding identity results in error
-
Hi,
when I try to add an identity to Roundcube, I get an error:
Oops... something went wrong! An internal error has occurred. Your request cannot be processed at this time. For administrators: Please check the application and/or server error logs for more information.The application log shows:
Mar 31 13:04:00 94.199.89.123 - - [31/Mar/2022:11:04:00 +0000] "GET /?_task=settings&_action=identities HTTP/1.1" 200 4959 "https://[mydomain].com/?_task=settings" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.55" Mar 31 13:04:02 94.199.89.123 - - [31/Mar/2022:11:04:02 +0000] "GET /?_task=settings&_action=add-identity&_iid=0&_framed=1 HTTP/1.1" 500 426 "https://[mydomain].com/?_task=settings&_action=identities" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.55" Mar 31 13:04:10 - - - [31/Mar/2022:11:04:10 +0000] "GET / HTTP/1.1" 200 2915 "-" "Mozilla (CloudronHealth)" Mar 31 13:04:20 - - - [31/Mar/2022:11:04:20 +0000] "GET / HTTP/1.1" 200 2914 "-" "Mozilla (CloudronHealth)" Mar 31 13:04:30 - - - [31/Mar/2022:11:04:30 +0000] "GET / HTTP/1.1" 200 2913 "-" "Mozilla (CloudronHealth)" -
Hi,
when I try to add an identity to Roundcube, I get an error:
Oops... something went wrong! An internal error has occurred. Your request cannot be processed at this time. For administrators: Please check the application and/or server error logs for more information.The application log shows:
Mar 31 13:04:00 94.199.89.123 - - [31/Mar/2022:11:04:00 +0000] "GET /?_task=settings&_action=identities HTTP/1.1" 200 4959 "https://[mydomain].com/?_task=settings" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.55" Mar 31 13:04:02 94.199.89.123 - - [31/Mar/2022:11:04:02 +0000] "GET /?_task=settings&_action=add-identity&_iid=0&_framed=1 HTTP/1.1" 500 426 "https://[mydomain].com/?_task=settings&_action=identities" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.55" Mar 31 13:04:10 - - - [31/Mar/2022:11:04:10 +0000] "GET / HTTP/1.1" 200 2915 "-" "Mozilla (CloudronHealth)" Mar 31 13:04:20 - - - [31/Mar/2022:11:04:20 +0000] "GET / HTTP/1.1" 200 2914 "-" "Mozilla (CloudronHealth)" Mar 31 13:04:30 - - - [31/Mar/2022:11:04:30 +0000] "GET / HTTP/1.1" 200 2913 "-" "Mozilla (CloudronHealth)" -
N nebulon marked this topic as a question on
-
Hi,
when I try to add an identity to Roundcube, I get an error:
Oops... something went wrong! An internal error has occurred. Your request cannot be processed at this time. For administrators: Please check the application and/or server error logs for more information.The application log shows:
Mar 31 13:04:00 94.199.89.123 - - [31/Mar/2022:11:04:00 +0000] "GET /?_task=settings&_action=identities HTTP/1.1" 200 4959 "https://[mydomain].com/?_task=settings" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.55" Mar 31 13:04:02 94.199.89.123 - - [31/Mar/2022:11:04:02 +0000] "GET /?_task=settings&_action=add-identity&_iid=0&_framed=1 HTTP/1.1" 500 426 "https://[mydomain].com/?_task=settings&_action=identities" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.55" Mar 31 13:04:10 - - - [31/Mar/2022:11:04:10 +0000] "GET / HTTP/1.1" 200 2915 "-" "Mozilla (CloudronHealth)" Mar 31 13:04:20 - - - [31/Mar/2022:11:04:20 +0000] "GET / HTTP/1.1" 200 2914 "-" "Mozilla (CloudronHealth)" Mar 31 13:04:30 - - - [31/Mar/2022:11:04:30 +0000] "GET / HTTP/1.1" 200 2913 "-" "Mozilla (CloudronHealth)" -
@necrevistonnezr Tried this on our install and it works fine. Can you try adding
$config['debug_level'] = 4;in the custom config and then you will find the logs in/tmp/roundcube/logs.@girish Thanks for looking into this!
[31-Mar-2022 18:32:10 UTC] PHP Fatal error: Uncaught Error: Unsupported operand types in /app/data/plugins/identity_smtp/identity_smtp.php:194 Stack trace: #0 /app/code/program/lib/Roundcube/rcube_plugin_api.php(513): identity_smtp->identityFormWillBeDisplayed() #1 /app/code/program/actions/settings/identity_edit.php(168): rcube_plugin_api->exec_hook() #2 /app/code/program/include/rcmail_output_html.php(1484): rcmail_action_settings_identity_edit::identity_form() #3 [internal function]: rcmail_output_html->xml_command() #4 /app/code/program/include/rcmail_output_html.php(1322): preg_replace_callback() #5 /app/code/program/include/rcmail_output_html.php(825): rcmail_output_html->parse_xml() #6 /app/code/program/include/rcmail_output_html.php(654): rcmail_output_html->parse() #7 /app/code/program/actions/settings/identity_edit.php(78): rcmail_output_html->send() #8 /app/code/program/include/rcmail.php(275): rcmail_action_settings_identity_edit->run() #9 /app/code/index.php(283): rcmail->action_handler() #10 {main} thrown in /app/data/plugins/identity_smtp/identity_smtp.php on line 194 -
@girish Thanks for looking into this!
[31-Mar-2022 18:32:10 UTC] PHP Fatal error: Uncaught Error: Unsupported operand types in /app/data/plugins/identity_smtp/identity_smtp.php:194 Stack trace: #0 /app/code/program/lib/Roundcube/rcube_plugin_api.php(513): identity_smtp->identityFormWillBeDisplayed() #1 /app/code/program/actions/settings/identity_edit.php(168): rcube_plugin_api->exec_hook() #2 /app/code/program/include/rcmail_output_html.php(1484): rcmail_action_settings_identity_edit::identity_form() #3 [internal function]: rcmail_output_html->xml_command() #4 /app/code/program/include/rcmail_output_html.php(1322): preg_replace_callback() #5 /app/code/program/include/rcmail_output_html.php(825): rcmail_output_html->parse_xml() #6 /app/code/program/include/rcmail_output_html.php(654): rcmail_output_html->parse() #7 /app/code/program/actions/settings/identity_edit.php(78): rcmail_output_html->send() #8 /app/code/program/include/rcmail.php(275): rcmail_action_settings_identity_edit->run() #9 /app/code/index.php(283): rcmail->action_handler() #10 {main} thrown in /app/data/plugins/identity_smtp/identity_smtp.php on line 194@necrevistonnezr Oh, this is SMTP identity plugin (https://github.com/CocytusServices/Roundcube-Identity-SMTP) ? You might have to ask there. I was testing with the identity feature in Roundcube.
-
@necrevistonnezr Oh, this is SMTP identity plugin (https://github.com/CocytusServices/Roundcube-Identity-SMTP) ? You might have to ask there. I was testing with the identity feature in Roundcube.
@girish Thanks, that put me on the right path...
For the record:
Even the current forked version of the identity_smtp plugin (https://github.com/CocytusServices/Roundcube-Identity-SMTP forked from https://github.com/deflomu/Roundcube-SMTP-per-Identity-Plugin) has a bug.The fix proposed here works: https://github.com/deflomu/Roundcube-SMTP-per-Identity-Plugin/commit/411a33432ab1ba7fdb6004f6b2b66bd3601dff9f
-
G girish has marked this topic as solved on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login