Path

ez projects / cjw_newsletter / forum / general / shell_exec / re: shell_exec


shell_exec

You need to be logged in to post messages in the forums. New users may register here.

Javier Magán

Member since:
05 February 2010

Posts: 5

Tuesday 27 July 2010 7:09:31 pm

Hello.

I just have installed the contribution and I can't male it work.

I get the following error when allowing debug output:



shell_exec() has been disabled for security reasons in /var/www/vhosts/davidmagan.es/httpdocs/extension/cjw_newsletter/classes/cjwnewsletteredition.php on line 482




The comand it is trying to ejecute is:



shell_exec( "php" extension/cjw_newsletter/bin/php/createoutput.php --object_id=970 --object_version=2 --output_format_id=0 --current_hostname=www.davidmagan.es --skin_name=default -s esl )




I have talk to the hosting's technical suport and they say that the "shell_exec" is no allowed, only the "exec" one.

Some help, ideas...?

Best regards
Up

Javier Magán

Member since:
05 February 2010

Posts: 5

Tuesday 04 January 2011 5:34:46 pm

Hello.

I still need to solve this. Finally I installed the nv_newsletter extension and it works with safe_mode=1. But I'd prefer make this one works.

Some one knows is if its posible to replace "shell_exec()" with "exec()" and how to do it.

Thanks
Javier
Up

Ove Wilmann

Member since:
21 May 2012

Posts: 1

Tuesday 22 May 2012 9:00:28 am

I also have this problem, i cant run shell_exec(), is there any workaround?
Up

You need to be logged in to post messages in the forums. New users may register here.