Roundcube Community Forum

 

Javascript error when sending

Started by XtremeSC, December 11, 2008, 07:43:55 PM

Previous topic - Next topic

XtremeSC

When I compose an email in the text editor and click on Send or Save buttons, nothing happens.

The console shows this error:

Error: tinyMCE.get is not a function
Source File: http://webmail.xtremens.com/program/js/app.js
Line: 1982

Line 1982 is: if ((!window.tinyMCE || !tinyMCE.get('compose-body')) && input_message.value == '' && !confirm(this.get_label('nobodywarning')))

I have downloaded and installed 2147 with no change.

rosali

Which RoundCube version? Try latest SVN release ( /trunk ? RoundCube Webmail ? Trac ).

If you still get the error after updating, may be TinyMCE is blocked by some kind of filter on your machine or your proxy.
Regards,
Rosali

XtremeSC

When I referred to downloading 2147 that was the most current SVN build last night.

When you say that a proxy or port could 'block' tinyMCE, what ports and protocol would tinyMCE need? No normal port is blocked on the firewall and the XP firewall on this client is disabled. I have also tried this on multiple computers on multiple networks with a variety of browsers with no success. This installation was working fine with the earlier release but on upgrade to 0.2-beta stopped working.

rosali

So it does not work with SVN 2147?

I have experienced that TinyMCE is blocked by some web content filters. TinyMCE is working fine for me except I access RoundCube from our business network.
Regards,
Rosali

XtremeSC

No. There is no content filtering that would affect this connection. What is the next thing to check?

rosali

PM'me access data to a test account ...
Regards,
Rosali

XtremeSC

Set up a test account and tried sending and it worked OK. Then I realized I was in Internet Explorer 7. Open the test account in Firefox and the problem persists.
After some testing it appears that the error occurs intermittantly in IE7 (It just gives a red banner that  says an internal error occurred) but consistantly in FireFox 3.
Also, after the error if I hit the return to email button I get a blank page with:
SERVICE CURRENTLY NOT AVAILABLE!

Error No. [0x01F5]

rosali

SERVICE CURRENTLY NOT AVAILABLE!

!!! Do you have adjusted your database after upgrade to current SVN release (./SQL) !!!
Regards,
Rosali

rosali

Check your logs ... about 21:13 GMT +1

Both, IE7 and Firefox without any problems ...
Regards,
Rosali

rosali

Well, really no problems detected ... works like a charm and a really hugh performance!
 
Comanion.JS v0,4,2 (enhanced JS debugger for IE) and Firefox console without any error logs!
 
Regards,
Roland

UPDATE:

Saving drafts hangs ... check config for creating default imap folders and save drafts settings!!!

OK, done on my side. Wait for feedback.
Regards,
Rosali

XtremeSC

Quote from: rosali;15744SERVICE CURRENTLY NOT AVAILABLE!

!!! Do you have adjusted your database after upgrade to current SVN release (./SQL) !!!

I didn't realize there were database changes after 0.2-beta. I have done it now.

XtremeSC

I checked the config, updated the database, cleared all the caches and this problem seems to be gone. I'll do some more testing to determine if I need help resolving the remaining problems and open a new thread if necessary.
Thanks.