kadukeitor / internal_messages

..my owncloud 's apps :-)
8 stars 10 forks source link

Error on photo load for avatar #3

Open alefattorini opened 11 years ago

alefattorini commented 11 years ago

Like subject. See the attach messages

imbradman commented 11 years ago

The user_photo app isn't compatible with owncloud 5x. You can use internal_message without it by commenting out the following in owncloud/apps/internal_messages/index.php:

if (!OCP\App::isEnabled('user_photo')) { OCP\Template::printUserPage('internal_messages', 'no-user_photo-app'); exit; }

And comment out the following in owncloud/apps/internal_messages/templates/part.messages.php:

//echo td img id=message_photo src=". OC_App::getAppWebPath('user_photo') . '/ajax/showphoto.php?user=' . $message['message_owner']." /td

Then you can uninstall user_photo and reinstall internal_messages. That's the fix for now until user_photo is compatible with owncloud 5x.

ghost commented 11 years ago

user_photo is now compatible with owncloud 5x.