The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!
You are not logged in.
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
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
the exec() functionis enable but same error
Offline
no help????
Offline
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
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