Getting an internal server error after editing Perl script

: I had someone edit code on a perl script for a web program I have. When he gave me the admin.cgi file I replaced the old one with the one he gave me and tried it but I got an internal server error. Can someone help me with finding out why it is failing? The guy is gone for the weekend and I want to try to get it running. He says everything is fine on his side. He even sent me a screenshot.
He is in India so I was thinking maybe it is some kind of ISO issue with the file or maybe a server unix/windows incompatibility?

What do you think?
DantechITAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

stergiumCommented:
hello.
can you paste some of the code(or all of it) to debug maybe?
having in mind that its an admin.cgi  some parts should stay hidden in my opinion.
do you know what your programmer changed?
maybe paste that part only.
please feedback
0
lwadwellCommented:
what web server are you using?  Is it unix or windows?  If unix, is the permissions on the script right?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
TintinCommented:
Was the script edited on Windows and uploaded to a Unix/Linux server/

If so, it will most likely have Windows EOL characters.  
0
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

DantechITAuthor Commented:
He said I might need to use dos2unix but it didn't work.
0
DantechITAuthor Commented:
Not sure what server it is, it's a hosted account. I'll find out.
0
DantechITAuthor Commented:
Permissions issue

thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Scripting Languages

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.