Announcement

Collapse
No announcement yet.

500 Internal Server Error

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

    500 Internal Server Error

    Having just moved hosts we are getting Internal Server Errors when we are trying to view our pages. I contacted our hosts and they told me...
    "the .pl files were full of windows line breaks, which often cause perl scripts to fail on a unix system."
    Helpfully they ran a script to remove these line breaks but can I stop Actinic using them as every time we update the site these will be overwritten.

    As far as we can tell our hosts are running a version of Debian on the server.

    #2
    I would recommend using one of the Actinic specialist hosts - I use webfusion for all my Actinic site and have no problems.

    This subject of hosting has been discussed at length recently - if you do a search you will get the names of some good hosts.

    Comment


      #3
      Thanks for the quick response, unfortunately that is not an option that is open to us.
      Does this mean that there is no functionality within actinic to change the line break type?

      Comment


        #4
        functionality within actinic to change the line break type
        I dont know the answer to that one - sorry. Wait a while and see if one of the other members or Actinic know the answer or give them a call?

        Comment


          #5
          Hi there,

          Does this mean that there is no functionality within actinic to change the line break type?
          Nope, Afraid not, Actinic is a windows product, therefore the scripts will have line breaks in them. What you could do, is use a freeware software called DOS2UNIX.exe (I have attached it to this thread - very small console application). Drop the program into your site1 folder, it is a small program, highlight all the perlscripts (eg .pl and .pm) and move them to the application. Once you have highlighted the application, let go, and you will see a console screen, which is telling you, the scripts are being processed. Once that is done, it should work fine.

          To be honest, this issue is very rare, I have only seen a small case of this happening, most hosting company who run Linux server do not have this problem. The only solution is to use the dos2unix program on your perlscripts.

          Kind Regards
          Attached Files
          Nadeem Rasool
          SellerDeck Development

          Comment


            #6
            Many thanks Nadeem, I'll give it a go.

            Comment


              #7
              Thank you very much for your suggestion. The application works perfectly, however, after converting the files and pressing the Update button in Actinic, we still get the 500 server errors. When inspecting the files we converted after the update, Actinic has put the Windows line breaks back in.

              Do you have any other suggestions that we could try?

              Thank you very much for your help, it is greatly appreciated.

              Comment


                #8
                Hi Andrew,

                I'm afraid what you may need to do, is to manually upload the scripts files after converting them with the utility. Like you have written, Actinic being a windows program will put in line breaks in.
                What you could do, whenever you want to update, is go to "Advance | Generate Website", this will generate all the html files within you local pc, eg "C:\Program Files\Actinic v7\Sites\Site1\SiteHTML". You would upload the content of the htmls file within the /acatalog/ folder of the website.

                Kind Regards
                Nadeem Rasool
                SellerDeck Development

                Comment

                Working...
                X