Adult Script Pro Community Forums

Create, help and share your ideas with the community!

You are not logged in.

#1 2017-01-30 12:07:22

Jadmanx
Member
Registered: 2012-05-25
Posts: 128

after upgrate to PHP 5.6 error on q=video/upload_ftp

VException [ 0 ]: VException [ 0 ]: exception 'ErrorException' with message 'exec() has been disabled for security reasons' in /home/public_html/libraries/framework/video.php:52 Stack trace: #0 [internal function]: VError::error_handler(2, 'exec() has been...', '/home/p...', 52, Array) #1 /home/public_html/libraries/framework/video.php(52): exec('/usr/local/bin/...', NULL) #2 /home/public_html/admin/modules/video/components/upload_ftp.php(86): VVideo->load('/home/p...') #3 /home/public_html/admin/modules/video/video.php(52): VComponent_Admin_video_upload_ftp->render() #4 /home/public_html/admin/index.php(25): VModule_Admin_video->render() #5 {main} ~ /home/public_html/admin/modules/video/video.php [ 54 ]
/home/public_html/admin/index.php [ 27 ]
22     try {
23         require $module_path;
24         $obj = new $module_class();
25         $obj->render();
26     } catch (Exception $e) {
27         throw new VException($e);
28     }
29 } else {
30     throw new VException('Invalid admin module format! Aborting!');
31 }
32
Environment

/public_html/admin/index.php [ 27 ]
22     try {
23         require $module_path;
24         $obj = new $module_class();
25         $obj->render();
26     } catch (Exception $e) {
27         throw new VException($e);
28     }
29 } else {
30     throw new VException('Invalid admin module format! Aborting!');
31 }
32

Offline

#2 2017-01-30 18:16:59

symtab
Administrator
Registered: 2010-08-23
Posts: 7,495
Website

Re: after upgrate to PHP 5.6 error on q=video/upload_ftp

Contact your hosting company and ask them to enable the exec() function in php.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#3 2017-02-01 11:55:18

Jadmanx
Member
Registered: 2012-05-25
Posts: 128

Re: after upgrate to PHP 5.6 error on q=video/upload_ftp

the exec() functionis enable but same error

Offline

#4 2017-02-05 12:41:04

Jadmanx
Member
Registered: 2012-05-25
Posts: 128

Re: after upgrate to PHP 5.6 error on q=video/upload_ftp

no help????

Offline

#5 2017-02-05 14:25:44

Jadmanx
Member
Registered: 2012-05-25
Posts: 128

Re: after upgrate to PHP 5.6 error on q=video/upload_ftp

my admin say

The PHP-FPM is active for the domain, so default php.ini does not have the ability to modify that particular PHP option. We have to modify below file to enable exec().

=================================

/opt/cpanel/*/com.conf

root@server [~]# cat /opt/cpanel/*/.com.conf | grep disable_functions
php_admin_value[disable_functions] = exec,passthru,shell_exec,system
root@server [~]#

=================================

Custom changes to PHP-FPM are usually not recommended since changes can have unintended side effects. Please check with your script developer to modify the PHP-FPM file and restart the PHP-FPM service.

Awaiting your reply.

Best Regards,

Last edited by Jadmanx (2017-02-05 14:26:50)

Offline

#6 2017-02-06 09:24:21

symtab
Administrator
Registered: 2010-08-23
Posts: 7,495
Website

Re: after upgrate to PHP 5.6 error on q=video/upload_ftp

There is nothing i can do. You have to contact your server administrator and ask them to enable the exec() function. This has nothing to do with the script, its about server configuration (more exactly php configuration). There is a option in php.ini to list functions that you want disabled. exec() function is in that list. It needs to be removed from that list. Another possible reason would be a security extension like php-suhosin...


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

Board footer

Powered by FluxBB