Author Topic: Javascript error when sending  (Read 4315 times)

Offline XtremeSC

  • Newbie
  • *
  • Posts: 6
Javascript error when sending
« on: December 11, 2008, 07:43:55 PM »
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.

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Javascript error when sending
« Reply #1 on: December 12, 2008, 01:12:54 AM »
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
__________________
MyRoundcube Project (commercial)

Offline XtremeSC

  • Newbie
  • *
  • Posts: 6
Javascript error when sending
« Reply #2 on: December 12, 2008, 12:14:20 PM »
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.

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Javascript error when sending
« Reply #3 on: December 14, 2008, 03:22:24 AM »
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
__________________
MyRoundcube Project (commercial)

Offline XtremeSC

  • Newbie
  • *
  • Posts: 6
Javascript error when sending
« Reply #4 on: December 15, 2008, 11:57:55 AM »
No. There is no content filtering that would affect this connection. What is the next thing to check?

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Javascript error when sending
« Reply #5 on: December 15, 2008, 01:29:59 PM »
PM'me access data to a test account ...
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline XtremeSC

  • Newbie
  • *
  • Posts: 6
Javascript error when sending
« Reply #6 on: December 15, 2008, 02:16:20 PM »
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]

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Javascript error when sending
« Reply #7 on: December 15, 2008, 02:50:12 PM »
SERVICE CURRENTLY NOT AVAILABLE!

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

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Javascript error when sending
« Reply #8 on: December 15, 2008, 03:14:54 PM »
Check your logs ... about 21:13 GMT +1

Both, IE7 and Firefox without any problems ...
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Javascript error when sending
« Reply #9 on: December 15, 2008, 03:39:27 PM »
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
__________________
MyRoundcube Project (commercial)

Offline XtremeSC

  • Newbie
  • *
  • Posts: 6
Javascript error when sending
« Reply #10 on: December 15, 2008, 05:41:06 PM »
Quote from: rosali;15744
SERVICE 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.

Offline XtremeSC

  • Newbie
  • *
  • Posts: 6
Javascript error when sending
« Reply #11 on: December 15, 2008, 09:30:22 PM »
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.