Author Topic: IE Crash fix w/o turning off WYSIWYG Editor  (Read 99113 times)

0 Members and 1 Guest are viewing this topic.

Offline raghu_gh

Re: IE Crash fix w/o turning off WYSIWYG Editor
« Reply #70 on: 10. February 2009, 15:41:12 »
Did not know where to stick this, however, this could be a possible fix.

I would like a tester to verify this just PM if you are running Joomla 1.5 and have turned off the WYSIWYG editor so that IE will not crash.

This is a possible fix for this issue.  I was running ie7 / joomla 1.5 / & using tooltips / & sobi2 2.8.6.  This fixed it. 

The test would be to change the following file and turning the editor back on.

/libraries/joomla/html/html/behavior.php

~line 108

      $tooltipInit = '      window.addEvent(\'domready\', function(){ var JTooltips = new Tips($$(\''.$selector.'\'), '.$options.'); });';

to

      $tooltipInit = '      window.addEvent(\'load\', function(){ var JTooltips = new Tips($$(\''.$selector.'\'), '.$options.'); });';


Reason:  IE has problems with domready.  Load - is used so that all pictures are loaded first then runs the javascript routine.


Hi, I have changed the above mentioned line to the one you have given. Still I am facing this issue. Can you please suggest me what to do. I have modified behaviour.php file.

You can check with this url

http://www.adhyapak.com/gujarat-state-education.html?gujaratTask=addNew

I am greatful if you can help me to fix this issue.

Thanks in Advance
Raghavendra
Country: India India |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile


Offline raghu_gh

Re: IE Crash fix w/o turning off WYSIWYG Editor
« Reply #71 on: 10. February 2009, 16:13:12 »
Did not know where to stick this, however, this could be a possible fix.

I would like a tester to verify this just PM if you are running Joomla 1.5 and have turned off the WYSIWYG editor so that IE will not crash.

This is a possible fix for this issue.  I was running ie7 / joomla 1.5 / & using tooltips / & sobi2 2.8.6.  This fixed it. 

The test would be to change the following file and turning the editor back on.

/libraries/joomla/html/html/behavior.php

~line 108

      $tooltipInit = '      window.addEvent(\'domready\', function(){ var JTooltips = new Tips($$(\''.$selector.'\'), '.$options.'); });';

to

      $tooltipInit = '      window.addEvent(\'load\', function(){ var JTooltips = new Tips($$(\''.$selector.'\'), '.$options.'); });';


Reason:  IE has problems with domready.  Load - is used so that all pictures are loaded first then runs the javascript routine.

Hi,
I have updated those line in behaviour.php file .
Here are my server details:

----------------------
Server:     Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8i DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635     Perfect     
Platform:    Linux amigo.websitewelcome.com 2.6.    Perfect    
PHP Version:    5.2.8 (cgi-fcgi)    Perfect    
MySQL Version:    5.0.67    Perfect    
PHP Memory Limit:    64 MB    Perfect    
PHP Script Execution Time:    30 Seconds    OK    
PHP Safe Mode:    disabled    OK    
PHP Register Globals:    enabled    May cause problems    
CMS RG Emulation:    disabled    Perfect    
GD Library:    installed    OK    
iconv/mbstring Library:    installed    OK    
Charset:    utf-8    Perfect    
Database Collation:    utf8_general_ci    Perfect    
CMS:    Joomla 1.5    OK    
Default Template Check:    rhuk_milkyway    OK
File Permissions
File Name    Writable    Owner    Group    State OK?    
.../components/com_sobi2/    writeable    33749     33752     Perfect
.../components/com_sobi2/plugins    writeable    33749     33752     Perfect
.../images/com_sobi2/clients/    writeable    33749     33752    Perfect
.../images/stories/    writeable    33749    33752    Perfect
.../administrator/components/com_sobi2/includes/install    writeable    33749     33752     Perfect
.../administrator/components/com_sobi2/    writeable    33749    33752     Perfect
.../administrator/components/com_sobi2/plugins    writeable    33749     33752     Perfect
.../components/com_sobi2/templates    writeable    33749     33752     Perfect
.../media    writeable    33749     33752     Perfect
.../components/com_sobi2/includes/inc/config.ini    writeable    33749     33752     Perfect
------------------------


Yo can check my url
http://www.adhyapak.com/schools-directory/add-new.html

Still I ma facinf problem with IE6
Firefox is ok
Please help me
Thanks in advance
Raghavendra
Country: India India |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile

Do you want continued ongoing development, new features and active support?
Please write a review or just vote for SOBI on JED.

Offline lilmiss

Re: IE Crash fix w/o turning off WYSIWYG Editor
« Reply #72 on: 11. February 2009, 15:34:32 »
You're the Best!!! I just had discovered this problem this morning. SO THANK YOU!!!!!! :w00t:
Lil Miss
www.SobiInspired.com - Site for working directory sites...Inspired by Sobi2.
Also creator of: www.qcfindnow.com & www.forsmallbusinesses.com
Country: United States United States |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile Freelance Graphic Designer & Developer

Offline Belaire Technologies

  • Bronze Sponsor
  • Sobi Experte
  • *
  • Posts: 565
  • formerly - yoobuild
  • Reviews:

    What is it?

Re: IE Crash fix w/o turning off WYSIWYG Editor
« Reply #73 on: 11. February 2009, 17:56:42 »
Did not know where to stick this, however, this could be a possible fix.

I would like a tester to verify this just PM if you are running Joomla 1.5 and have turned off the WYSIWYG editor so that IE will not crash.

This is a possible fix for this issue.  I was running ie7 / joomla 1.5 / & using tooltips / & sobi2 2.8.6.  This fixed it. 

The test would be to change the following file and turning the editor back on.

/libraries/joomla/html/html/behavior.php

~line 108

      $tooltipInit = '      window.addEvent(\'domready\', function(){ var JTooltips = new Tips($$(\''.$selector.'\'), '.$options.'); });';

to

      $tooltipInit = '      window.addEvent(\'load\', function(){ var JTooltips = new Tips($$(\''.$selector.'\'), '.$options.'); });';


Reason:  IE has problems with domready.  Load - is used so that all pictures are loaded first then runs the javascript routine.

Hi,
I have updated those line in behaviour.php file .
Here are my server details:

----------------------
Server:     Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8i DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635     Perfect     
Platform:    Linux amigo.websitewelcome.com 2.6.    Perfect    
PHP Version:    5.2.8 (cgi-fcgi)    Perfect    
MySQL Version:    5.0.67    Perfect    
PHP Memory Limit:    64 MB    Perfect    
PHP Script Execution Time:    30 Seconds    OK    
PHP Safe Mode:    disabled    OK    
PHP Register Globals:    enabled    May cause problems    
CMS RG Emulation:    disabled    Perfect    
GD Library:    installed    OK    
iconv/mbstring Library:    installed    OK    
Charset:    utf-8    Perfect    
Database Collation:    utf8_general_ci    Perfect    
CMS:    Joomla 1.5    OK    
Default Template Check:    rhuk_milkyway    OK
File Permissions
File Name    Writable    Owner    Group    State OK?    
.../components/com_sobi2/    writeable    33749     33752     Perfect
.../components/com_sobi2/plugins    writeable    33749     33752     Perfect
.../images/com_sobi2/clients/    writeable    33749     33752    Perfect
.../images/stories/    writeable    33749    33752    Perfect
.../administrator/components/com_sobi2/includes/install    writeable    33749     33752     Perfect
.../administrator/components/com_sobi2/    writeable    33749    33752     Perfect
.../administrator/components/com_sobi2/plugins    writeable    33749     33752     Perfect
.../components/com_sobi2/templates    writeable    33749     33752     Perfect
.../media    writeable    33749     33752     Perfect
.../components/com_sobi2/includes/inc/config.ini    writeable    33749     33752     Perfect
------------------------


Yo can check my url
http://www.adhyapak.com/schools-directory/add-new.html

Still I ma facinf problem with IE6
Firefox is ok
Please help me
Thanks in advance
Raghavendra



Your site has other js files in it when loading the "add Entry".  You will need to go through all the files and change "domready" to "load".  The best way to do this is to use firefug for firefox.
No one answering your sobi2 questions? Try our secondary support @ belairetech.com.  Sign in an open a ticket.  Sorry no large development questions please.  For now the service is free to sobi2 members.
Country: United States United States |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile Belaire Technologies

Offline Saint666

Re: IE Crash fix w/o turning off WYSIWYG Editor
« Reply #74 on: 13. February 2009, 06:19:36 »
thanx a lot for sharing this with us!!!!! that was very very helpful and important  :w00t:
Country: Turkey Turkey |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile

Offline kimdrengen

Re: IE Crash fix w/o turning off WYSIWYG Editor
« Reply #75 on: 25. February 2009, 13:04:53 »
Nice fix :) Thanks
Country: Denmark Denmark |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile

Offline silvershadow

Re: IE Crash fix w/o turning off WYSIWYG Editor
« Reply #76 on: 26. February 2009, 10:31:40 »
Thaks for info.
Country: Ukraine Ukraine |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile

Offline zebolon

Re: IE Crash fix w/o turning off WYSIWYG Editor
« Reply #77 on: 12. March 2009, 08:43:24 »
Did not know where to stick this, however, this could be a possible fix.

I would like a tester to verify this just PM if you are running Joomla 1.5 and have turned off the WYSIWYG editor so that IE will not crash.

This is a possible fix for this issue.  I was running ie7 / joomla 1.5 / & using tooltips / & sobi2 2.8.6.  This fixed it. 

The test would be to change the following file and turning the editor back on.

/libraries/joomla/html/html/behavior.php

~line 108

      $tooltipInit = '      window.addEvent(\'domready\', function(){ var JTooltips = new Tips($$(\''.$selector.'\'), '.$options.'); });';

to

      $tooltipInit = '      window.addEvent(\'load\', function(){ var JTooltips = new Tips($$(\''.$selector.'\'), '.$options.'); });';


Reason:  IE has problems with domready.  Load - is used so that all pictures are loaded first then runs the javascript routine.

Thank you very much for posting this,
after searching for hours what the problem with IE7 error message could be,
I was very happy to find this solution it works for me perfect. ;)
I have joomla 1.5 sobi2 with geo module and joomfish 2.2











Hi, I have changed the above mentioned line to the one you have given. Still I am facing this issue. Can you please suggest me what to do. I have modified behaviour.php file.

You can check with this url

http://www.adhyapak.com/gujarat-state-education.html?gujaratTask=addNew

I am greatful if you can help me to fix this issue.

Thanks in Advance
Raghavendra

Country: Germany Germany |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile

Offline lilmiss

Re: IE Crash fix w/o turning off WYSIWYG Editor
« Reply #78 on: 12. March 2009, 16:23:04 »
This way works as I've stated above and works great but there is also alternative without having to change any files: http://www.sigsiu.net/forum/index.php/topic,14995.0.html. Just thought I would share. Always good to have options!
Lil Miss
www.SobiInspired.com - Site for working directory sites...Inspired by Sobi2.
Also creator of: www.qcfindnow.com & www.forsmallbusinesses.com
Country: United States United States |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile Freelance Graphic Designer & Developer

Offline colorado2rein

Re: IE Crash fix w/o turning off WYSIWYG Editor
« Reply #79 on: 21. March 2009, 21:54:09 »
LOVE the code fix and the extension mentioned here!  Thanks so much for all the time you just saved!
Country: United States United States |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile

Tags: