Announcement

Collapse
No announcement yet.

Changing CGI-BIN

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Changing CGI-BIN

    Hi guys,

    The location of my CGI scripts is the CGI directory. A long while ago when I was having problems I accidently changed the settings to CGI-BIN.
    I have recently refreshed the website and although all my settings in advanced=> Network settings are all set to CGI, all the scripts seem to reference CGI-BIN in them.

    Are there other settings somewhere that need to be changed?
    Or do we have to delve deeper into the program?

    Cheers
    Mark

    #2
    Hi Mark

    Not really, it should pick them up from "Advance | Network Setup". However there are some developers who hardcode the links into the template, maybe this is what happening with you. If you go to "Design | Option | Layout", click on "Edit" for "Default Product Layout". Here see if you have any reference to "CGI-Bin".

    Kind Regards
    Nadeem Rasool
    SellerDeck Development

    Comment


      #3
      Hi Nadeem,

      Thanks for the reply. I have checked in the design options, and there appears to be no reference to the cgi location at all.
      If i manually changed all of the references of cgi-bin to cgi in the pl and pm files will that be sufficient?

      Mark

      Comment


        #4
        Hi Mark,

        That may not work, what is your website url please? I just want to check something.

        Kind Regards
        Nadeem Rasool
        SellerDeck Development

        Comment


          #5
          Hi Nadeem,

          You are quite correct it did not work. I went and changed the references to cgi instead of cgi-bin. Refreshed website, checked and all of the referneces have changed back to cgi-bin.

          My website is www.kave.co.uk/acatalog

          cheers
          Mark

          Comment


            #6
            Hi Mark

            I see now your links have cgi in them, instead of cgi-bin. One thing to check as well, is the permission of the cgi script, put them as 755 if you are using a linux server.

            Kind Regards
            Nadeem Rasool
            SellerDeck Development

            Comment


              #7
              All of the permissions were set to 664, I have changed them to 755 and they still don't work.
              I changed the various settings in the .pl and .pm files from

              push (@INC, "cgi-bin");

              to

              push (@INC, "cgi");

              Will this make any difference. My CGI directory has always been cgi not cgi-bin.
              Help!
              Mark

              Comment


                #8
                Hi Mark

                Yes you could try this. See if that works, if that still fails, then might i suggest in opening a ticket with support on: http://www.actinic.co.uk/support/register.htm
                Get them to have a look at your snapshot and ftp server. It may need investigation.

                Kind Regards
                Nadeem Rasool
                SellerDeck Development

                Comment


                  #9
                  I have tried changeing those settings to no avail.
                  I registered a support query last week, and have not had a reply back since Friday morning.

                  Thanks anyway,
                  Mark

                  Comment


                    #10
                    Hi Mark

                    Really, please advise on what your ticket number so i can chase this up for you

                    Kind Regards
                    Nadeem Rasool
                    SellerDeck Development

                    Comment


                      #11
                      Nadeem,

                      Moments after I recieved your email I had an email back from support.
                      Anyway after a phone call to my host and a few tests later the answer from them was to change the path to perl from:

                      /usr/bin/perl

                      to the following:

                      /usr/bin/perl -w

                      Apparently the -w is a error reporting switch, but I don't care because for the first time in ages it all seems to work without any errors!
                      Thanks for your help and in case anyone has the same errors I thought I would help by showing my solution.

                      Cheers
                      Mark

                      Comment


                        #12
                        Hi Mark

                        That okay, glad to see it was sorted out. Hmm the -w switch simply means turns off warning i believe. Anyway glad to see it working now.

                        Kind Regards
                        Nadeem Rasool
                        SellerDeck Development

                        Comment

                        Working...
                        X