Help - Search - Members - Calendar
Full Version: 502.2 Bad Gateway Error Applying Styles
Movable Type Community Forum > Using Movable Type > Default Stylesheets
Chris MacDougall
I'm running Movable Type Pro version 4.21-en with: Community Pack 1.6, Professional Pack 1.2 and everything works fine except when I apply a style. I get a windows pop up error message thats HTML code. All I can glean is that its a 502.2 Bad Gateway error. I have no idea whats up. I'm running IIS 7 and like I said everything else works fine.

Any help would be greatly appreciated. Thanks.

Chris.
OtherNiceMan
I don't know if this will help http://forums.iis.net/p/1147121/1859888.aspx ? What version of windows are you running IIS7 on?
david
This error is occurring due to a known issue in the Stylecatcher plugin code. To resolve this issue, you will need to edit the /plugins/StyleCatcher/lib/StyleCatcher/CMS.pm file from within the Movable Type installation directory in a text editor, and locate the following code which should be at line 273 in the file:
CODE
print STDERR "styles=$styles\n";

Comment out the above line by adding a "#" at the beginning of the line:
CODE
# print STDERR "styles=$styles\n";

Then save the edited CMS.pm file, and upload it back to the /plugins/StyleCatcher/lib/StyleCatcher subdirectory within the Movable Type installation directory on the server, making sure to upload the file in ASCII mode, and making sure that the uploaded file overwrites the existing file on the server.

After uploading the edited StyleCatcher CMS.pm file to the server, log in to Movable Type, browse to the Design > Styles page, try applying a theme, and see whether you still encounter this issue.
Chris MacDougall
Thanks. That was all I had to do.
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.