Error plugin

Support specific to the vBulletin plugin.

Moderator: Alan

Forum rules
Please post all the bugs you encounter on our issue tracker.

Error plugin

Postby skullgear on Sun Jan 08, 2012 5:52 pm

Hello guys.

I have a problem, install jfusion in to last version to joomla 1.7, but i have a heavy problem.

Why user registered on my page, only created account in to joomla, but not in to vbulletin 4.1.5?

Have a problem on this line:
Code: Select all
Fatal error: Call to undefined function mcrypt_encrypt() in /home/public_html/mywebsite/www/administrator/components/com_jfusion/plugins/vbulletin/helper.php on line 57


Im Sorry with my bad english.
User avatar
skullgear
JFusion Newbie
JFusion Newbie
 
Posts: 2
Joined: Sat Jan 07, 2012 9:35 pm

Re: Error plugin

Postby fanno on Sun Jan 08, 2012 10:32 pm

Fanno
_________________________________
Developer
Specialist on SMF, DokuWiki , Mantis, Eventum, Mediawiki, Universal plugin


Review us at!
http://extensions.joomla.org/extensions/3723/details
User avatar
fanno
Developer
Developer
 
Posts: 7923
Joined: Wed Jan 07, 2009 4:38 pm
Location: Denmark, Copenhagen

Re: Error plugin

Postby skullgear on Sun Jan 08, 2012 11:52 pm

Nice Answer but....

The problem is when you register, do not think it's php, because it records in joomla and vbulletin not register then get this error.

This line is the API, in the old versions of jfusion, not had this option... This is problem.

Regards.

Code: Select all
    function encryptApiData($data) {
        $key = $this->params->get('vb_secret', JFactory::getConfig()->getValue('config.secret'));
        $data['jfvbkey'] = $key;
        return base64_encode(mcrypt_encrypt(MCRYPT_RIJNDAEL_256, $key, serialize($data), MCRYPT_MODE_ECB, mcrypt_create_iv(mcrypt_get_iv_size(MCRYPT_RIJNDAEL_256, MCRYPT_MODE_ECB), MCRYPT_RAND)));
    }
User avatar
skullgear
JFusion Newbie
JFusion Newbie
 
Posts: 2
Joined: Sat Jan 07, 2012 9:35 pm

Re: Error plugin

Postby fanno on Mon Jan 09, 2012 1:57 am

Support is no longer provided in the forum. (by us "jfusion team")

Should you wish more help you would need to create a ticket.

-Thanks
Fanno
_________________________________
Developer
Specialist on SMF, DokuWiki , Mantis, Eventum, Mediawiki, Universal plugin


Review us at!
http://extensions.joomla.org/extensions/3723/details
User avatar
fanno
Developer
Developer
 
Posts: 7923
Joined: Wed Jan 07, 2009 4:38 pm
Location: Denmark, Copenhagen

Re: Error plugin

Postby NickTTTA on Thu Jan 19, 2012 5:01 am

skullgear wrote:Nice Answer but....

The problem is when you register, do not think it's php, because it records in joomla and vbulletin not register then get this error.

This line is the API, in the old versions of jfusion, not had this option... This is problem.

Regards.

Code: Select all
    function encryptApiData($data) {
        $key = $this->params->get('vb_secret', JFactory::getConfig()->getValue('config.secret'));
        $data['jfvbkey'] = $key;
        return base64_encode(mcrypt_encrypt(MCRYPT_RIJNDAEL_256, $key, serialize($data), MCRYPT_MODE_ECB, mcrypt_create_iv(mcrypt_get_iv_size(MCRYPT_RIJNDAEL_256, MCRYPT_MODE_ECB), MCRYPT_RAND)));
    }

Maybe when you get the answer you can post it here?

Since upgrading to 1.6, my site has become full of problems again. =(

I understand wanting the support to be in a ticket system, but that keeps the helpful information from everyone else.

I have a ticket waiting to be responded to, and I will definitely post it in the forums so people searching can get help.
User avatar
NickTTTA
JFusion Novice
JFusion Novice
 
Posts: 44
Joined: Sun Apr 11, 2010 6:02 am

Re: Error plugin

Postby NickTTTA on Thu Jan 19, 2012 10:52 pm

skullgear wrote:Nice Answer but....

The problem is when you register, do not think it's php, because it records in joomla and vbulletin not register then get this error.

This line is the API, in the old versions of jfusion, not had this option... This is problem.

Regards.

Code: Select all
    function encryptApiData($data) {
        $key = $this->params->get('vb_secret', JFactory::getConfig()->getValue('config.secret'));
        $data['jfvbkey'] = $key;
        return base64_encode(mcrypt_encrypt(MCRYPT_RIJNDAEL_256, $key, serialize($data), MCRYPT_MODE_ECB, mcrypt_create_iv(mcrypt_get_iv_size(MCRYPT_RIJNDAEL_256, MCRYPT_MODE_ECB), MCRYPT_RAND)));
    }

You are right and wrong.

The problem is with PHP, and Joomla has no problem.

To be fair, the problem is the lack of documentation with JFusion 1.6. The vbulletin helper.php now uses a php module that is not installed on all *nix based servers. The mcrypt error went away for me, when I had my host install the mcrypt library and recompile php. If you are on a shared host, this may not be an option for you.

I still have the issue of users registering in joomla (which is set to master) just fine, but not in vBulletin. I have been manually adding their accounts to VB, then going to the User Manager in Joomla and simple "Saving" them, so JFusion will link the accounts.

Note, I am using a random password in vBulletin, THEN saving the account in Joomla. I use Janrain to log my users on, so I really have no way of knowing if the passwords are syncing or messing anything else up. So far, this seems to be working.

Since I am not getting any support from my ticket, I am going to reinstall JFusion 1.6 and see if that fixes anything.
User avatar
NickTTTA
JFusion Novice
JFusion Novice
 
Posts: 44
Joined: Sun Apr 11, 2010 6:02 am

Re: Error plugin

Postby fanno on Fri Jan 20, 2012 4:45 am

no one with vb knowledge have had time to provide support, you will just have to wait.
Fanno
_________________________________
Developer
Specialist on SMF, DokuWiki , Mantis, Eventum, Mediawiki, Universal plugin


Review us at!
http://extensions.joomla.org/extensions/3723/details
User avatar
fanno
Developer
Developer
 
Posts: 7923
Joined: Wed Jan 07, 2009 4:38 pm
Location: Denmark, Copenhagen


Return to vBulletin

Who is online

Users browsing this forum: No registered users and 2 guests