OrderAPI Question

General ShopSite user discussion

OrderAPI Question

Postby Adam » Mon Feb 21, 2005 11:48 am

I've written a custom script in Perl for use with the OrderAPI feature.
Right now the name of my script is SomeScript.pl. But when I try to test it,
ShopSite complains that the file is not found or it couldn't execute the
script (the script is in the right location /cgi-bin/sc/). The script does
have the same permissions as the default customdump.cgi file (www:webadmin
755). Any thoughts?

-Adam
Adam
 

Re: OrderAPI Question

Postby loren_d_c » Mon Feb 21, 2005 12:25 pm

Any number of problems, including an incorrect path to perl in your
script and you could have transfered the script in the wrong FTP
transfer mode so that it is not recognized by your system as a UNIX
script file.

-Loren


Adam wrote:
I've written a custom script in Perl for use with the OrderAPI feature.
Right now the name of my script is SomeScript.pl. But when I try to test it,
ShopSite complains that the file is not found or it couldn't execute the
script (the script is in the right location /cgi-bin/sc/). The script does
have the same permissions as the default customdump.cgi file (www:webadmin
755). Any thoughts?

-Adam
loren_d_c
 
Posts: 2564
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere

Re: OrderAPI Question

Postby Adam » Mon Feb 21, 2005 12:29 pm

On 2/21/05 11:25 AM, in article cvd90f$lph$1@eval.shopsite.com, "Loren"
<loren_d_c@yahoo.com> wrote:

Any number of problems, including an incorrect path to perl in your
script and you could have transfered the script in the wrong FTP
transfer mode so that it is not recognized by your system as a UNIX
script file.

Thanks. I'll look into both of these issues.

-Adam
Adam
 


Return to User Forum

Who is online

Users browsing this forum: Google [Bot] and 5 guests