exec(),system(),passthur(),shell_exec() not supported

  • warning: include() [function.include]: Unable to access /home/drupal_in/drupal.in/themes/engines//includes.php in /home/cityseh0/public_html/drupal.in/themes/garland/page.tpl.php on line 66.
  • warning: include(/home/drupal_in/drupal.in/themes/engines//includes.php) [function.include]: failed to open stream: Success in /home/cityseh0/public_html/drupal.in/themes/garland/page.tpl.php on line 66.
  • warning: include() [function.include]: Unable to access /home/drupal_in/drupal.in/themes/engines//includes.php in /home/cityseh0/public_html/drupal.in/themes/garland/page.tpl.php on line 66.
  • warning: include(/home/drupal_in/drupal.in/themes/engines//includes.php) [function.include]: failed to open stream: Success in /home/cityseh0/public_html/drupal.in/themes/garland/page.tpl.php on line 66.
  • warning: include() [function.include]: Failed opening '/home/drupal_in/drupal.in/themes/engines//includes.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/cityseh0/public_html/drupal.in/themes/garland/page.tpl.php on line 66.
mani8php's picture

Hello,

Problem: Unable to unzip the file Uploaded in drupal environment using exec(), system(), passthur(), shell_exec() functions.

I uploaded the .zip file as a product..After uploading i need to extract it to open in iframe.

The code i used for extracting was

$k=exec("unzip test.zip");

It should unzip the zip folder with same name, while i put the code out of drupal in server (That is, it works fine).

When i insert the same code in DRUPAL in uc_file.module file in UBERCART it can not be unzipped ..(That is, it not works fine).

I think the problem is file accessing...But iam not sure...
The zip folder present in

http://172.16.3.140/eshop/files/
http://172.16.3.140/eshop/sites/all/modules/ubercart/uc_files/uc_files.m...

Guide me Plz...
very Urgent work..