1. sgower
  2. Bug Report
  3. Tuesday, October 02 2018, 04:02 PM
I have the latest version of Joomla - 3.8.12 and my Kunena version is 5.1.4
I have Easy Profile version 2.5.7 installed

I have the Easy Profile integrated with Kunena but it appears to be a one link. I can modify my Kunena avatar from the Easy Profile setup but when I try to edit my forum profile in Kunena I get the following Error:
500 Internal Server Error
Fatal Error was detected!
Please contact the site owner
.

How do I get around this?
admin Accepted Answer
Admin
Hi,
I have just tried and for me works:
Environment same as your: Joomla 3.8.12 - Kunena 5.1.4 - Easy Profile 2.5.7

Unfortunately this is a generic error, have you some more details from PHP error log?

NOTE: this integration is not developed by us, the plugin called "Kunena - Easyprofile Integration" is a part of Kunena
  1. more than a month ago
  2. Bug Report
  3. # 1
sgower Accepted Answer
I have gotten around the "500 Internal Server Error" and all seems to be working fine except now that Easy Profile has taken over the Kunena Profile management there is no way to change the signature field for Kunena. Is this on your end or Kunena?
  1. more than a month ago
  2. Bug Report
  3. # 2
admin Accepted Answer
Admin
Hi and sorry for late reply.

except now that Easy Profile has taken over the Kunena Profile management
Probably you can change this behavior from "Kunena - Easyprofile Integration" plugin, but this way make 2 profile pages and I think this is not a good way.

Anyway there is a way that allow you to add Signature field in Easy Profile, basically you can add a field in Easy Profile and develop a small plugin that copy the value of this field in Kunena database table where is stored the Kunena signature. See instruction to make this plugin at https://www.easy-profile.com/support/kunena-signature.html
  1. more than a month ago
  2. Bug Report
  3. # 3
sgower Accepted Answer
I followed the the instructions for the plugin. This is what I have in the plugin:

<?php
public function triggerProfileUpdate($user,&$data,$changed,$isNew)
{
if($user->id && isset($data['signature'])){
$signature = $data['signature'];
$db = JFactory::getDbo();
$query = 'UPDATE #__kunena_users SET signature = '.$db->quote($signature). ' WHERE userid = '. (int) $user->id;
$db->setQuery($query);
$db->execute();
}
}
?>

Once installed nothing seems to work. My field I created in Easy Profile is Signature with an alias of 'signature'.

I installed the plugin again and now I am getting the following error when I open my website.
0
SYNTAX ERROR, UNEXPECTED 'PUBLIC' (T_PUBLIC), EXPECTING END OF FILE

If I disable the plugin or uninstall it the website returns to normal.
  1. more than a month ago
  2. Bug Report
  3. # 4
admin Accepted Answer
Admin
Hi,
seems that you have removed entire code from skeleton.php file, instead to remove only functions triggerFieldAvatarUpdate, triggerProfileUpdate

try to follow these steps:
- delete file skeleton.php
- re-install skeleton plugin
- open file skeleton.php
- remove only functions triggerFieldAvatarUpdate and triggerProfileUpdate
- copy your code into class called "PlgJsnSkeleton"
  1. more than a month ago
  2. Bug Report
  3. # 5
sgower Accepted Answer
Thank you for pointing out the error in my way. I deleted to much of the original skeleton.php script before I pasted in the new. The plugin now works like a champ.

Thanks for staying with me on this...
  1. more than a month ago
  2. Bug Report
  3. # 6
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.