Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Live Support v 1.2 ! POPUP PROBLEM !!


Recommended Posts

Hi, this is a very good contribution but i have a problem !


when i log into my admin then click "Start Live Support"

it opens the window for file: admin/ls_callwaiting.php


All working fine !


But with every 5 secounds I have another window POPING UP from /admin/ls_callwaiting.php



This is very annoying this is a great contribution but i might not be able to use it because i cannot use my computer for anything else ! Since every 5 seconds this window popups in front of everything!


Is this popup really necessary ? How can i block it so i dont get it poping up every 5 seconds?


Very annoying little bug for me !

The contribution works fine ! ALL GOOD except this window that keeps poping up calling LS_CALLWAITING.PHP every 5 seconds, and this cant be accepted, only for those that run a computer only for this support chat feature!


Thanks allot hope someone has a solution for me!

Edited by Tudolegal
Link to comment
Share on other sites

  • 7 months later...
  • 1 month later...
I'm having the same problem! I have no idea how to fix it. Please someone help!


I just installed this contrib over the weekend and I'm having the same problem. It actually worked just fine right after the install but today, when I had a friend outside of my own office try it, the pop ups started as soon as we ended the session.


Anyone have any idea on this? Or any suggestion for a different live support contrib that doesn't do this?




Link to comment
Share on other sites

Hi All!

I have been using this contribution for a month without any problems.

Today I got the same problem as the rest of you here.


If I understand things right this is the code that triggers the window to open (in ls_messages.php)

$status_query = tep_db_query("select status from " . TABLE_LS_TECHS . " a where tech_id ='1' ");
while ($status = tep_db_fetch_array($status_query)) {
if($status['status'] == 'yes') {
	echo "<p align=\"center\"><b style=\"font-size:16pt;\">Waiting for a call!</b></p>\n";
	$i = 0;
	$conversation_query = tep_db_query("select guest, session_id from " . TABLE_LS_CONVERSATIONS . " a where tech ='Support' ");
	while ($conversation =tep_db_fetch_array($conversation_query)) {
	if($i > 0) { 
		echo "<script>NewWindow('ls_newcall.php','conversation','280','320','no')</script>\n";
if($status['status'] == 'busy') {
	echo "<p align=\"center\"><b style=\"font-size:16pt;\">Busy!</b></p>\n";

This is the Javascript it calls:

<script language="javascript">
var limit="0:5"
if (document.images){
	var parselimit=limit.split(":")
function beginrefresh(){
	if (!document.images) 
	if (parselimit==1) 
		window.location.reload() && window.scroll(0,20000)
	if (curmin!=0)
		curtime=curmin+" minutes and "+cursec+" seconds left until page refresh!"
		curtime=cursec+" seconds left until page refresh!"

var win = null;
function NewWindow(mypage,myname,w,h,scroll){
	LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
	TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
	settings =
	win = window.open(mypage,myname,settings)

Is the problem in the database?

Why does the problem appear?



Link to comment
Share on other sites

Hi All!


OK, problem is solved.

I had missed a call and the database was not cleaned up.

I had to use phpMyAdmin to go into the table "ls_conversations" and delete a couple of entries there...

Now everything works fine...



Link to comment
Share on other sites

  • 6 months later...
Hi All!


OK, problem is solved.

I had missed a call and the database was not cleaned up.

I had to use phpMyAdmin to go into the table "ls_conversations" and delete a couple of entries there...

Now everything works fine...




Thanks Micke, thats solves the popup problem and it runs ok.. but Im having this problem.. wonder if anyone has a hint. :


The script runs fine on the index and some other pages but will not work on the products_info page. If you click to view a product, then on the column left click on the "live support" the new window opens but to the index, not to the live_support page. But if you are on index, reviews or any page that is not a product page. then its like it loses the base url.


anyone have this problem or sees whats going on..





this problem also hapens if you switch languages if you run a bi-lingual site.

Edited by CD Monster

Music is body splash for the soul.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...