Advertisement:

Author Topic: Payment Plugin - Fatal error on clean install  (Read 1165 times)

slinkyaroo

  • Newbie
  • *
  • Posts: 11
Payment Plugin - Fatal error on clean install
« on: August 03, 2014, 05:46:06 pm »
Layout
osclass 3.3.2 (stock)
stock bender theme
Payments v2.0.0
Plugin aquired from OSClass market. Tried system and manual installations.
No mods, editing or plugins added.

I did a fresh osclass install of osclass 3.3.2 then added Payments v2.0.0. Everything is stock,no other plugins. When installing Payment plugin I get
Code: [Select]
Plugin couldn't be installed because it triggered a fatal error
I have tried it on my regular site and couldn't get the plugin working so I did a fresh new site. It does install the data tables.  I have deleted the tables and plugin and tried repeatedly to install it.  Same error occurs.

Any ideas?  Compatibility issue with  new version maybe?  Am I missing a php or sql function?
« Last Edit: August 03, 2014, 06:26:52 pm by slinkyaroo »

slinkyaroo

  • Newbie
  • *
  • Posts: 11
Re: Payment Plugin - Fatal error on clean install
« Reply #1 on: August 05, 2014, 12:24:55 am »
Here's my error log

Quote
[04-Aug-2014 22:10:54 Europe/Madrid] PHP Fatal error:  Call to undefined function mcrypt_encrypt() in /home/swapbarrel/public_html/try/oc-content/plugins/payment/functions.php on line 18

line 18
Code: [Select]
18.         return base64_encode(mcrypt_encrypt($cypher, PAYMENT_CRYPT_KEY, $string, $mode,

Need help please.  It's not a theme issue.

teseo

  • Hero Member
  • *****
  • Posts: 6169
Re: Payment Plugin - Fatal error on clean install
« Reply #2 on: August 05, 2014, 01:02:33 am »
Hi,

Talk to your hosting, Mcrypt is a PHP extension and maybe they haven't installed it along with PHP main program...  :o ???

http://php.net/manual/en/mcrypt.installation.php

Regards

slinkyaroo

  • Newbie
  • *
  • Posts: 11
Re: Payment Plugin - Fatal error on clean install
« Reply #3 on: August 05, 2014, 01:24:11 am »
I had to google Mcrypt to find out what it was.  :) Adding the php extension now to see if the plugin works.

and it now installs fine.  Just a fyi for the next guy.

Resolved