JDownloader Community - Appwork GmbH
 

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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
 

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 10:44.
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.