problem with internet explorer 9

  • fanti
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 7 months ago #28783 by fanti
hello :)

the site www.alpespellets.ch shows only white pages with internet explorer 9.
thanks for your help...

Please Log in to join the conversation.

More
11 years 7 months ago #28792 by ivan.milic
Try this set error reporting level to maximum in joomla global configuration temporally to see is some messages will pop out. If yes report them then return back error reporting level.

Please Log in to join the conversation.

  • fanti
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 7 months ago #28793 by fanti
Here are the messages

Notice: Undefined variable: matches in /var/www/vhosts/alpespellets.ch/httpdocs/templates/hot_leafs/js/browser.php on line 61

Notice: Undefined variable: matches in /var/www/vhosts/alpespellets.ch/httpdocs/templates/hot_leafs/js/browser.php on line 66

Please Log in to join the conversation.

More
11 years 7 months ago #28794 by ivan.milic
Open file on path from message, around line 50 you will see:
Code:
elseif(preg_match('/Netscape/i',$u_agent)) { $bname = 'Netscape'; $ub = "Netscape"; }

add code :
Code:
elseif(preg_match('/Netscape/i',$u_agent)) { $bname = 'Netscape'; $ub = "Netscape"; } else{ $bname = 'Unknown'; $ub = "Unknown"; }

Please Log in to join the conversation.

  • fanti
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 7 months ago - 11 years 7 months ago #28796 by fanti
I've done that but it doesn't change anything

Now the messages are

Notice: Undefined variable: matches in /var/www/vhosts/alpespellets.ch/httpdocs/templates/hot_leafs/js/browser.php on line 74

Notice: Undefined variable: matches in /var/www/vhosts/alpespellets.ch/httpdocs/templates/hot_leafs/js/browser.php on line 79
Last edit: 11 years 7 months ago by fanti.

Please Log in to join the conversation.

More
11 years 7 months ago #28803 by ivan.milic
Try this, instead of :
Code:
elseif(preg_match('/Netscape/i',$u_agent)) { $bname = 'Netscape'; $ub = "Netscape"; } else{ $bname = 'Unknown'; $ub = "Unknown"; }

put:
Code:
elseif(preg_match('/Netscape/i',$u_agent)) { $bname = 'Netscape'; $ub = "Netscape"; } else{ return array( 'userAgent' => 'Unknown', 'name' => 'Unknown', 'version' => '10', 'platform' => 'Unknown', 'pattern' => 'Unknown' ); }

Please Log in to join the conversation.

Time to create page: 0.217 seconds
Powered by Kunena Forum