When I submit a message, nothing appears on the screen.

I think it has something to do with the server config, ala:

My files and tmp directories are permissioned 755. This works fine with other drupal modules that create files, like the upload module.

However, the chatroom module cache is not created unless the file and tmp directories are permissioned 777 (which is bad).

Even in that case, although the cache is created, no messages appear and the files in the chat cache have a size of "0".

The module works great on another server that's not running a jailshell.

Comments

Poznii’s picture

Title: Messages not appearing - directory permissions? » the same problem...

(4.7.x-1.1 and 4.7.x-1.3)
/tmp - is 777. After install chatroom (after set permis., create new room and chat) /tmp is empty. When I submit a message, nothing appears on the screen, as well...

darren oh’s picture

Title: the same problem... » Messages not appearing - directory permissions?
Version: 4.7.x-1.x-dev » 4.7.x-1.3

The cache file is empty. Its only purpose is to record the time the last message was sent and thus prevent unnecessary database queries.

darren oh’s picture

Assigned: Unassigned » darren oh
Priority: Normal » Critical
Status: Active » Postponed (maintainer needs more info)

Did you run update.php after installing version 1.3?

onionweb’s picture

Yup, ran update.php.

darren oh’s picture

What browser are you using?

darren oh’s picture

I may be able to diagnose the problem if I look at your site. The file chatroomread.php produces diagnostic messages that can be viewed in a JavaScript debugger.

darren oh’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)