I suspect its because I am trying to install it on a multi site install.
* /usr/home/londonkb/public_html//usr/home/londonkb/public_html/sites/londontkd.com/files/phpfreechat/public/ can't be created
* /usr/home/londonkb/public_html//usr/home/londonkb/public_html/sites/londontkd.com/files/phpfreechat/public/ is not writeable
* /usr/home/londonkb/public_html//usr/home/londonkb/public_html/sites/londontkd.com/files/phpfreechat/public/ is not readable
* /usr/home/londonkb/public_html//usr/home/londonkb/public_html/sites/londontkd.com/files/phpfreechat/private/ can't be created
* /usr/home/londonkb/public_html//usr/home/londonkb/public_html/sites/londontkd.com/files/phpfreechat/private/ is not writeable
* /usr/home/londonkb/public_html//usr/home/londonkb/public_html/sites/londontkd.com/files/phpfreechat/private/ is not readable
* /usr/home/londonkb/public_html//usr/home/londonkb/public_html/sites/londontkd.com/files/phpfreechat/private//cache can't be created
* /usr/home/londonkb/public_html//usr/home/londonkb/public_html/sites/londontkd.com/files/phpfreechat/private//cache is not writeable
* /usr/home/londonkb/public_html//usr/home/londonkb/public_html/sites/londontkd.com/files/phpfreechat/private//cache is not readable
* /usr/home/londonkb/public_html//usr/home/londonkb/public_html/sites/londontkd.com/files/phpfreechat/private//chat can't be created
* /usr/home/londonkb/public_html//usr/home/londonkb/public_html/sites/londontkd.com/files/phpfreechat/private//chat is not writeable
* /usr/home/londonkb/public_html//usr/home/londonkb/public_html/sites/londontkd.com/files/phpfreechat/private//chat is not readable
* /usr/home/londonkb/public_html//usr/home/londonkb/public_html/sites/londontkd.com/files/phpfreechat/private//chat/s_15920942ddfb598442f157bf89ac0097 can't be created
* /usr/home/londonkb/public_html//usr/home/londonkb/public_html/sites/londontkd.com/files/phpfreechat/private//chat/s_15920942ddfb598442f157bf89ac0097 is not writeable
* /usr/home/londonkb/public_html//usr/home/londonkb/public_html/sites/londontkd.com/files/phpfreechat/private//chat/s_15920942ddfb598442f157bf89ac0097 is not readable
* /usr/home/londonkb/public_html//usr/home/londonkb/public_html/sites/londontkd.com/files/phpfreechat/private//chat/s_15920942ddfb598442f157bf89ac0097/nicknames can't be created
* /usr/home/londonkb/public_html//usr/home/londonkb/public_html/sites/londontkd.com/files/phpfreechat/private//chat/s_15920942ddfb598442f157bf89ac0097/nicknames is not writeable
* /usr/home/londonkb/public_html//usr/home/londonkb/public_html/sites/londontkd.com/files/phpfreechat/private//chat/s_15920942ddfb598442f157bf89ac0097/nicknames is not readable
* /usr/home/londonkb/public_html//usr/home/londonkb/public_html/sites/londontkd.com/files/phpfreechat/private//chat/s_15920942ddfb598442f157bf89ac0097/metadata can't be created
* /usr/home/londonkb/public_html//usr/home/londonkb/public_html/sites/londontkd.com/files/phpfreechat/private//chat/s_15920942ddfb598442f157bf89ac0097/metadata is not writeable
* /usr/home/londonkb/public_html//usr/home/londonkb/public_html/sites/londontkd.com/files/phpfreechat/private//chat/s_15920942ddfb598442f157bf89ac0097/metadata is not readable
* /usr/home/londonkb/public_html//usr/home/londonkb/public_html/sites/londontkd.com/files/phpfreechat/private//chat/s_15920942ddfb598442f157bf89ac0097/channels can't be created
* /usr/home/londonkb/public_html//usr/home/londonkb/public_html/sites/londontkd.com/files/phpfreechat/private//chat/s_15920942ddfb598442f157bf89ac0097/channels is not writeable
* /usr/home/londonkb/public_html//usr/home/londonkb/public_html/sites/londontkd.com/files/phpfreechat/private//chat/s_15920942ddfb598442f157bf89ac0097/channels is not readable
Comments
Comment #1
kenwen commentedI'm using beta 4 btw
Comment #2
Sarah Thornton commentedIn the help file it mentions setting the permissions on the directory where it writes its data to , as world writable. For both the public and the private directories.
eg:
chmod o+w private
chmod o+w public
etc.
I should point out that, that's not normally a secure solution. Try changing the ownership on the directories to the webserver account.
Comment #3
kenwen commentedStill getting the same error - the path its trying to create is not possible.
Basically its trying to create /usr/home/londonkb/public_html//usr/home/londonkb/public_html/sites/londontkd.com/files/phpfreechat/public/
whereas it should be trying to create /usr/home/londonkb/public_html/sites/londontkd.com/files/phpfreechat/public/
Comment #4
kenwen commentedTurning on the debug options I get this:
Warning: fopen(/usr/home/londonkb/public_html/sites/londontkd.com/modules/phpfreechat/phpfreechat/debug/../data/private/debugchatconfig_15920942ddfb598442f157bf89ac0097.log): failed to open stream: Permission denied in /usr/home/londonkb/public_html/sites/londontkd.com/modules/phpfreechat/phpfreechat/debug/log.php on line 9
Warning: fwrite(): supplied argument is not a valid stream resource in /usr/home/londonkb/public_html/sites/londontkd.com/modules/phpfreechat/phpfreechat/debug/log.php on line 10
Warning: fclose(): supplied argument is not a valid stream resource in /usr/home/londonkb/public_html/sites/londontkd.com/modules/phpfreechat/phpfreechat/debug/log.php on line 11
Comment #5
owen barton commentedI have just committed some major rewriting of the file-path code to the 4.7 branch, and also added a Drupal 5.0 version of the module. Please try this version and report back how you get on!
Please reopen this issue if you have the same problem with this version.
NOTE: This version _only_ works on the (yet to be released) beta 9 of phpfreechat - and will not work with beta 8 or less. You will need to checkout the latest phpfreechat version from SVN. See module INSTALL.txt for more details.