OrderAPI Question

General ShopSite user discussion
Post Reply
Adam

OrderAPI Question

Post by Adam »

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: 2572
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere
Contact:

Re: OrderAPI Question

Post by loren_d_c »

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
Adam

Re: OrderAPI Question

Post by Adam »

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
Post Reply