Hello,

I just updated the uc_atos module
and when i try to pay it throws this error
Request call error: request executable file not found.

i switched back to uc_atos 6.x-1.0-beta3 and it works fine

do i have to change something in my configuration to make it work ?

thanks

keep up the good work :)

Comments

joachim desarmenien’s picture

Priority: Critical » Normal
anrikun’s picture

Hi,
Could you give me more information about your configuration and your server:
Path to Pathfile field value?
Path to Request field value?
Windows or Linux?
What distribution?
Thanks.

anrikun’s picture

Status: Active » Needs review

If you use a Windows server, please try this:
In uc_atos.module, line 694, there's a stupid bug (shame on me :-).
Download the last CVS revision or in your current uc_atos.module file, replace:

<?php
  if (strstr($_SERVER['SERVER_SOFTWARE'], 'Win32') || strstr($_SERVER['SERVER_SOFTWARE'], 'IIS')) {
    $command = '"'.$cmd.'"';
  }
?>

by:

<?php
  if (strstr($_SERVER['SERVER_SOFTWARE'], 'Win32') || strstr($_SERVER['SERVER_SOFTWARE'], 'IIS')) {
    $command = '"'.$command.'"';
  }
?>

And tell me if it works better.

joachim desarmenien’s picture

hello, it's a linux server i think since i got the linux ATOS/SIPS package on it

here is what i use for the paths

/var/www/myfolder/scellius/param/pathfile
/var/www/myfolder/scellius/request
/var/www/myfolder/scellius/response

i'll try with the latest cvs if it works

thanx

joachim desarmenien’s picture

Tried with the latest cvs and it didn't work ;

anrikun’s picture

Ok then try to replace line 693:

<?php
  $command = escapeshellarg($path_bin).' '.implode(' ', $pairs);
?>

By:

<?php
  $command = $path_bin.' '.implode(' ', $pairs);
?>
joachim desarmenien’s picture

Hello,

i just did this, and it seems to work ok,
will it still a probleme with next updates ?

thank you very much

anrikun’s picture

Ok thank you for your testing.
I'll make a new release!

anrikun’s picture

Status: Needs review » Fixed

This is now fixed in 6.x-1.1.
Thank you again for reporting this bug.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.