|
Title: Internet Explorer 7 Error Post by: akatche 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 Title: Re: Internet Explorer 7 Error Post by: ndelrio 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! |