Author Topic: problems after update from 0.3.1 to 0.4 with IE  (Read 4973 times)

Offline zehnmarkineuro

  • Jr. Member
  • **
  • Posts: 15
problems after update from 0.3.1 to 0.4 with IE
« on: September 24, 2010, 10:07:50 AM »
Hi,

I've upgrade from 0.3.1 to 0.4 - step by step as described in the README file.

If i login with firefox: everything works fine.

But if i login with IE8, Safari (windows) or Opera (Windows) - i don't see any messages.

IE gives me the following errors (Safari / Opera don't show any errors - but display also no messages) - it is a german system - so i translated the important things:

Quote
Benutzer-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; OfficeLiveConnector.1.5; OfficeLivePatch.1.3; .NET4.0C)
Zeitstempel: Fri, 24 Sep 2010 09:43:29 UTC


Meldung: Bezeichner, Zeichenfolge oder Zahl erwartet
Zeile: 34
Zeichen: 213
Code: 0
URI: https://mydomain.com/?_task=login


Meldung: 'rcmail' is undefined
Zeile: 146
Zeichen: 3
Code: 0
URI: https://mydomain.com/?_task=login


Meldung: 'rcmail' is undefined
Zeile: 345
Zeichen: 31
Code: 0
URI: https://mydomain.com/?_task=login


Meldung: 'rcmail' is undefined
Zeile: 434
Zeichen: 3
Code: 0
URI: https://mydomain.com/skins/default/f...s?s=1285320274


Nothing in the error-log
My System: MySQL5, PHP5, APACHE

Is there anyone there - who can help me out with this problem please.

I have also posted in the german forum: http://www.roundcubeforum.net/43-language-specific-support/44-deutsch/7302-nach-update-von-0-3-1-auf-0-4-probleme-mit-ie.html

Thanks in advance!

Offline Julius Caesar

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 498
    • http://www.de-keizer.net/
problems after update from 0.3.1 to 0.4 with IE
« Reply #1 on: September 24, 2010, 10:24:40 AM »
Have you (re)defined your connection to the database in ./config/db.inc.php ?
Julius Caesar

You can download the Groupvice4 theme here.
Sie können Groupvice4 hier he

Offline zehnmarkineuro

  • Jr. Member
  • **
  • Posts: 15
problems after update from 0.3.1 to 0.4 with IE
« Reply #2 on: September 24, 2010, 11:13:54 AM »
Hi Julius,

first of all: thank you for your reply :)

i have checked my db.inc.php and have seen, that in the new one are more rows. So i have changed it to my needs.

But the problem still exists.

Then i have seen, that also the main.inc.php has changed. So i will check also this file and then i will come back to you - if it now works or not (i hope it will) :)

best regards
mark

Offline zehnmarkineuro

  • Jr. Member
  • **
  • Posts: 15
problems after update from 0.3.1 to 0.4 with IE
« Reply #3 on: September 24, 2010, 11:46:42 AM »
Quote from: zehnmarkineuro;30266

Then i have seen, that also the main.inc.php has changed. So i will check also this file and then i will come back to you


Unfortunately not - same problem - both checked and updated: main.inc.php and db.inc.php ..... :confused:

Does you have another idea? Don't want to downgrade to 0.3.1 again - because of security .....

thanks in advance Julius for your help!

Best regards
Mark

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
problems after update from 0.3.1 to 0.4 with IE
« Reply #4 on: September 24, 2010, 12:07:28 PM »
Are you using any plugins? If you are they need to be updated.

Offline zehnmarkineuro

  • Jr. Member
  • **
  • Posts: 15
problems after update from 0.3.1 to 0.4 with IE
« Reply #5 on: September 24, 2010, 02:47:04 PM »
Hi skaero!

thank you for you answer. I don't use any plugins ...

in main.inc.php: $rcmail_config['plugins'] = array();

it is really strange .... :o

I have also checked via the Java-error-Console of Firefox the website. But FF doesn't display any error there. Only in IE is a error shown .... i have also updated via SVN all JS scripts - nothing helps ....

best regards
Mark



** UPDATE **:
- I have deleted now EVERYTHING (except for MySQL-DB)
- and uploaded all the files from the ZIP-File
- edited the main.inc.php and db.inc.php
- everything set to standard (no plugins - no special things)
- deleted CACHE of DB and of IE
===> STILL the same problem: 'rcmail' is undefined .....
« Last Edit: September 24, 2010, 03:48:28 PM by zehnmarkineuro »

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
problems after update from 0.3.1 to 0.4 with IE
« Reply #6 on: September 25, 2010, 01:05:16 AM »
It looks likes its a problem with the functions.js file, are you using a custom or modified skin? Can't really help more with out seeing the problem myself.

Offline zehnmarkineuro

  • Jr. Member
  • **
  • Posts: 15
problems after update from 0.3.1 to 0.4 with IE
« Reply #7 on: September 25, 2010, 04:04:48 AM »
Hi Skaero,

no modified skins at this time - normally yes - but now not.
I have also seen now - normally in main.inc.php this :
Code: [Select]
$rcmail_config['default_imap_folders'] = array('INBOX', 'Drafts', 'Sent', 'Junk'...

If a user now login (with complete new details) - then NO folders are created.

I will send you a private message with login details - so you can see the error.

thanks in advance Skaero for your help!!

Best regards
Mark

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
problems after update from 0.3.1 to 0.4 with IE
« Reply #8 on: September 25, 2010, 05:03:44 AM »
I have looked at the problem, one of RoundCube's env variables "search_mods" was returning a variable named null witch Firefox was fine with but just caused other browsers to crash. I fixed the problem by creating a couple of folders and assigned them to the draft and sent folders. Even after I deleted those folders it works fine. Check the test account now and see if it works for you. So a couple of quick questions:
1. Was the test user you sent me created before or after you upgraded?
2. Does this happen to users that where created before the upgrade that have "Draft" and "Sent" folders?
3. If you create a new user now and login to RoundCube does the same problem occur?
4. When you upgraded to the SVN r3987 did you update all files or just the javascript files?

Offline zehnmarkineuro

  • Jr. Member
  • **
  • Posts: 15
problems after update from 0.3.1 to 0.4 with IE
« Reply #9 on: September 25, 2010, 05:16:27 AM »
Hi Skaero!

thank you VERY MUCH for your help

regarding your questions:

1. Was the test user you sent me created before or after you upgraded?
= AFTER UPGRADE

2. Does this happen to users that where created before the upgrade that have "Draft" and "Sent" folders?
= NO - THEY SEE ALL THEIR FOLDERS ALSO AFTER UPGRADE - BUT CAN'T SEE ANY MESSAGES

3. If you create a new user now and login to RoundCube does the same problem occur?
= NO - NOW NEW FOLDERS ARE CREATED, BUT STILL HAVE THE 4 JAVASCRIPT ERRORS (rcmail is undefined)

4. When you upgraded to the SVN r3987 did you update all files or just the javascript files?
= I HAVE DELETED ALL OLD FILES - AND UPLOAD ALL FILES WHICH ARE IN THE ZIP SVN R3987 - (EXCEPT THE PLUGIN-FOLDER - BUT I DON'T USE ANY PLUGINS).

best regards
Mark

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
problems after update from 0.3.1 to 0.4 with IE
« Reply #10 on: September 25, 2010, 05:52:36 AM »
Ok try changing $rcmail_config['search_mods'] in /config/main.inc.php to array('*' => array('subject'=>1, 'from'=>1), 'Sent' => array('subject'=>1, 'to'=>1));
Code: [Select]

$rcmail_config['search_mods'] = array('*' => array('subject'=>1, 'from'=>1), 'Sent' => array('subject'=>1, 'to'=>1));

Offline zehnmarkineuro

  • Jr. Member
  • **
  • Posts: 15
problems after update from 0.3.1 to 0.4 with IE
« Reply #11 on: September 25, 2010, 07:13:43 AM »
Hi Skaero!

:D:D:D

Y E A H !!!!!!! This fixed the problem!!!!!
Now everything is working perfect - also with my small modified skin :)

THANK YOU VERY VERY MUCH for this PERFECT Help/Support!

Best regards and have a nice weekend!

Mark