Jump to content

Recommended Posts

Posted

I've got a script that works fine in perl, but whenever I access it via web, it gives me a 500 error with the ever helpful 'premature end of script headers' error.

 

Again, script works fine in perl with no errors, but won't run on website (and it has the right permissions to run).

 

Any ideas on what to look for?

Posted
Did you upload it in ASCII mode vs Binary? If yes, can you post the contents of the script and maybe one of the members can spot a problem,

 

Well, now it's working. Seems IE did upload it in binary mode.

 

Still gives me an error on my local server (just not in perl) though, not sure why, need to dig in to the server config I guess, obviously I screwed something up!

 

I couldn't have posted the code anyway, it's nearly 2000 lines (and growing).

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...