Overdog Posted March 2, 2003 Share Posted March 2, 2003 Notice: Undefined variable: action in xxxchat2.0adminindex.php on line 66 any Ideas? thanks Quote Link to comment Share on other sites More sharing options...
stankovski Posted March 3, 2003 Author Share Posted March 3, 2003 i installed the newest version of live support posted on the contribution dated 28/2/3003 it worked the first time, however the below problem keeps coming up: "Live Support is currently open Currently only 1 window can be open" how can i fix that are any file missing from latest MOD? Hey, where do you get that message? On which page? Quote Denis Stankovski ---------------------- http://www.harmoniouslifestyles.com Link to comment Share on other sites More sharing options...
stankovski Posted March 3, 2003 Author Share Posted March 3, 2003 Notice: Undefined variable: action in xxxchat2.0adminindex.php on line 66 any Ideas? thanks This one is used when you click on the "Preferences" button in Admin screen, index.php?action=pref is requested. Quote Denis Stankovski ---------------------- http://www.harmoniouslifestyles.com Link to comment Share on other sites More sharing options...
Overdog Posted March 3, 2003 Share Posted March 3, 2003 Thanks for the Tip what do I need to do to fix it ? thanks :shock: Quote Link to comment Share on other sites More sharing options...
stankovski Posted March 3, 2003 Author Share Posted March 3, 2003 Thanks for the Tip what do I need to do to fix it ? thanks :shock: If you get an error saying that the variable is not defined than on line 38 of admin/index.php right after require(); add the following lines: if (!isset($action)) { $action = ""; } Quote Denis Stankovski ---------------------- http://www.harmoniouslifestyles.com Link to comment Share on other sites More sharing options...
gdfwilliams Posted March 3, 2003 Share Posted March 3, 2003 som every useful mods in this thread: http://www.oscommerce.com/forums/viewtopic.php?t=36105 a few quick fixes and new files to handle sessions, window closing, etc. All mods on admin side of things... Quote Link to comment Share on other sites More sharing options...
Guest Posted March 3, 2003 Share Posted March 3, 2003 gdf: I think those mods are for a different contribution denis - I am still having a problem not being able to see the text in either the customer chat window or the admin chat window - I am testing this on an OS X box using apache 4.x - I will move a copy to my linux box and see if the problem persists - I would love to get your contribution working on my site (help cut down phone calls I hope......) Quote Link to comment Share on other sites More sharing options...
stankovski Posted March 4, 2003 Author Share Posted March 4, 2003 denis - I am still having a problem not being able to see the text in either the customer chat window or the admin chat window - I am testing this on an OS X box using apache 4.x Hi, I've noticed that that is a problem with Mac IE. Unfortunately I do not have a Mac at work and thus there is no way for me to debug it. I'll try to fix the problem asap, but right now I'm a little bit busy with work and school. (By the way does anybody working in US need a web developer/designer - I'm looking for a job right now). Denis Quote Denis Stankovski ---------------------- http://www.harmoniouslifestyles.com Link to comment Share on other sites More sharing options...
Guest Posted March 4, 2003 Share Posted March 4, 2003 thank you for the support Denis it appears the problem is related to not drawing the text box correctly or something related to the text box - as previously noted, the text sometimes flashes in the text area, but not long enough to be read - i also noticed that if i type enough text to try and force a scroll bar to appear, the scroll bar is almost outside the bounds of the window, and that may also be part of the problem.... TIA Quote Link to comment Share on other sites More sharing options...
Overdog Posted March 6, 2003 Share Posted March 6, 2003 Notice: Undefined variable: action in x:xxxcatalogchat2.0index.php on line 11 Ok your first fix worked for the admin page no more errors !! thanks but know I get this also I have a broken image on the catalog page thanks in advance ! Quote Link to comment Share on other sites More sharing options...
Overdog Posted March 6, 2003 Share Posted March 6, 2003 I get a run time error line 8 errror:window.parent.frames(0).document.all.output.innerHTML = ""; this is the line from with in admin after I click on client popup open's then error above Quote Link to comment Share on other sites More sharing options...
a.niedermann Posted March 7, 2003 Share Posted March 7, 2003 hello first thank you for this excellent contribution.... problem: when the icq-whitepages are down, that means icq can't get my status, the live support contribution don't load the not available picture -> it just loads no image -> well it loads a picture but you know, the x picture when no picture can be loaded..... question: is there any solution which solves this problem -> when icq can't get the status -> after a timeout -> the not available picture should be displayed thanks very much andreas Quote Link to comment Share on other sites More sharing options...
stankovski Posted March 7, 2003 Author Share Posted March 7, 2003 hello first thank you for this excellent contribution.... problem: when the icq-whitepages are down, that means icq can't get my status, the live support contribution don't load the not available picture -> it just loads no image -> well it loads a picture but you know, the x picture when no picture can be loaded..... question: is there any solution which solves this problem -> when icq can't get the status -> after a timeout -> the not available picture should be displayed thanks very much andreas I wish I could help, but I need somebody to shut down ICQ server and let me know (any hackers?) :wink: Anyway, I'll see what I can do... Quote Denis Stankovski ---------------------- http://www.harmoniouslifestyles.com Link to comment Share on other sites More sharing options...
sabotage79 Posted March 8, 2003 Share Posted March 8, 2003 Maybe im just dumb... I've been working with OSC since August, and have a fully modified site. For whatever reason, I can not get the image to swich to 'online'. I've worked on it for hours, local and on my live site. I don't understand! My ICQ is ONLINE, but not matter what I do, 'Sales Rep is Offline'. :( Do I need to be logged into the chat admin or something?? It says 'Online' in admin... Please help!! CVS 010303 Fully modified Quote Link to comment Share on other sites More sharing options...
sabotage79 Posted March 8, 2003 Share Posted March 8, 2003 Btw, when I rightclick on the image, it says: http://www.private.com/chat2.0/main/status...hp?uin=DPHP_ICQ Shouldn't it says my ICQ number, not the variable? Quote Link to comment Share on other sites More sharing options...
Guest Posted March 8, 2003 Share Posted March 8, 2003 any mac users out there have this working? i have everything working except the text does not appear in either the user chat or admin chat windows..... :cry: Quote Link to comment Share on other sites More sharing options...
Guest Posted March 8, 2003 Share Posted March 8, 2003 yes, it should be the icq number - i went to look at your site to see if i could spot anything, and boy did i ever, but it had nothing to do with your problem........ :lol: Quote Link to comment Share on other sites More sharing options...
sabotage79 Posted March 8, 2003 Share Posted March 8, 2003 I am able to bypass right into http://www.private.com/chat20/login/login_page.php And it works fine. I get the message, and am able to use Admin to launch a chat. Its just that the image and link is always 'Offline'. Sorry for the many replies, and thank you in advance. Ryan Quote Link to comment Share on other sites More sharing options...
sabotage79 Posted March 8, 2003 Share Posted March 8, 2003 Oops nobody go to private.com 'private'. :shock: :shock: Any ideas why this could be? I followed the directions. :roll: Quote Link to comment Share on other sites More sharing options...
Guest Posted March 8, 2003 Share Posted March 8, 2003 are you sure the image just isn't being cached and not updated? have you tried to manually reload the image? Quote Link to comment Share on other sites More sharing options...
sabotage79 Posted March 8, 2003 Share Posted March 8, 2003 Yes its not cache. I've tried on different computers. Perhaps its my paths? Here is my root / Here is my catalog /catalog Here is my chat2.0 /catalog/chat2.0 Here is my chat.php $chat_location = 'chat2.0'; //Location of the Chat folder Quote Link to comment Share on other sites More sharing options...
Guest Posted March 8, 2003 Share Posted March 8, 2003 well, after spending some time with sabotage79 trying to track down what is/is not going on, i tried to call directly to http://magik.dk/services/icq/xml/?uin=myicqnumber and received the following: ? <?xml version="1.0" encoding="ISO-8859-1" ?> - <icqstatus> ? <status>Unknown</status> ? <lastupdate>08-03-2003 09:09:28</lastupdate> ? <source>cache</source> ? </icqstatus> Quote Link to comment Share on other sites More sharing options...
Guest Posted March 8, 2003 Share Posted March 8, 2003 this seems like it might be a better function to test from - i just can't figure out how to parse the return string correctly.... any help would be appreciated: http://magik.dk/services/icq/javascript/?uin=78546266 Quote Link to comment Share on other sites More sharing options...
sabotage79 Posted March 8, 2003 Share Posted March 8, 2003 I think this is the correct url, which works fine for me directly, but still displays the OFFLINE image all the time. The link is also to the OFFLINE 'leave a msg' all the time. http://magik.dk/services/icq/xml/?uin=248409511 The link show ONLINE when im online, so I don't see whats the problem. Ryan Quote Link to comment Share on other sites More sharing options...
sabotage79 Posted March 8, 2003 Share Posted March 8, 2003 $news = new newsboy(); $news->xml_file = "http://magik.dk/services/icq/xml/?uin=".DPHP_ICQ; $news->parse(); $_result = trim($news->html); if ($_result == 'Online') { header('Location: ../images/customer_support_online.jpg'); } else { header('Location: ../images/customer_support_offline.jpg'); } $news->destroy(); http://magik.dk/services/icq/xml/?uin=248409511 Seems as though its not parsing the XML page - The page results clearly state 'ONLINE'. Ryan Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.