fault on add cart page

fault on add cart page

am 26.01.2008 17:17:28 von Tami

Hi

I have a problem that I cannot find


The site has been working all ok BUT all of a sudden a fault has come up

I have a page ( shopping cart page ) where I can select things then
goto the bottom of the page and press a button ( ADD TO CART ) which
then should go to a cgi script and run it BUT for some reason when you
press the add button it brings the name of the script up and ask if you
want to safe the cgi script.


Any help would be most welcome

Tami

Re: fault on add cart page

am 26.01.2008 17:22:38 von Ben Morrow

Quoth Tami@des.com:
>
> I have a page ( shopping cart page ) where I can select things then
> goto the bottom of the page and press a button ( ADD TO CART ) which
> then should go to a cgi script and run it BUT for some reason when you
> press the add button it brings the name of the script up and ask if you
> want to safe the cgi script.

You have a server configuration problem. Your server is not running the
CGI script, but instead is serving it back to the browser as-is. If you
are using Apache, you may need to move the script to a cgi-bin directory
or turn on Options ExecCGI; otherwise, or if this doesn't help, you will
need to ask in a group relevant to your web server.

Ben

Re: fault on add cart page

am 26.01.2008 17:31:36 von jurgenex

Tami@des.com wrote:
>I have a problem that I cannot find

I have a problem, too, but it is easy to find: what does your problem have
to do with Perl?

jue

Re: fault on add cart page

am 26.01.2008 18:55:14 von Tami

On Sat, 26 Jan 2008 16:22:38 +0000, Ben Morrow wrote:

>
>Quoth Tami@des.com:
>>
>> I have a page ( shopping cart page ) where I can select things then
>> goto the bottom of the page and press a button ( ADD TO CART ) which
>> then should go to a cgi script and run it BUT for some reason when you
>> press the add button it brings the name of the script up and ask if you
>> want to safe the cgi script.
>
>You have a server configuration problem. Your server is not running the
>CGI script, but instead is serving it back to the browser as-is. If you
>are using Apache, you may need to move the script to a cgi-bin directory
>or turn on Options ExecCGI; otherwise, or if this doesn't help, you will
>need to ask in a group relevant to your web server.
>
>Ben

Hi Ben

Thank you for getting back to me.

I thought it might be that BUT I ran a test script and it works fine.

The script is in the right directory as it all worked before this fault
started

Running Apache



Tami