Module "event" error

Hello!

 

I install via git on my local machine the "event" module. When I click on settings, I get the error at SMTP password:

Fatal error: Call to undefined function mcrypt_decrypt() in /var/www/emoncms/Modules/event/event_settings_view.php on line 24

 

How can I fixed it?

 

Thank you!

Bruno's picture

Re: Module "event" error

1 year later your post... Got same problem :p

Robert Wall's picture

Re: Module "event" error

Have you got the mcrypt module loadeda and running in your Apache server?

Bruno's picture

Re: Module "event" error

I did this check and it said it was already installed.

sudo apt-get install php5-mcrypt php5-curl

Robert Wall's picture

Re: Module "event" error

Bruno's picture

Re: Module "event" error

I'm missing the /etc/php.ini file. I have a bunch of them but none on that folder.

I've executed the test.php to search for him and this was what I got:

root@Amago:/# php test.php | grep ".ini"
Configuration File (php.ini) Path => /etc/php5/cli
Loaded Configuration File => /etc/php5/cli/php.ini
Scan this dir for additional .ini files => /etc/php5/cli/conf.d
Additional .ini files parsed => /etc/php5/cli/conf.d/05-opcache.ini,
/etc/php5/cli/conf.d/10-pdo.ini,
/etc/php5/cli/conf.d/20-curl.ini,
/etc/php5/cli/conf.d/20-dio.ini,
/etc/php5/cli/conf.d/20-json.ini,
/etc/php5/cli/conf.d/20-mysql.ini,
/etc/php5/cli/conf.d/20-mysqli.ini,
/etc/php5/cli/conf.d/20-pdo_mysql.ini,
/etc/php5/cli/conf.d/20-readline.ini,
/etc/php5/cli/conf.d/20-redis.ini
user_ini.cache_ttl => 300 => 300
user_ini.filename => .user.ini => .user.ini
Supported handlers => cdb cdb_make db4 inifile flatfile
Classes => AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, CallbackFilterIterator, DirectoryIterator, DomainException, EmptyIterator, FilesystemIterator, FilterIterator, GlobIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, MultipleIterator, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveCallbackFilterIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RecursiveTreeIterator, RegexIterator, RuntimeException, SplDoublyLinkedList, SplFileInfo, SplFileObject, SplFixedArray, SplHeap, SplMinHeap, SplMaxHeap, SplObjectStorage, SplPriorityQueue, SplQueue, SplStack, SplTempFileObject, UnderflowException, UnexpectedValueException

So I inserted the extension line in this file /etc/php5/cli/php.ini.

Nothing changed...

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.