Jump to content

[Solved] Attempted to call function "mcrypt_module_open" from the global namespace.


Mexxat

Recommended Posts

Hi all,

 

I do have a severe problem with my prestashop:

When I go to modules I get this error

 

Attempted to call function "mcrypt_module_open" from the global namespace.
 

Symfony\Component\Debug\Exception\UndefinedFunctionException

in modules/pronuxtwint/pronuxInit.php (line 39)

            $text_num = TPL_BIT_CHECK - strlen($text_num[count($text_num) - 1]);

            for ($i = 0; $i < $text_num; $i++)

            {

                $text = $text . chr($text_num);

            }

            $cipher = mcrypt_module_open(MCRYPT_TRIPLEDES, '', 'cbc', '');

            mcrypt_generic_init($cipher, TPL_CRYPT_KEY, TPL_CRYPT_IV);

            $decrypted = mcrypt_generic($cipher, $text);

            mcrypt_generic_deinit($cipher);

            return base64_encode($decrypted);

        }

currently orders are not really processed correctly and I do not get any e-Mail confirmation etc.


Is there anybody willing to help me?

I have basic understanding but I am not a developer!

thank you so much!

Markus

Edited by Mexxat (see edit history)
Link to comment
Share on other sites

  • Mexxat changed the title to [Solved] Attempted to call function "mcrypt_module_open" from the global namespace.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...