Jump to content

Recommended Posts

Posted (edited)

could i get a tch tech take a look at my mt set up? i followed the installation directions i thought correctly, but apparently not.

Edited by godivad
Posted

I'm not a "tch tech", but I can help you figure out what's wrong. :)

 

What page are you receiving the "internal server error" (500 error) on? (Also, the URL to your mt.cgi script would be helpful.)

 

Is there any error message showing up in your CPanel error log?

 

Are the permissions set correctly on the MT *.cgi scripts (0755)?

Posted
I'm not a "tch tech", but I can help you figure out what's wrong.  :)

 

What page are you receiving the "internal server error" (500 error) on?  (Also, the URL to your mt.cgi script would be helpful.)

 

Is there any error message showing up in your CPanel error log?

 

Are the permissions set correctly on the MT *.cgi scripts (0755)?

 

Thanks David. Sorry for the "tech" slip.

 

I checked the permissions for the cgi scripts, they are all 755.

 

I am getting the 500 error on every page tried - mt.cgi, mt-check.cgi, mt-load.cgi.

 

Here's the error in the log:

File does not exist: /home/xxxx/public_html/500.shtml

Premature end of script headers: /home/xxxx/public_html/cgi-bin/hod/mt-check.cgi

 

It's the same errors for mt-load and mt.

 

URL www.godivadiva.com/cgi-bin/hod

 

Thanks for any help you can provide!

Posted

It's kind of a general error saying that there's a problem running a CGI script. (no kidding, right?)

 

Check to make sure the cgi files were uploaded in ASCII mode, not binary. If you uploaded the whole tar.gz file and unpacked it on the server, this shouldn't be an issue.

 

Make sure the permissions on your cgi files are all 755. I know David already suggested that, but it really seems to be the most common reason stuff doesn't work initially. Specifically check mt-load.cgi. I want to say that the last time I installed MT, all the scripts but that one were 755 upon install. So if you just glance at the list, you might miss that one. Hopefullly that's it.

 

-Tim

Posted

Tim is correct in saying that the problem is most likely due to a common mistake.

 

Checking whether the MT files were uploaded in ASCII or binary: If you uploaded the .tar.gz file to your server, it should have been uploaded in binary mode. If you downloaded the MT archive to your machine (.tar.gz or .zip), unpacked it there, then uploaded the unpacked MT files to your server, they should have been uploaded in ASCII mode.

 

Since all of your MT scripts appear to be generate a 500 error, I'd suggest focusing on the mt-check.cgi script first. The mt-check.cgi script does not call on any other MT files and is the one most likely to run successfully, even when there are problems with other MT files. Since that one does not run, that would suggest it is either a permissions problem, or the script was not uploaded to the server in ASCII mode.

Posted

Thanks David and Tim. Simple little things make a huge difference. I was downloading the tar.gz file and uploading it in ascii mode. Couldn't figure out why only certain files decompressed, and none of them were the cgi files. So I tried the zip file (again uploaded in ascii mode), and that worked better. I changed the permissions on mt-load as Tim pointed out, was able to get mt-check.cgi to work, but it said I needed html:templates. didn't seem hard on the instructions, but the html:templates tar.gz file wouldn't open, kept getting error message, tried both winzip and pkzip.

Got frustrated with that. Saw David's comment about uploading the tar.gz in binary mode, and viola. Works like a charm.

 

:) Thanks again.

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...