Dusan Posted May 5, 2003 Share Posted May 5, 2003 Hi there! Great mod I must say! Works like a charm - only one problem: Any idea why I am not getting e-mails through email_page.php? DPHP_REP_EMAIL is defined in configure.php Anything else should be done tere? Must be I am tired or :? Debian/Zend/Apache 1.3.26/PHP 4.1.2/fewCansOfBeer~ Thanks for any tip! Quote Link to comment Share on other sites More sharing options...
xuechao Posted May 13, 2003 Share Posted May 13, 2003 Hi, I have the same problem as Dusan, does anyone knows how to resolve this problem with email? Thanks Quote Link to comment Share on other sites More sharing options...
ldavies83 Posted July 17, 2003 Share Posted July 17, 2003 I'm also having the same problem, I've been trying some debuggin, and this is what I've come up with so far: From email_page.php <?php include("../main/configure.php"); echo "$main_email, $form_body, $form_email"; // I added this!!! mail("[email protected]" , "Offline Message from dPHP Chat", $form_body, "From: "$form_name" <$form_email>"); ?> I noticed $main_email is'nt picking up the "email to" address from configure.php. As you can see above I tried Manually entering a email address but that's not sending either, just looking into the PHP functions howto as PHP is still a new one on me, but slowly getting to grips with it!!! What do you think David??? [/b] Quote Contribs Written: Nochex APC Payment Module, Cheque Payment Module Contribs Updated: Information Pages Unlimited, Latest News V1 You've gotta be Quick on the Draw in this game! Link to comment Share on other sites More sharing options...
ldavies83 Posted July 17, 2003 Share Posted July 17, 2003 By the way, I entered the echo statement to find out what the variables were when it got to this page. Quote Contribs Written: Nochex APC Payment Module, Cheque Payment Module Contribs Updated: Information Pages Unlimited, Latest News V1 You've gotta be Quick on the Draw in this game! Link to comment Share on other sites More sharing options...
ldavies83 Posted July 17, 2003 Share Posted July 17, 2003 Fixed it: Change email_page.php from mail($main_email, "Offline Message from dPHP Chat", $form_body, "From: "$form_name" <$form_email>"); to mail( DPHP_REP_EMAIL , "Offline Message from dPHP Chat", $form_body, "From: "$form_name" <$form_email>"); That fixed it for me!!! Quote Contribs Written: Nochex APC Payment Module, Cheque Payment Module Contribs Updated: Information Pages Unlimited, Latest News V1 You've gotta be Quick on the Draw in this game! Link to comment Share on other sites More sharing options...
ldavies83 Posted July 17, 2003 Share Posted July 17, 2003 I don't know whether anyone knew this already, but I recall people saying earlier that the picture would show up as a broken link and have DPHP_ICQ in the uin section of the link. This bug can be fixed by replacing a line in includes/boxes/chat.php from: $filler = '<a href="" onclick="window.open(''.$chat_location.'/login/index.php','chat1002350','width=450,height=320');return false;" target="chat8572536"><img width="125" height="104" src="'.$chat_location.'/main/status.php?uin='.DPHP_ICQ.'" border="0"></a>'; to $filler = '<a href="" onclick="window.open(''.$chat_location.'/login/index.php','chat1002350','width=450,height=320');return false;" target="chat8572536"><img width="125" height="104" src="'.$chat_location.'/main/status.php?uin=" .DPHP_ICQ. " border="0"></a>'; I have highlighted the change Hope this helps Quote Contribs Written: Nochex APC Payment Module, Cheque Payment Module Contribs Updated: Information Pages Unlimited, Latest News V1 You've gotta be Quick on the Draw in this game! Link to comment Share on other sites More sharing options...
john peter Posted October 27, 2003 Share Posted October 27, 2003 Hi First I would like to say many thanks for shareing the chat2.0 with us, u will not be forgotten for that :) But, when i use it, it takes a very long time to update. S? when a costumer sends a massage, it can take up to several minuts before I reseve the massage in the admin chat, and the same when i send an answer. Is that normal? and the admin thing where i can se who is waiting for a sales rep, dos not update automatic. Is that normal to? again thx alot :D Quote Link to comment Share on other sites More sharing options...
Guest Posted November 19, 2003 Share Posted November 19, 2003 i get the box on my site..but nothing in it ?? Quote Link to comment Share on other sites More sharing options...
Guest Posted July 30, 2004 Share Posted July 30, 2004 can some one help me with a problem i am having with this contribution please. I have it installed and the db set up. When i loginto the admin area for it it says i am online and all is well. However on the site the box for the live help icon is there but the picture is not it has the "X" for an image that is not loading and when I click the image place holder i get a 404 error. Any ideas? Help would be greatly appriciated. Perhaps I have the files in the wron place? every thing in the chat 2.0 folder stays there correct? The only files you modify is the column_right to add the box and the other _catalog file you just copy and paste into catalog/includes? This appears to be a great contribution if I can just get it to work! Thanks Quote Link to comment Share on other sites More sharing options...
Azim Posted October 27, 2007 Share Posted October 27, 2007 Hello, Can n e 1 help me here, I have an OsComerce Template installed and i want the chat box to be in Column_left.php I tried everything but it dosent work, Is there anything that i need to edit manually. Thanks Quote Link to comment Share on other sites More sharing options...
Stroker396 Posted January 25, 2009 Share Posted January 25, 2009 Looks like this contribution has been idle for a long time. Is anyone still unsing it? I cannot seem to get the configuration set up properly to get it working I keep getting Warning: main(../chat2.0/main/configure.php): failed to open stream: No such file or directory in /home/content/s/t/r/stroker398/html/catalog/includes/boxes/chat.php on line 20 Warning: main(../chat2.0/main/configure.php): failed to open stream: No such file or directory in /home/content/s/t/r/stroker398/html/catalog/includes/boxes/chat.php on line 20 Fatal error: main(): Failed opening required '../chat2.0/main/configure.php' (include_path='.:/usr/local/lib/php') in /home/content/s/t/r/stroker398/html/catalog/includes/boxes/chat.php on line 20 Quote The Site can be viewed at www.performanceautopartsonline.com The site is live (despite these minor glitches) please respect that and do not sign up etc... maybe a contribution one day when I get this site the way I want it. I don't make spelling mistakes! I have dyslecsic fingers. 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.