SIPS payment

  • Posts: 171
  • Thank you received: 4
11 years 4 months ago #147070

-- HikaShop version -- : 2.2.3
-- Joomla version -- : x2.5.18
-- PHP version -- : 5.3.3-7+squeeze19
-- Error-message(debug-mod must be tuned on) -- :
erreur appel request

executable request non trouve /home/****/public_html/media/com_hikashop/b/request

i keep getting this error, but the file exists... any idea why that happends
-rw-r--r-- 1 wisecon wisecon 0 Mar 6 13:14 /home/****/public_html/media/com_hikashop/b/request

any idea what gives this error and how to fix it ?

Please Log in or Create an account to join the conversation.

  • Posts: 26260
  • Thank you received: 4042
  • MODERATOR
11 years 4 months ago #147072

Hi,

This exact error message does not exist.
Please provide the exact error message and a screenshot of your configuration.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 171
  • Thank you received: 4
11 years 4 months ago #147073

Here is two screenshots

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 26260
  • Thank you received: 4042
  • MODERATOR
11 years 4 months ago #147121

Hi,

Which version of the plugin are you using ?
It does not look like the official plugin we have.

Like I said in my previous message, the error message "executable request non trouve" does not exist in the plugin.
You can have "executable response non trouve" but not for "request".

That's why I am wondering which plugin you are using.
I checked in all versions of the plugin and this error message never exist, even if in the first published version of it.

Did you modified the plugin ?

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 171
  • Thank you received: 4
11 years 4 months ago #147217

There is no version info in the backend for
HikaShop SIPS Atos payment plugin

in the xml file there is
<extension type="plugin" version="2.5" method="upgrade" group="hikashoppayment">
<name>Hikashop SIPS ATOS Payment Plugin</name>
<creationDate>November 2010</creationDate>
<version>1.0.0</version>
<author>Hikashop</author>
<authorEmail>This email address is being protected from spambots. You need JavaScript enabled to view it.</authorEmail>
<authorUrl> www.hikashop.com </authorUrl>
<copyright>Copyright (C) 2010 HIKARI SOFTWARE SARL - All rights reserved.</copyright>

i have not installed anything not from hikashop with payment on that page.

Please Log in or Create an account to join the conversation.

  • Posts: 26260
  • Thank you received: 4042
  • MODERATOR
11 years 4 months ago #147235

Hi,

Since HikaShop 2.3.0 we improved the XML of our plugins in order to give more details.
For the moment if you want to have information about the plugin you have to check the header of the php file.
You can also check the plugin content and look at the string "executable request non trouve" because, like I said, in the plugin we made there is no such string into.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 171
  • Thank you received: 4
11 years 4 months ago #147655

Hi,

i have updated to versio 2.3.0 and the error is stillt he same.

Please Log in or Create an account to join the conversation.

  • Posts: 26260
  • Thank you received: 4042
  • MODERATOR
11 years 4 months ago #147659

Hi,

And are your sure that the plugin is right up to date ?
Because, as I said since my first reply, our SIPS plugin does not have the error message "executable request non trouve".
So in my vision, you are not using our plugin if you have such message.. Because our plugin can't display you this message.

Look at the plugin source code, try to find this message. If you have the right plugin, our plugin, you won't see this text.

I am not sure that my explanation is clear enough.
But you have to be sure that your are using our plugin and that this plugin is right up to date and not modified.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 171
  • Thank you received: 4
11 years 4 months ago #147749

public_html# grep 'executable request non trouve' * -ri
administrator/components/com_hikashop/extensions/plg_hikashoppayment_atos/atos_end.php: "executable request non trouve ".$path_bin;
plugins/hikashoppayment/atos/atos_end.php: "executable request non trouve ".$path_bin;

l# more plugins/hikashoppayment/atos/atos.xml
<?xml version="1.0" encoding="utf-8"?>
<extension type="plugin" version="2.5" method="upgrade" group="hikashoppayment">
<name>Hikashop SIPS ATOS Payment Plugin</name>
<creationDate>{__DAY__} {__MONTH__} {__YEAR__}</creationDate>
<version>{__PLUGIN_VERSION__}</version>
<author>Hikashop</author>
<authorEmail>This email address is being protected from spambots. You need JavaScript enabled to view it.</authorEmail>
<authorUrl> www.hikashop.com </authorUrl>
<copyright>(C) 2010-{__YEAR__} HIKARI SOFTWARE. All rights reserved.</copyright>


# more administrator/components/com_hikashop/extensions/plg_hikashoppayment_atos/atos.xml
<?xml version="1.0" encoding="utf-8"?>
<extension type="plugin" version="2.5" method="upgrade" group="hikashoppayment">
<name>Hikashop SIPS ATOS Payment Plugin</name>
<creationDate>{__DAY__} {__MONTH__} {__YEAR__}</creationDate>
<version>{__PLUGIN_VERSION__}</version>
<author>Hikashop</author>
<authorEmail>This email address is being protected from spambots. You need JavaScript enabled to view it.</authorEmail>
<authorUrl> www.hikashop.com </authorUrl>
<copyright>(C) 2010-{__YEAR__} HIKARI SOFTWARE. All rights reserved.</copyright>

Please Log in or Create an account to join the conversation.

  • Posts: 171
  • Thank you received: 4
11 years 4 months ago #148811

Hey Jerome,

you got any news on this or any sollution for this that i can try ?

Please Log in or Create an account to join the conversation.

  • Posts: 171
  • Thank you received: 4
11 years 4 months ago #149505

hello ?

Please Log in or Create an account to join the conversation.

  • Posts: 171
  • Thank you received: 4
11 years 3 months ago #150277

thanx for the no replies and not getting on with this and getting it to work.

Please Log in or Create an account to join the conversation.

  • Posts: 171
  • Thank you received: 4
11 years 3 months ago #150775

I have selves been looking into the files... and found this code

	if($os=='win')
		$path_bin = $this->vars["bin_folder"]."request.exe";
	else
		$path_bin = $this->vars["bin_folder"]."request";

	$result=exec($path_bin.' '.$parm);
	$tableau = explode ("!", $result);
$code = $tableau[1];
$error = $tableau[2];
$message = $tableau[3];

if(( $code == "" ) && ( $error == "" ) ) {
	echo "<<br/><center>erreur appel request</center><br/>" .
		"executable request non trouve ".$path_bin;

Now what ever this request file is, it is not included and i have no idea what/where to get to get this working, but as it isn't found the $tableau is empty and the $code and $error is empty and therefor gives that error.

Can you please help fix this, so i can get it working and get the big version of hikashop for this client.

Last edit: 11 years 3 months ago by jesper.

Please Log in or Create an account to join the conversation.

  • Posts: 84146
  • Thank you received: 13651
  • MODERATOR
11 years 3 months ago #151900

Hi,

Sorry for the delay.

This error indicates that either the file doesn't exist or that the file is not executable.
In your first message you give the text:
-rw-r--r-- 1 wisecon wisecon 0 Mar 6 13:14 /home/****/public_html/media/com_hikashop/b/request
which means that the file is there but not executable.
Please make sure that you follow our documentation on the setup of the payment plugin where we clearly indicate that the binary files need to be executable:
www.hikashop.com/support/support/documen...yment-atos-form.html
Then, you won't have that error.

Please Log in or Create an account to join the conversation.

  • Posts: 171
  • Thank you received: 4
11 years 3 months ago #152056

after searching i found the working url for that page...

from www.hikashop.com/support/documentation/i...yment-atos-form.html i cannot see what needs to be in the files or where to get them from.

I have made the files executable
-rwxr--r-- 1 wisecon wisecon 0 Mar 6 13:14 request
-rwxr--r-- 1 wisecon wisecon 0 Apr 14 09:51 response

and when looking on this www.citelis.fr/installation/citelis-payline i cannot find any info on that either.

it still gives same error...

Please Log in or Create an account to join the conversation.

  • Posts: 84146
  • Thank you received: 13651
  • MODERATOR
11 years 3 months ago #152920

You made the files executable for the owner wisecon:wisecon
But that doesn't means that your apache server uses that user in order to use these files (it depends on the way your server is setup).
In order to make sure, set the rights of these files to 777 and try again. That way, you should definitely not get that error if the files are in the correct folder.

Please Log in or Create an account to join the conversation.

  • Posts: 171
  • Thank you received: 4
11 years 3 months ago #153015

I know that anything run from that website runs under that user, but just to make sure, i made both the dir and the files 777 and it makes no difference.

Please Log in or Create an account to join the conversation.

  • Posts: 171
  • Thank you received: 4
11 years 3 months ago #153023

do you need ftp or administrator access to the site to be able to help with this problem ?

Please Log in or Create an account to join the conversation.

  • Posts: 171
  • Thank you received: 4
11 years 3 months ago #153523

so any more suggestions or are you giving up and i need to tell the client that it cannot be solved. And we have to go to another solution to solve this ?

Please Log in or Create an account to join the conversation.

  • Posts: 84146
  • Thank you received: 13651
  • MODERATOR
11 years 3 months ago #153580

Then maybe that you're not using the correct request and response files. Please make sure that you use the request and response files corresponding to the architecture of your server and not the ones for another architecture (32 bits/64 bits linux/windows etc).
Also, make sure that your web server (apache I guess) is configured to allow PHP to use the exec function:

Note: When safe mode is enabled, you can only execute files within the safe_mode_exec_dir. For practical reasons, it is currently not allowed to have .. components in the path to the executable.

www.php.net/manual/en/function.exec.php
de3.php.net/manual/en/features.safe-mode.php

Unfortunately, a FTP/backend access won't help. It's just a matter of setting up the files/server properly, not a HikaShop problem and you will have the same problem with another shopping cart with SIPS.

Please Log in or Create an account to join the conversation.

Time to create page: 0.094 seconds
Powered by Kunena Forum