EVE-SECURE / joomla-in-eve

Automatically exported from code.google.com/p/joomla-in-eve
0 stars 0 forks source link

API Key encryption problem #21

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
After setting up JIE in Joomla 1.5.17 (I installed also every patch for 
JIE)
I configured some accounts with API Key.
After I saw that the chars have been imported I activated the key 
encryption.

I noticed perty soon that since I activated the key encryption the 
accounts failed to update.
I tried to run the schedule manualy but I got this error in the browser:

0 - An error has occurred.
Api call requires user credentials

I checked the apache error log and found this:

[Fri May 07 15:14:57 2010] [error] [client IP.IP.IP.IP] PHP Warning: 
mcrypt_decrypt() [<a href='function.mcrypt-decrypt'>function.mcrypt-
decrypt</a>]: Module initialization failed 
in /root/administrator/components/com_eve/tables/account.php on line 68, 
referer: http://URL/root/administrator/index.php?
option=com_eve&view=accounts

Here is my encryption.php file:

<?php
class EveConfigEncryption {
        var $cipher = 'blowfish-compat';
        var $mode = 'stream';
        var $showapikey = '0';
        var $key = 'KEYKEYKEY';
        var $iv = '';
}
?>

May it be that I need to install some certain encryption module?

I removed the configs folder and reentered my api keys.

I hope this helps you with your good work!!

Thank you!

Original issue reported on code.google.com by Cube1...@googlemail.com on 7 May 2010 at 4:36

GoogleCodeExporter commented 9 years ago
yes, you need to install the mcrypt module.
Project: http://mcrypt.sourceforge.net/
Install guide: http://php.net/manual/en/mcrypt.setup.php

Original comment by marcomis...@googlemail.com on 14 Nov 2011 at 8:48