Jump to content

Recommended Posts

Posted

Hi everyone. Believe it or not, I'm a programmer - but I don't know squat about web programming as I'm a mainframe guy.

 

Anyway, I'm using your tutorial (along with another topic in this board) to try and get it going. I've gotten to this step:

 

1. From a browser run mt-check.cgi

 

and then I get a 404 not found. Here's what I've done:

 

From my config file:

 

CGIPath http://69.50.193.76/cgi-bin/

 

DataSource ./db

 

ObjectDriver DBI::mysql

Database plongor_mtdatabase

DBUser plongor_mtadmin

 

I have also put the password in mt-db-pass.cgi and chmod all the .cgi files to 755. MT is located outside of the cgi-bin which I thought was OK. It's in public_html/mt/ along with all of the other extracted files.

 

I have created the database and added a user as named above (plongor_mtadmin in database plongor_mtdatabase).

 

So I go to execute, and try http://69.50.193.76/mt/mt-check.cgi in my browser. I know there's an mt directory in public_html and I know there's a file called 'mt-check.cgi' in that directory. I'm so sure it exists that I'm going to go insane!! Yet I get a 404 error.

 

If you can offer me any help I would really appreciate it. Do I need to chmod any directories? Thanks in advance.

 

Jeremy

Posted

You should have the following path in the mt.cfg:

 

CGIPath http://69.50.193.76/~username/mt/

 

You have to include the ~username (replacing it with your Cpanel username) in order to get the path to work correctly. Also, once your domain is resolving to the server you should change this to use the domain name, i.e. http://******/mt, rather than the IP address.

 

It is much easier to get scripts to work once the domain is resolving correctly.

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