Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
please wait chat is loading... message displays in chat page
I am using php free chat 1.7 version
Comments
Comment #1
vpsaravanan CreditAttribution: vpsaravanan commentedComment #2
rhimes CreditAttribution: rhimes commentedditto:
cannot get ver 1.6mod/1.7script to work (hung on "Please wait...") on D6.35:
I disabled/uninstalled older vers (mod 1.1/1.2script) - cleared site cache, cleared browser cache, closed browser and powered down! - replaced mod/script files, re-enabled, re-saved content type ("always" show, "allow" unchecked, blank title, blank channel) - re-set (new, why?) permissions - re-saved settings - created NEW (additional) "ChatRoom" (title) page of my (previously re-saved) "Page - Chat" content type - AND - nothing.............
like I said to start, hung @ "Please wait"...
looked at DB - your new "phpfreechat" table has my new chat node (nid "38", and NOT my previous ver node) and has it as "enabled" BUT (I expected to see differently) doesn't have anything in either the title or channel - see below:
**************
**************
as I didn't allow the node to set title or channel, and left those blank on the content type, thought that the node would get (in table entry?) the module's defaults - should it have?
thanks!
Comment #3
rhimes CreditAttribution: rhimes commentedchanging title in hopes someone will read (there're MANY "please wait" / "not loading" issues that they think are all taken care of)
Comment #4
permutations CreditAttribution: permutations commentedHi. I saw the posts. I've just been busy.
You need to 100% completely uninstall the old version before installing the new one, as described in the INSTALL.txt file:
(1) Delete any existing nodes with chatboxes.
(2) Delete any new chatbox content types.
(3) Go to the module installation page and deactivate the phpFreeChat integration module (clear the checkbox).
(4) Go to the module deinstall page and uninstall the phpFreeChat integration module (select it and uninstall it).
(5) Delete all phpFreeChat files from wherever you installed it (probably sites/all/modules/ - delete the phpfreechat directory here).
(6) Find phpFreeChat cache directory, and delete that, too. It will exist in one and possible two places:
(a) sites/default/files/ - delete the phpfreechat directory here.
(b) Look in the root of your site for any directories that have "phpFreeChat" in the name, and delete them (these are sometimes created in the Drupal 6 version).
(7) If your Drupal site using caching, clear the cache!
(8) Clear your browsers cache, then completely shut it down (close ALL browser pages and exit).
(9) You can clear browser cookies, too, if you want. It's not usually necessary, but I had to do this once.
NOW - after doing all that - you can start again and reinstall fresh:
(1) Copy the module files to sites/all/modules/phpfreechat.
(2) Copy phpFreeChat itself to a directory inside the module directory also called phpfreechat.
(3) Go to the modules page in Drupal and select the phpFreeChat checkbox to activate it.
(4) Configure it as you wish - perhaps create a chatbox node type and increase the timeout (I always do both these things).
(5) Create your chatbox nodes.
If you COMPLETELY uninstall it and then reinstall it clean, it will not hang. I have a Drupal 6 test installation running here:
http://www.permutations.com/drup/chatbox
And a Drupal 7 test installation running here:
http://drup7.permutations.com/chatbox
I just logged into both chatboxes, and they are working fine. Try it!
Comment #5
permutations CreditAttribution: permutations commentedrhimes - I set the Default Title and Default Channels on the phpFreeChat configuration page. Other ways of setting it should work as well. I don't think this is your problem because a name issue would not cause a hang. I think your problem is that you didn't fully clear out the old installation. I know it's a pain to go through all the steps I listed, but it has to be completely gone so old conflicting elements don't cause a hang.
Comment #6
permutations CreditAttribution: permutations commentedWhen the previous version is completely uninstalled, it doesn't hang.
Comment #7
Tess BakkerInstead of deleting data, try to debug your site with your browser development tools. Check if every file is loaded correctly, I think a small path adjustment in your setting could be the trick. If that doesn't work you can try reinstalling de module.
Comment #8
rhimes CreditAttribution: rhimes commentedI not only followed ALL the steps you outlined in #4 - I additionally emptied ALL DB "cache" tables, as well as the "sessions" table, and after clearing browser cache, I not only exited browser, I powered off my Xampp server (on localhost) and powered down my computer. PFC was COMPLETELY, ABSOLUTELY un-installed.
And AGAIN (for fourth time), after re-installing.... "Please wait..." forever (did increase timeout also as suggested)
SO.... I'm wondering if my server/database config is the problem.
I do have a live, production site - on mod1.1/script1.2, D6.17 - working on Apache/2.2.16, MySQL 5.1.73, PHP 5.2.14, with MyISAM tables and PHP memory limit 160M - and all runs well.
The install I'm trying to get running is mod1.6/script1.7, D6.35 - on Apache/2.2.21, MySQL 5.5.16, PHP 5.3.8, PHP memory limit 256M and InnoDB tables. - on localhost test Xampp stack server
Do you see any problems here?
Comment #9
rhimes CreditAttribution: rhimes commentedreset active
Comment #10
permutations CreditAttribution: permutations commentedIt's very difficult for me to diagnose a problem I cannot reproduce.
You list two platforms. Apparently it's the first one you're having problems with. I see a lot of old software, and any one of these could be causing your problem:
- Drupal 6.17 is old - the latest version of Drupal 6 is 6.35.
- There were some big changes between PHP 5.2 and PHP 5.3. My servers are using PHP 5.3 by default.
- MySQL 5.1 is quite old. I'm running MySQL 5.6.
- Apache 2.2 is old. I'm running 2.4.
- Your PHP memory limit is 160MB. That might be low - mine is 195MB.
I'd suggest you upgrade your platform and try again.
Comment #11
rhimes CreditAttribution: rhimes commented@ permutations - no, it's the other way around, the OLDER configuration (D6.17 etc.) is the live production install that runs without problems ("and all runs well") -
the NEWER (D6.35, PHP 5.3.8, 256M etc.) on my local (Xampp stack) developement install is the one that I can't get to load the chatbox.
I think I'll give up & try going back to mod 1.1 & 1.2 script, because I can't figure out what's wrong here.
Comment #12
vpsaravanan CreditAttribution: vpsaravanan commentedFor me, please wait chat is loading... message has removed by doing these steps in development instance
In phpfreechat/handler.php
Add ini_set('display_errors', 0); in the top of handler.php file
After this chat box will dispaly
Comment #13
vpsaravanan CreditAttribution: vpsaravanan commentedComment #14
vpsaravanan CreditAttribution: vpsaravanan commentedComment #15
rhimes CreditAttribution: rhimes commented@ vpsaravanan -
I tried adding "ini_set('display_errors', 0);" (without quotes) both before and after "define('PHPFREECHAT_DRUPAL_BOOTSTRAP', 'includes/bootstrap.inc');" in handler.php without any change in results - still gets "Chat loading..."
did you place the line "ini_set..." somewhere else specifically?
thx