Help Center Live Community
July 22, 2014, 08:29:17 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Internet Explorer 7 Error  (Read 4969 times)
akatche
Not too much to say...
*
Offline Offline

Posts: 1


« on: June 02, 2008, 04:55:34 PM »

Hi, I have a problem with HCL (i?m using 2. 1. 5).  When a client use it in Firefox or IE 6 works fine.  But when it?s used with IE 7 the chat box throws this error lines, and cannot send or receive messages.

Notice: Undefined index: hcl_20 in C:\xampp\htdocs\hcl\class\chat. php on line 60

Notice: Undefined index: hcl_20 in C:\xampp\htdocs\hcl\class\chat. php on line 60

Notice: Undefined index: hcl_20 in C:\xampp\htdocs\hcl\class\functions. php on line 106

Notice: Undefined index: hcl_20 in C:\xampp\htdocs\hcl\class\functions. php on line 110

Notice: Undefined index: hcl_20 in C:\xampp\htdocs\hcl\class\functions. php on line 111

Notice: Undefined index: hcl_20 in C:\xampp\htdocs\hcl\class\functions. php on line 112


There is a way to resolve this?

Thanks
Alejandro
Logged
ndelrio
Not too much to say...
*
Offline Offline

Posts: 1


« Reply #1 on: June 24, 2008, 02:01:02 PM »

I had the same problem, and after a few days investiganting this, i could solve the problem.

I?ve changed two lines in class/include. php

at line 86:

setcookie(session_name(), session_id(), time() + 3600, ((strpos($_SERVER['HTTP_USER_AGENT'], "MSI
E 6")!== false)? "\\" : "/"))

i change this for:

if (strpos($_SERVER['HTTP_USER_AGENT'], "MSIE 7")!== false) {
                    setcookie(session_name(), session_id(), time() + 3600, ((strpos($_SERVER['HTTP_USER_AGENT'], "MSIE 7")!==
 false)? "\\" : "/"));
                }else{
                    setcookie(session_name(), session_id(), time() + 3600, ((strpos($_SERVER['HTTP_USER_AGENT'], "MSIE 6")!==
 false)? "\\" : "/"));
                }




this solve my problem.

bye!
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.28 seconds with 19 queries.

Google visited last this page July 20, 2014, 01:06:49 PM