rav4rosie
Members-
Posts
13 -
Joined
-
Last visited
Everything posted by rav4rosie
-
heh...i guess i did. he looked a bit shocked instead of happy
-
omg, no way. you are awesome. I can't thank you enough!! I will go in and see what changes need to be made.
-
It just dawned on me. I did move all files and folders to /mtfi not just the cgi files. So not sure if I need to re-do that part. What do you think if I gave you my password and you could try installing? If not I understand. I do appreciate all the help you've given me up to this point.
-
Ok, I want to make sure what I'm doing. When you say unpack, I assume you mean unzip? Originally I unzipped onto my pc then did the ftp to the site. Is that correct. Or do I upload it as is then unzip directly from the site? Do I create the directory MT-2.51-full-lib before doing any of the above?
-
I read the links and I think I found what applies to me (?). But I don't know where to put the script. Explicitly using Options to permit CGI execution You could explicitly use the Options directive, inside your main server configuration file, to specify that CGI execution was permitted in a particular directory: <Directory /usr/local/apache/htdocs/somedir> Options +ExecCGI </Directory> The above directive tells Apache to permit the execution of CGI files. You will also need to tell the server what files are CGI files. The following AddHandler directive tells the server to treat all files with the cgi or pl extension as CGI programs: AddHandler cgi-script cgi pl AND/OR .htaccess files A .htaccess file is a way to set configuration directives on a per-directory basis. When Apache serves a resource, it looks in the directory from which it is serving a file for a file called .htaccess, and, if it finds it, it will apply directives found therein. .htaccess files can be permitted with the AllowOverride directive, which specifies what types of directives can appear in these files, or if they are not allowed at all. To permit the directive we will need for this purpose, the following configuration will be needed in your main server configuration: AllowOverride Options In the .htaccess file, you'll need the following directive: Options +ExecCGI which tells Apache that execution of CGI programs is permitted in this directory.
-
I had previously posted on the MT boards and no one had responded or so I thought. (I just never got email notification) They posted these links: http://httpd.apache.org/docs/howto/cgi.htm...achetopermitcgi http://httpd.apache.org/docs/howto/cgi.htm...stillnotworking I'm going to read those and see if I can understand what I need to do.
-
I did what you mentioned. Started from a fresh install (ver 2.51), uploaded and made changes and still same error. Here are the changes I made: mt.cfg CGIPath http://www.photo-phrensy.com/journal/mtfi/ DataSource ./db <----left that alone ObjectDriver DBI::mysql Database ravrosie_ravrosiemtfi DBUser ravrosie_ravrose # StaticWebPath /path/to/static-files/ <------left this alone DBUmask 0022 HTMLUmask 0022 UploadUmask 0022 DirUmask 0022 -------------------- mt-db-pass.cgi put in my db password -------------------- changed all .cgi to 755 If you are not using Movable Type's Berkeley DB support, skip this step. <---skipped /usr/bin/perl -w <-----changed to that on .cgi files RAN http://www.photo-phrensy.com/journal/mtfi/mt-check.cgi and got same error changed .cgi to 777 and still same here
-
I'll do the steps you said...might take awhile since I'm at work. But I will keep you posted :-) In the meantime, this is the MT version I downloaded: Full Version, with Libraries: this archive contains the full Movable Type system and all of the external libraries needed by the system. If you're not sure whether your hosting provider has the external modules installed, select this version, and follow the installation instructions. I will have to go back to MT to get the install so I'll wait to hear from you to see if I am downloading the correct version.
-
I'm still having trouble. I did what you requested and I still get the same error message. Some stuff I did: CGIPath http://www.photo-phrensy.com/journal/mtfi/ all .cgi to 777 .cgi not in cgi-bin anymore but changed StaticWebPath /journal/mtfi/ (took out # in front) When I run http://www.photo-phrensy.com/journal/mtfi/mt-check.cgi now, I still get the same error message. Do I need to change any permissions besides the .cgi files? I changed the .cgi folder, /mtfi folder and /journal folder to 777 too.
-
Its funny...from the looks of the forums at MT, my error is quite common. But none of the responses seemed to help me. When you say 'unpack the MT archive. I'm not quite sure what that means. I moved the MT files (not .cgi) to http://www.photo-phrensy.com/journal/mtfi/ I moved the MT CGI files to http://www.photo-phrensy/journal/cgi-bin I set all .cgi permissions to 755 I also set /journal/ , /journal/mtfi/ and journal/cgi-bin to 755 Following is what my mt.cfg file looks like (I deleted parts of it to fit this all in one post): ## Movable Type configuration file [mt.cfg] ## ## # Movable Type uses the CGIPath setting to construct links back to blah blah blah, in INSTALLING THE MOVABLE TYPE # APPLICATION CODE, Step 3. CGIPath http://www.photo-phrensy.com/journal/cgi-bin/ # The filesystem path to the 'db' directory, where your MT database # files are stored. You will probably need to change this when you # first install MT; instructions for doing so are in the Installation # Instructions, in INSTALLING THE MOVABLE TYPE APPLICATION CODE, Step 8. DataSource ./db ObjectDriver DBI::mysql Database ravrosie_ravrosiemtfi DBUser ravrosie_ravrose DBUmask 0022 HTMLUmask 0022 UploadUmask 0022 DirUmask 0022 ## The following options are commented out: to uncomment an ## ## option, remove the '#' at the beginning of the line. ## ## First, however, make sure that you understand the purpose ## ## of the configuration setting. ## # # If you place all of your MT files in a cgi-bin directory, you # will need to situate the static files (docs, images, styles.css)blah blah blah # # StaticWebPath /journal/mtfi/ # # # The filesystem path to the 'tmpl' directory, which contains the # front-end templates used by the Movable Type application. This blah blah blah # # TemplatePath ./tmpl # # # # be used throughout the default templates and Movable Type code by changing # these values. # # CommentScript mt-comments.pl # TrackbackScript mt-tb.pl # SearchScript mt-search.pl # # I DELETED THE REST OF THE FILE FOR THIS POST
-
I'm trying to get movabletype to work. I'm supposed to run the following script: http://www.photo-phrensy.com/journal/cgi-b...bin/mt-load.cgi the mt-load.cgi is located in ..journal/cgi-bin But I get the following error: ------------------------------------------------------ ------------------------------------------------------ Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@photo-phrensy.com and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. -------------------------------------------------------------------------------- Apache/1.3.27 Server at www.photo-phrensy.com Port 80 ------------------------------------------------------ ------------------------------------------------------ I'm not sure what I'm doing wrong. Help. I'm just learing about cgi's by trial and error since yesterday...crash course I guess you would say.
-
Thank you! That fixed my problem. Rosie
-
I'm trying to install pmachine(.com) on my site. I get the following error. ------------------------------------------------------------------ MySQL Error: 1044 Access denied for user: 'ravrosie@localhost' to database 'ravrosie' Unable to create the database specified in your config file. There was a problem trying to create the following database: ravrosie Please contact your hosting provider to verify that you have the privileges necessary to do so. ------------------------------------------------------------------- Here is a copy of my config.php. Not sure what I am doing wrong? Help pls! <?php // DATABASE VARIABLES // If you do not know what these values should be, please contact // your hosting provider. Most problems occur as a result of // an error in this file. // HOST NAME OR SERVER ADDRESS // Usually this is the name of your domain (www.yoursite.com). // In some cases the hostname will instead be "localhost". $hostname = "localhost"; // MySQL USERNAME // This is the username you use to access your MySQL database. // Note: This is usually NOT the same as your FTP username. $dbusername = "ravrosie"; // MySQL PASSWORD // The password used to access your MySQL database. // Note: This is usually NOT the same as your FTP password. $dbpassword = "indigo"; // DATABASE NAME // Some hosting providers assign you a specific database. // If this is the case, change this variable to the name of // the database they require, otherwise you can leave it alone. // If you are not using an existing database you might have // to create the database prior to installing pMachine. $dbname = "ravrosie"; // DEFAULT LANGUAGE OPTION // This variable determines the default language used in the control panel. // Language packs can be downloaded at pMachine.com. You can override the // default language on a per-login basis if you have more than one language // pack installed. $language = "english"; // FOR ADVANCED USERS ----------------------------------------------------- // Do not mess with these variables unless you know what you are doing. // DEBUG // This variables turns PHP and MySQL error message on or off for // debugging purposes. It is recommended that you leave debug on during // development only - not with a "live" site, due to security issues. // 1 = on // 0 = off $debug = 1; // DATABASE // mysql is the only supported database at this time. $database = "mysql"; // DATABASE TABLE PREFIX // Change this if you want the database tables to be installed // with a different prefix. $dbprefix = "pm"; // DATABASE CONNECTION TYPE // 0 = non-persistent // 1 = persistent (generally faster) $conntype = 1; // IMAGE UPLOAD METHOD // This variable determines which method pMachine uses to upload images. // 1 = Default method. Recommended for newer versions of PHP, especially with // register_globals = off // 2 = Works with older versions of PHP (uses "copy" method). // 3 = Words with older versions of PHP (uses "move_uploaded_file" method). $upload_method = 1; // SESSION ID OPTION // Cookies are used in the control panel by default. Query string // session ID's can be used instead, by setting this variable to 1 // rather than 0. $use_session_id =0; // HEADER REDIRECT // Alternate header redirect. Some NT servers // have difficulty setting cookies when the standard php header // redirect (header("location:x.php") is used. This variable allows // you to use the slower "meta tag refresh" method which has proven to be more // reliable for those servers with problems setting cookies. $redirect_method =0; // OPEN_BASEDIR RESTRICTION // If your php configuration has an "open_basedir" restriction // change this variable to "1". $open_basedir =0; // If you set the previous variable to "1", this is the name of // your "members" directory. $obd_memdir = "./members/"; ?>
