Your best friend for file transfer.

Fetch application logoFetch

perl script uploaded as text gets 500 error (4 posts)

  • Started 17 years ago by Jack Andrews
  • Latest reply 17 years ago from Scott McGuire
  • Jack Andrews Member

    I have tried several different ways to upload a revised perl script that has only slight modifications to the text that is displayed on the page by the script. I have tried downloading it as text via Preferences, I have tried Automatic and Text for uploads. I have viewed both files via the Fetch window View button and they look identical to me except for those minor text edits. I am not a perl coder, so I need some help. Thanks.
    url: http://www.freemovetexas.com/cgi-bin/arrange.pl
    The original script is cgi-bin/arrange.pl.before

    Posted 17 years ago #

  • Scott McGuire Administrator

    Hi,

    I'm sorry, but I don't understand what your question is.

    Is Fetch giving you the "500 error" when you try to upload the script? Or is it that you upload the script, and it doesn't work as you expected?

    If you are getting an error from Fetch, after you try to upload and you get the error message, could you please choose Fetch Transcript from the Window menu, copy the entire contents of the transcript window, and paste them into a reply to this message?

    We'll take a look and try to figure out what's going on.

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 17 years ago #

  • Jack Andrews Member

    I received a 500 internal server error after I uploaded the file to the server via Fetch. It was not a Fetch error. I also tried downloading the file as text via Fetch prefs before editing it.

    Originally posted by ScottMcGuire:

    Hi,

    I'm sorry, but I don't understand what your question is.

    Is Fetch giving you the "500 error" when you try to upload the script? Or is it that you upload the script, and it doesn't work as you expected?

    If you are getting an error from Fetch, after you try to upload and you get the error message, could you please choose Fetch Transcript from the Window menu, copy the entire contents of the transcript window, and paste them into a reply to this message?

    We'll take a look and try to figure out what's going on.

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 17 years ago #

  • Scott McGuire Administrator

    Hi,

    Perhaps the permissions on the script aren't set correctly? Scripts in the cgi-bin folder usually need to have their permissions set to be executable and readable by everyone.

    Try doing the following:

    * Connect to the server, and find the perl script.
    * Select the perl script.
    * Click the Get Info button in Fetch.
    * Click the disclosure triangle next to "Ownership and Permissions" to display the permissions pane of the info window, if necessary.
    * In the "UNIX equivalent" text field, type "755" (without quotes).
    * Click the Apply button.

    Then see if the script works correctly in your browser (don't forget to reload the page and/or script in the browser, just in case).

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 17 years ago #

Reply

  • Or nickname, if you prefer.
  • This will be kept confidential.
  • This is to ensure that you’re a person, not a spambot.