JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 27.12.2019, 07:26
nacho191 nacho191 is offline
Modem User
 
Join Date: Sep 2019
Posts: 1
Default API Problem since today

Hello, the api stops to works in mi site.
the error says:
Code:
PHP Fatal error:  Call to undefined function mcrypt_module_open() in dlcapi/download_parser.php on line 197
the line 197 its:
Code:
$cp = mcrypt_module_open(MCRYPT_RIJNDAEL_128, '', 'cbc', '');
and the entire line its:
Code:
public function create_cnl_link($link_ary)
	{
		$link_str = array();

		foreach($link_ary as $link)
		{
			$link_str = array_merge($link_str, $this->get_links($link));
		}
		
		$link_str = implode("\r\n", $link_str);

		$cp = mcrypt_module_open(MCRYPT_RIJNDAEL_128, '', 'cbc', '');
		@mcrypt_generic_init($cp, $this->encrypt_key, $this->encrypt_key);
		$enc = mcrypt_generic($cp, $link_str);   
		mcrypt_generic_deinit($cp);	
		mcrypt_module_close($cp);
		$crypted = base64_encode($enc);

		return $crypted;
	}
Reply With Quote
  #2  
Old 06.01.2020, 21:10
thecoder2012's Avatar
thecoder2012 thecoder2012 is offline
Official 9kw.eu Support
 
Join Date: Feb 2013
Location: Internet
Posts: 1,249
Default

Quote:
Originally Posted by nacho191 View Post
the error says:
Code:
PHP Fatal error:  Call to undefined function mcrypt_module_open() in dlcapi/download_parser.php on line 197
Which PHP version? You have installed PHP updates? And you have really installed mcrypt for your PHP? (check it with phpinfo(); if required)
__________________
Join 9kw.eu Captcha Service now and let your JD continue downloads while you sleep.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 11:15.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.