JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 27.12.2019, 08:26
nacho191
Guest
 
Posts: n/a
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, 22:10
thecoder2012's Avatar
thecoder2012 thecoder2012 is offline
Official 9kw.eu Support
 
Join Date: Feb 2013
Location: Internet
Posts: 1,325
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
  #3  
Old 06.06.2020, 08:45
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,659
Default

since no feedback, marking thread as solved.
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
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:01.
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 - 2024, Jelsoft Enterprises Ltd.