Help - Search - Members - Calendar
Full Version: Odd Behavior After Upgrading To 3.2
Movable Type Community Forum > Other Product Discussion > Bugs and Odd Behavior
utgrad70
First of all the address to my blog is: http://www.utgrad70.net/cgi_bin/

Secondly, I hope this is the right forum to post this.

I have had two quirky things happen since upgrading to 3.2.

It is easier to ask you to view the site then explain the problem.

Pause, wait...
As you can see the calendar completely disappeared and the background is completely white.

While I understand both HTML and CSS, my understanding of PHP is limited. So, I am not sure what exactly happened or how to correct the problem.

Also, the archive files keep getting a .static added to the end. Even after I have manually removed each one.

Any ideas?
mgs
The following CSS is referenced...

CODE
http://www.utgrad70.net/styles-site.css


However, that file does not exist. So no styling takes place (background white, fonts are default, ...).

The style sheet is a normal index template. What should be the target file for that template?

Michael G. Schneider
utgrad70
QUOTE (mgs @ Dec 1 2005, 07:12 AM)
The following CSS is referenced...

CODE
http://www.utgrad70.net/styles-site.css


However, that file does not exist. So no styling takes place (background white, fonts are default, ...).

The style sheet is a normal index template. What should be the target file for that template?

Michael G. Schneider
*
lisa
QUOTE (utgrad70 @ Nov 30 2005, 07:49 PM)
First of all the address to my blog is: http://www.utgrad70.net/cgi_bin/

Secondly, I hope this is the right forum to post this.

I have had two quirky things happen since upgrading to 3.2.

It is easier to ask you to view the site then explain the problem.

Pause, wait...
As you can see the calendar completely disappeared and the background is completely white.

While I understand both HTML and CSS, my understanding of PHP is limited. So, I am not sure what exactly happened or how to correct the problem.

Also, the archive files keep getting a .static added to the end. Even after I have manually removed each one.

Any ideas?
*


First, your weblog should not be in cgi-bin. That should only contain the Movable Type installation files.

When you go into mt.cgi, you should set your weblog Site URL to something like http://www.utgrad70.net/weblog/ and your Site Root to /home/utgrad70/public_html/weblog/

In mt-config.cgi, your CGIPath should be http://www.utgrad70.net/cgi_bin/ and your StaticWebPath should be http://www.utgrad70.net/mt-static/

Then rebuild everything. That should make things a lot happier.
utgrad70
QUOTE (lisa @ Dec 9 2005, 08:18 PM)
QUOTE (utgrad70 @ Nov 30 2005, 07:49 PM)
First of all the address to my blog is: http://www.utgrad70.net/cgi_bin/

Secondly, I hope this is the right forum to post this.

I have had two quirky things happen since upgrading to 3.2.

It is easier to ask you to view the site then explain the problem.

Pause, wait...
As you can see the calendar completely disappeared and the background is completely white.

While I understand both HTML and CSS, my understanding of PHP is limited. So, I am not sure what exactly happened or how to correct the problem.

Also, the archive files keep getting a .static added to the end. Even after I have manuallyremoved each one.

Any ideas?
*


First, your weblog should not be in cgi-bin. That should only contain the Movable Type installation files.

When you go into mt.cgi, you should set your weblog Site URL to something like http://www.utgrad70.net/weblog/ and your Site Root to /home/utgrad70/public_html/weblog/

In mt-config.cgi, your CGIPath should be http://www.utgrad70.net/cgi_bin/ and your StaticWebPath should be http://www.utgrad70.net/mt-static/

Then rebuild everything. That should make things a lot happier.
*



Okay, you lost me. I thought everything except the docs were supposed to be in the cgi_bin. I thought that was so you could set file permissions and run scripts. And I have never had this problem before. Is this a new thing in 3.2? And when you say weblog, exactly which files are you referring to. You say all except the installation files. Which files are you referring to. I thought those files were to be deleted after installation. So exactly what files go where?

In fact, MT's user manual states:

(Installing MT in your web root directory: We recommend that you do not install Movable Type in your web documents root directory. This can cause security issues in some configurations, and can lead to confusion or complexity when publishing.

If you must install Movable Type in your web documents directory, it is best to install it in a subdirectory dedicated to the application files (e.g. /mt). This setup avoids all configuration and security issues.

Open a FTP connection to your server and move to a directory such as cgi-bin where scripts can be run by the web server. It is recommended that you install the system in a subdirectory such as cgi-bin/mt to make future management easier. If this directory does not exist, create it and then open it. You are now ready to upload the software.)

You seem to be saying ignore this. As I said, you lost me.

I did throw everything into Dreamweaver 8 and corrected the link problems. I had to do this for each index and each archive file. When I uploaded this, all worked well. Then I was ready to add a new entry. As soon as I rebuilt the site, it was all screwed up again.

Plus, the calendar disappeared. Is this also new in 3.2?

Thanks for any help you can give.
arvind
Indeed, Movable Type should be installed into the cgi-bin as you pointed out, it makes the installation more secure. However, your weblogs should be published into another folder as the cgi-bin is reserved for *.cgi (and related) files.

As a result, for each weblog you have on your system, change the urls and paths to move them out of the cgi-bin. Lisa's given you a start on one of your blogs by giving you the site URL and path, simply enter these under Settings > Publishing and perform a rebuild.

The calendar was removed from the default templates in Movable Type 3.2, however you can find the code here
utgrad70
QUOTE (arvind_2100 @ Dec 20 2005, 05:08 PM)
Indeed, Movable Type should be installed into the cgi-bin as you pointed out, it makes the installation more secure. However, your weblogs should be published into another folder as the cgi-bin is reserved for *.cgi (and related) files.

As a result, for each weblog you have on your system, change the urls and paths to move them out of the cgi-bin. Lisa's given you a start on one of your blogs by giving you the site URL and path, simply enter these under Settings > Publishing and perform a rebuild.

The calendar was removed from the default templates in Movable Type 3.2, however you can find the code here
*


Both of you keep saying weblog. You say everything that isn't a .cgi file. So everything goes? Archives, Examples, MT, Import, extras, PHP, mt-site.js, etc. etc. etc. everything?

So, I create a directory labled "weblog" and move everything else there?

And then edit the settings to match Lisa's directions?

Thanks again.
lisa
QUOTE (utgrad70 @ Dec 20 2005, 12:28 PM)
QUOTE (arvind_2100 @ Dec 20 2005, 05:08 PM)
Indeed, Movable Type should be installed into the cgi-bin as you pointed out, it makes the installation more secure. However, your weblogs should be published into another folder as the cgi-bin is reserved for *.cgi (and related) files.

As a result, for each weblog you have on your system, change the urls and paths to move them out of the cgi-bin. Lisa's given you a start on one of your blogs by giving you the site URL and path, simply enter these under Settings > Publishing and perform a rebuild.

The calendar was removed from the default templates in Movable Type 3.2, however you can find the code here
*


Both of you keep saying weblog. You say everything that isn't a .cgi file. So everything goes? Archives, Examples, MT, Import, extras, PHP, mt-site.js, etc. etc. etc. everything?

So, I create a directory labled "weblog" and move everything else there?

And then edit the settings to match Lisa's directions?

Thanks again.
*



/home/utgrad70/public_html/cgi-bin should contain:
all files ending in "cgi"
default_templates
extlib
extras
lib
php
plugins
search_templates
tmpl
tools

/home/utgrad70/public_html should contain:
mt-static

Then you edit mt-config.cgi and fix CGIPath and StaticWebPath.
Then goto: http://www.utgrad70.net/cgi_bin/mt.cgi and log in.
Change your Site Root and Site URL per my earlier reply and rebuild your weblog.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.