Help - Search - Members - Calendar
Full Version: 500 Internal Server Error After Upgrading
Movable Type Community Forum > Installing and Upgrading > Upgrading
Passionate
I had upgraded to Movable Type 3.33. And now I am getting these 500 Internal Server errors everytime I add a new entry or make a change to an existing entry. It seems that the problem comes back everytime the files are re-generated. Right now, the patch-up solution I have found is to manually chmod to 644 all files in the "archives" folder and the index.php and archives.php files in the main folder. It can't be that I have to do this with every new entry?? Did I do anything wrong? Please help!

http://www.aboutjulia.com/site/news/news-main.php
lisa
If you need the files to be set to 644, please try adding the following to your mt-config.cgi:

DBUmask 0022
HTMLUmask 0022
UploadUmask 0022
DirUmask 0022
Passionate
Thank you so much for your help, and yes, somewhat it helped. I do not have to re-chmod the http://www.aboutjulia.com/site/news/news-main.php file to 755 when making a new post as I had to before. And the new post appears on that same page.

BUT, when I try to enter to individual pages (http://www.aboutjulia.com/site/news/archives/2006/10/movie_to_be_fil.php) the following appears:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@aboutjulia.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.


Help would be greatly appreciated!
lisa
What's being logged in the web server error logs when you get this error?
Passionate
QUOTE (lisa @ Oct 5 2006, 08:25 PM) *
What's being logged in the web server error logs when you get this error?


This is what I got:

error: directory is writable by others: (/home/lindah/public_html/site/news/archives/2006/10)

Thank you so much for helping me out!
TweezerMan
That error indicates the directory mentioned probably has 0777 permissions. You'll likely need to change the directory's permissions to something like 0755.

If there are a large number of archive directories with 0777 permissions, another option would be to delete all of the directories in your /home/lindah/public_html/site/news/archives directory, then rebuild all of your archives. With the 'DirUmask 0022' setting now in your mt-config.cgi file, Movable Type should now create new archive directories with 0755 permissions automatically.

Hope this helps...
Passionate
Yesyesyes! It worked! I deleted all the archives and rebuilt the site and now it all works, thank you SO much! biggrin.gif
funnelbc
QUOTE (TweezerMan @ Oct 6 2006, 04:27 PM) *
That error indicates the directory mentioned probably has 0777 permissions. You'll likely need to change the directory's permissions to something like 0755.


This was my problem. It wasn't upgrading, so I thought i had to set permissions to 777 (I don't know why I thought that was a good idea) but it turns out I hadn't configured mt-config.cgi properly. Once I changed permissions to 755 it all upgrade fine! Thanks tweezerMan!
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-2009 Invision Power Services, Inc.