I have followed instruction from FAQ about tmpfs, however, now I am getting either blank screen or info that my new path can't be found.
Info:
15:44:36[root@mp3bre chat]# mount
/dev/shm on /mnt/chat type tmpfs (rw)
/mnt >
drwxrwxrwt 9 root www-data 180 2006-02-19 15:45 chat
I can see that script has made directory's within (1 dir in private and 3 in public) also some files have been created.
My params in index.php:
require_once "src/phpfreechat.class.php";
$params["serverid"] = md5(__FILE__); // calculate a unique id for this chat
$params["title"] = "MP3Bre chat! Enjoy...";
$params["height"] = "400px";
$params["width"] = "550px";
$params["max_msg"] = 21;
$params["data_private_path"] = "/mnt/chat/private";
$params["data_public_path"] = "/mnt/chat/public";
$params["css_file"] = dirname(__FILE__)."/templates/mp3bre/style.css.tpl.php";
$chat = new phpFreeChat( $params );
and also neccesary includes in head and body. However, I am getting blank page (I presume script crashes somewhere on the way, as the last include (which should show menu on the right) is not executet either.
Bare in mind, that with default directory it works, but response times are awfull (10+ seconds)
![Sad :(](./images/smilies/icon_sad.gif)
What am I doing wrong here?
![Smile :)](./images/smilies/icon_smile.gif)
Thanx!
Aleks