works great but the block is not refreshed.
Block cache is not activated and the additional software (js-module/PHP APC extension) is not installed.
Is it mandatory?
Any help would be welcome.

Comments

doitDave’s picture

Version: 7.x-1.2 » 7.x-1.x-dev
Priority: Major » Normal
Status: Active » Postponed (maintainer needs more info)

First of all, please check the latest dev version, as of #2032041: Double-check initial behaviour after installation this should be no more issue.

Please mark as fixed if that does the trick, otherwise we need to get into details.

APC is not mandatory, but really recommended. Otherwise the block will try to use a disk cache which is much slower and might get you into performance issues once you have a certain traffic.

hth,
dave

Wolfgang62’s picture

Just installed the newest dev, no difference.
If you need further Infos, let me know.

Wolfgang62’s picture

I know you were at my site and said it´s allright but it is just refreshing if I write something or I reload the site.
But it is not refreshing if anyone else is writing anything.
Is this normal behaviour?

Edit: I tried to install the JS callback handler and afterwards the chat is not running at all!

doitDave’s picture

OK. So it looks like some configuration issue on your server, as I do always test the module in a standard LAMP environment with no additional contrib modules. It is also tested each with and without APC, with and without JS callback.

Next steps:

  1. Remove JS callback for the moment. It is obviously not related to your problem. Get back to the status from which you reported the problem (remember to undo all .htaccess changes you eventually made. Important!).
  2. Then, please check the site status report on admin/reports/status and post the status chatblock reports in there.
  3. If the status is ok (or just yellow due to missing JS callback and APC), please check whether the directory cache exists in the chatblock module folder (e.g. sites/all/modules/chatblock -> /cache) on your server and report the files residing in there. If the cache folder does not exist, please report the folder permissions for the module folder.
  4. If the cache folder does exist, please - there is no way around this! - first of all make sure you are using the latest Drupal core without any manual patches and then - EITHER - set up a test site in the same environment and install nothing but Drupal core and chatblock - OR - disable all optional modules except chatblock (AND CONTRIB THEMES!) and see if the problem is gone.
  5. If it is, re-enable one of your additional modules at a time and re-test with every additional module and report the module breaking the functionality. If it is not, please give a detailed report of your server configuration (Apache version, PHP version, single or multisite, Linux or windows and so on; the more details the better). You can easily generate such a report by activating devel module and the devel block and then clicking "phpinfo".
Wolfgang62’s picture

Status: Postponed (maintainer needs more info) » Fixed

Your hint with the cache folder did it.
I gave it all the rights it could have and afterwards I got the information that the tmp folder is missing.
From there on it was an easy game.

Thanks a lot.
Wolfgang

doitDave’s picture

Good to know. Do you think this should be clearer in the docs?

Wolfgang62’s picture

For not so experienced guys like me it would be a good idea. :-)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.