Quantcast
Channel: Yii Framework Forum
Viewing all articles
Browse latest Browse all 18717

Private Messaging Module

$
0
0
I have just downloaded and tried to configure the private messaging module: http://www.yiiframework.com/extension/private-messaging/

I am getting the following exception when trying to access the module: Alias "message.MessageModule" is invalid. Make sure it points to an existing PHP file and the file is readable.

This is the relevant code in my main.php configuration file:
'modules'=>array(
'message' => array(
'userModel' => 'User',
'getNameMethod' => 'getFullName',
'getSuggestMethod' => 'getSuggest',
'receiverRelation' => array(
CActiveRecord::BELONGS_TO,
'User',
'on' => 'User.id = receiver_id'),
'senderRelation' => array(
CActiveRecord::BELONGS_TO,
'User',
'on' => 'User.id = sender_id'),
),

Has anyone else had this problem before? I would really appreciate the help. Thank you for your time

Viewing all articles
Browse latest Browse all 18717

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>