Announcement

Collapse
No announcement yet.

Errors, Errors, Errors!!!

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

    Errors, Errors, Errors!!!

    mate i'm about to scream!!!
    For a week now i have been building my site adding products previewing etc. I start to upload and i get script errors.
    I breathe really deeply and refresh the website. I get to merging incremental updates and get an error that tells me there is a server error (500 internal error)

    i can go here http://www.jacyscomputers.com.au/acatalog and browse the products. If i go to the search page and try to search i get a script error.

    but if i try to go to http://www.jacyscomputers.com.au and then click on the products button or the "checkout our products here" link i get nothing. I haven't even been able to view my checkout pages as yet

    I have deleted everything from my ftp site and retried. I sent the text setup email to my ISP and all was ok. I just don't get it.

    is my initial dirctory htdocs or htdocs/acatalog?

    cheers

    Jacy.

    i have attached the screen dump for my settings and errors. mabey it will be obvious to someone.
    Attached Files
    Jacys Computer Supplies
    Web: http://www.jacyscomputers.com.au
    email: sales@jacyscomputers.com.au

    #2
    Your "Path from CGI-BIN to acatalog directory" looks suspect. Try ../acatalog/ instead of ./acatalog/

    Norman
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Thanks Norman,
      But i tried changing it to ../acatalog and i still get a "the CGI Scripts aren't executing on the server" error. and also the test script failed to execute on the server" I think i'm about to !!"Execute" someone!!

      Cheers

      Jacy
      Jacys Computer Supplies
      Web: http://www.jacyscomputers.com.au
      email: sales@jacyscomputers.com.au

      Comment


        #4
        OK. Try ../htdocs/acatalog/ in both the "Path from CGI-BIN to acatalog directory" and the "Path from CGI-BIN to acatalog directory as viewed by the FTP Server..."

        If that doesn't help I'd double check with your ISP why you're using .cgi as the Perl script extension rather than the more usual .pl


        Norman
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #5
          Hiya Norman,
          Thanks,
          I just tried that and still no good. It's my ISP for sure!! They are looking into it (and have been for a week!!)

          I changed the extensions from pl to cgi because i wasn't getting anywhere with .pl i have changed them back to pl now though.

          One thing i noticed. If i upload the scripts in Ascii using wsftp, after each script uploads i get a message saying error 550 no such file. I also then have to go into the cgi directory after all scripts are uploaded and manually set the permissions for each file to 755. They are only set to 644 when i first check. Does that mean the ISP people have set up something wrong?

          Cheers and thanks for replying

          Jacy

          (P.S) I was kidding about the execution thing
          Jacys Computer Supplies
          Web: http://www.jacyscomputers.com.au
          email: sales@jacyscomputers.com.au

          Comment


            #6
            I just looked at all the files on ftp site and all of the permissions are set to 644. Should they all be 755?

            Cheers,

            Jacy
            Jacys Computer Supplies
            Web: http://www.jacyscomputers.com.au
            email: sales@jacyscomputers.com.au

            Comment


              #7
              That could well be the problem.

              All the *.pl files need to be 755 - but the *.pm files can stay as 644.

              Comment


                #8
                Hiya Chris,
                Thanks for replying. If the permissions were set incorrectly on the server even if i change them each time through an FTP program manually there would still be problems wouldn't there? It won't be fixed until my ISP sets the correct permissions, is that right?

                Cheers,

                Jacy
                Jacys Computer Supplies
                Web: http://www.jacyscomputers.com.au
                email: sales@jacyscomputers.com.au

                Comment


                  #9
                  Actinic seems to be able upload them, but it just can't execute them. Changing the permissions on the files once they are uploaded will mean that they can then run correctly.

                  Actinic will not need to re-upload Perl files unless you make any changes to your network settings.

                  Comment

                  Working...
                  X