Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send Button does silently nothing #6054

Closed
marcvs opened this issue Nov 21, 2017 · 5 comments
Closed

Send Button does silently nothing #6054

marcvs opened this issue Nov 21, 2017 · 5 comments
Labels

Comments

@marcvs
Copy link

@marcvs marcvs commented Nov 21, 2017

Hi There,

Using roundcube for years, debian/testing though, not git (sorry).

Last update brought updates of php7 (now using the php7 package version 7.0.25-1)
Roundcube version is 1.3.3+dfsg.1-1

Hitting the "send" button yields no action. (Except when the Subject is empty, I see the popup).
Otherwise though all logs are empty. Using these settings for logging:
$config['debug_level'] = 1;
$config['log_driver'] = 'file';
$config['syslog_id'] = 'roundcube';
$config['syslog_facility'] = LOG_USER;
$config['per_user_logging'] = false;
And true for all others (smtp_log log_logins log_session sql_debug imap_debug ldap_debug smtp_debug memcache_debug apc_debug)

Since I suspect php, I'm asking here on how to debug this one. I have some rusty php experience that I'd be happy to contribute.

@alecpl

This comment has been minimized.

Copy link
Member

@alecpl alecpl commented Nov 21, 2017

Check the webserver error log and browser console for errors. What plugins are enabled? Try to disable all for test.

@marcvs

This comment has been minimized.

Copy link
Author

@marcvs marcvs commented Nov 21, 2017

Disabled my only plugin (carddav).
lighttpd logs show nothing bad.
Browser console shows this:
app.min.js?s=1510201933:1 Uncaught TypeError: Cannot read property 'get_content' of undefined
at rcube_webmail.check_compose_input (app.min.js?s=1510201933:1)
at rcube_webmail.command (app.min.js?s=1510201933:1)
at HTMLAnchorElement.onclick (VM491 ?_task=mail&_a…545a13e8d88e099:141)

But I can't make sense of this

@marcvs

This comment has been minimized.

Copy link
Author

@marcvs marcvs commented Nov 21, 2017

Replaced app.min.js with app.js, error is slightly more verbose and shows:
app.min.js?s=1510166578:4547 Uncaught TypeError: Cannot read property 'get_content' of undefined
at rcube_webmail.check_compose_input (app.min.js?s=1510166578:4547)
at rcube_webmail.command (app.min.js?s=1510166578:1196)
at HTMLAnchorElement.onclick (?_task=mail&_action=…245a13ecdbd8ede:141)

Above, there are two other uncaught TypeError. It's already there when the page is loaded:
jquery.min.js?s=1510201933:36 jQuery.Deferred exception: tinymce is not defined ReferenceError: tinymce is not defined
at new rcube_text_editor (https://host/mail/program/js/editor.min.js?s=1510201933:1:821)
at rcube_webmail.editor_init (https://host/mail/program/js/app.min.js?s=1510166578:8177:19)
at rcube_webmail.init (https://host/mail/program/js/app.min.js?s=1510166578:333:16)
at HTMLDocument. (https://host/mail/?_task=mail&_action=compose&_id=1737406…:462:8)
at j (https://host/mail/program/js/jquery.min.js?s=1510201933:36:29999)
at k (https://host/mail/program/js/jquery.min.js?s=1510201933:36:30313) undefined
jquery.min.js?s=1510201933:36 Uncaught ReferenceError: tinymce is not defined
at new rcube_text_editor (editor.min.js?s=1510201933:1)
at rcube_webmail.editor_init (app.min.js?s=1510166578:8177)
at rcube_webmail.init (app.min.js?s=1510166578:333)
at HTMLDocument. (?_task=mail&_action=…245a13ecdbd8ede:462)
at j (jquery.min.js?s=1510201933:36)
at k (jquery.min.js?s=1510201933:36)

@alecpl

This comment has been minimized.

Copy link
Member

@alecpl alecpl commented Nov 21, 2017

Does it load tinymce.min.js at all? Looks like Debian packaging bug.

@alecpl alecpl closed this Nov 21, 2017
@marcvs

This comment has been minimized.

Copy link
Author

@marcvs marcvs commented Nov 21, 2017

Right, tinymce.min.js is not loaded. I'll check with roundcube debian maintainer. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.