Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Error when deleting conversations
I'm getting an error when I try to delete a conversation:
Fatal error: require_once() [function.require]: Failed opening required '/home1/me/public_html/forum/applications/controllers/class.controller.php' (include_path='.:/usr/lib64/php:/usr/lib/php') in /home1/me/public_html/forum/library/core/class.dispatcher.php on line 539
I noticed that it's missing the "conversations" part, and the url is wrong (http://server/me/forum/me/forum/messages/all -- I can't give out the site right now because it's still in development). What can I do to fix this?
Fatal error: require_once() [function.require]: Failed opening required '/home1/me/public_html/forum/applications/controllers/class.controller.php' (include_path='.:/usr/lib64/php:/usr/lib/php') in /home1/me/public_html/forum/library/core/class.dispatcher.php on line 539
I noticed that it's missing the "conversations" part, and the url is wrong (http://server/me/forum/me/forum/messages/all -- I can't give out the site right now because it's still in development). What can I do to fix this?
Tagged:
0
Comments
Vanilla Forums COO [GitHub, Twitter, About.me]
Vanilla Forums COO [GitHub, Twitter, About.me]
Vanilla Forums COO [GitHub, Twitter, About.me]
Vanilla Forums COO [GitHub, Twitter, About.me]
Vanilla Forums COO [GitHub, Twitter, About.me]
Vanilla Forums COO [GitHub, Twitter, About.me]
$Fields['ConversationID'] = $ConversationID;
$Fields['Body'] = $FormPostValues['Body'];
// Grab the users that need to be notified.
$UnreadData = $this->SQL
->Select('uc.UserID')
->From('UserConversation uc')
->Where('uc.ConversationID', $ConversationID) // hopefully coax this index.
->Where('uc.LastMessageID', $MessageID)
->Where('uc.UserID <>', $Session->UserID)
->Get();
$ActivityModel = new ActivityModel();
foreach ($UnreadData->Result() as $User) {
$Story = ArrayValue('Body', $Fields, '');
// Notify the users of the new message.
$ActivityID = $ActivityModel->Add(
$Session->UserID,
'ConversationMessage',
$Story,
$User->UserID,
'',
"/messages/$ConversationID#$MessageID",
FALSE
);
}
(server SSH and Vanilla admin would be great).
Vanilla Forums COO [GitHub, Twitter, About.me]