Professional Web Applications Themes

compile to CGI - PERL Beginners

On Thu, 25 Dec 2003, Stijn DM wrote: > I installed a script called "megauploader" successfully and did some layout > work in the php doents > to fit it to my own needs. > > Now I also would like to change the layout in the progress bar window. The > problem > is that this is a CGI doent and I am somewhat inexperienced in Perl. > > Each time I make a modification in the CGI file (using a text editor) and I > save it, I get a Internal > Server Error. I think because of ...

  1. #1

    Default Re: compile to CGI


    On Thu, 25 Dec 2003, Stijn DM wrote:
    > I installed a script called "megauploader" successfully and did some layout
    > work in the php doents
    > to fit it to my own needs.
    >
    > Now I also would like to change the layout in the progress bar window. The
    > problem
    > is that this is a CGI doent and I am somewhat inexperienced in Perl.
    >
    > Each time I make a modification in the CGI file (using a text editor) and I
    > save it, I get a Internal
    > Server Error. I think because of the fact that I didn't compile the original
    > script to a new cgi file.
    >
    > Is there any way that I can modify the cgi files or that I can compile the
    > perl
    > files to cgi again? This might seem a really dumb question, but as I said,
    > I'm new on the issue.


    When you modify a program, you have to modify it so that the
    "Perl" recompiles correctly.

    I suggest that you are making an incorrect "Perl" statement when you
    change the script.

    Why don't you post the lines you want to change, and the lines after you
    changed them. maybe someone can tell you the error of your ways.

    Also it would be helpful if you had Perl installed on your computer for
    testing or even learning perl.

    If you had perl you could say
    "perl -c megauploader.cgi" to see if it will still compile before
    you put it on the server.

    Good luck



    Owen


    Owen Cook Guest

  2. #2

    Default Re: compile to CGI

    Stijn DM wrote:
    > Hi,
    >
    > I installed a script called "megauploader" successfully and did some layout
    > work in the php doents
    > to fit it to my own needs.
    >
    > Now I also would like to change the layout in the progress bar window. The
    > problem
    > is that this is a CGI doent and I am somewhat inexperienced in Perl.
    >
    > Each time I make a modification in the CGI file (using a text editor) and I
    > save it, I get a Internal
    > Server Error. I think because of the fact that I didn't compile the original
    > script to a new cgi file.
    >
    > Is there any way that I can modify the cgi files or that I can compile the
    > perl
    > files to cgi again? This might seem a really dumb question, but as I said,
    > I'm new on the issue.
    >
    > Thanks for your help,
    > Stijn
    I'm going to take a wild peep into my crystal ball, and guess that you are
    FTP'ing in binary mode from a Windows or Mac. Use ASCII mode when FTP'ing
    scripts to an unknown or different OS. The different systems use different
    escape sequences for their newlines, and ASCII mode will handle the translation
    transparently.

    Joseph

    R. Joseph Newton Guest

Similar Threads

  1. e4x and (&&) won't compile
    By maxrahder in forum Macromedia Flex General Discussion
    Replies: 2
    Last Post: April 14th, 06:22 PM
  2. how to compile a VC++ 6.0 ATL project in .net
    By amit bharadwaj in forum ASP.NET Building Controls
    Replies: 0
    Last Post: August 11th, 05:27 AM
  3. Compile help...
    By Scott V Nipp in forum PERL Beginners
    Replies: 2
    Last Post: December 4th, 03:40 PM
  4. compile php 4.3.3 with gd
    By kecebong in forum PHP Development
    Replies: 7
    Last Post: October 28th, 12:22 PM
  5. lftp - how to compile it with ssl?
    By Michael Heiming in forum Linux Setup, Configuration & Administration
    Replies: 2
    Last Post: August 3rd, 01:11 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139