Help - Search - Members - Calendar
Full Version: Can't Change Archive Mapping
Movable Type Community Forum > Other Product Discussion > Bugs and Odd Behavior
David Burden
I've just upgraded to MT4.1 - installing it from scratch with a new web hosting company. Everything appeared to be OK, until....

I want to store entries using a category rather than yyyy/mm path so changed the archive mapping for the Entry template, but when I clicked on save the browser loaded my domains home page. Checking back into MT I find that the mapping hasn't change. I've tried deleting the Blog and starting again, I've tried just a different yyyy/mm format I've tried Firefox and IE7 (as one post here suggested that might be a problem), its always the same result. Changes to the template itself also cause the same problem. Any ideas?

David
Su-
Are you sure you don't have a funny htaccess rule in effect? There's no reason doing something within MT should ever just dump you on your domains home page(http://www.yourdomain.com/ right?).
David Burden
QUOTE (Su- @ Mar 16 2008, 05:25 PM) *
Are you sure you don't have a funny htaccess rule in effect? There's no reason doing something within MT should ever just dump you on your domains home page(http://www.yourdomain.com/ right?).


OK, done a bit more digging - and the problem is more general, but also more specific. Essentially whenever I use an edit screen with a textarea field (archives and entries ) and the blue Save button at the bottom, then IF I use angular braces < and > then on save the program crashes out to the domain home page! If I remove the braces then it all works fine. In fact if I switch to the textile 2 editor for entries then entries work fine, but of course its not an option on archive as I need the <tags>. SO the problem is nothing to do with the mapping, but rather the <tags> messing up the save! Any ideas?
David Burden
QUOTE (David Burden @ Mar 18 2008, 11:16 PM) *
QUOTE (Su- @ Mar 16 2008, 05:25 PM) *
Are you sure you don't have a funny htaccess rule in effect? There's no reason doing something within MT should ever just dump you on your domains home page(http://www.yourdomain.com/ right?).


OK, done a bit more digging - and the problem is more general, but also more specific. Essentially whenever I use an edit screen with a textarea field (archives and entries ) and the blue Save button at the bottom, then IF I use angular braces < and > then on save the program crashes out to the domain home page! If I remove the braces then it all works fine. In fact if I switch to the textile 2 editor for entries then entries work fine, but of course its not an option on archive as I need the <tags>. SO the problem is nothing to do with the mapping, but rather the <tags> messing up the save! Any ideas?



Just tried a complete re-installation and exactly the same problem - altough it let me save an entry once with tags, but second and subsequent times it just crashed out again
OtherNiceMan
I am having a slight problem following, where are you placing the <tags>?
David Burden
QUOTE (OtherNiceMan @ Mar 20 2008, 10:24 PM) *
I am having a slight problem following, where are you placing the <tags>?


Just in the body of the entry or archive template. For instance if I leave the archive template as is (with lots of <MT> tags) I get the error. If I remove the tags its saves!

I've also emptied out the .htaccess so as to make sure that that is not the problem
OtherNiceMan
Anything is your server log?

Can you actually publishing anything as is?

Does mt-check run successfully?

Are you accessing the site from the same address as specified in as the CGIPath in your mt-config file?
David Burden
QUOTE (OtherNiceMan @ Mar 20 2008, 10:38 PM) *
Anything is your server log?

Can you actually publishing anything as is?

Does mt-check run successfully?

Are you accessing the site from the same address as specified in as the CGIPath in your mt-config file?


Thanks for the interest.

Nothing odd in the server log
Publishes fine
mt-check OK
paths OK
OtherNiceMan
Ok,

Strange request, goto http://www.movabletype4.org select the link for the version you have installed on your own server, can you replicate the error on this install?
David Burden
QUOTE (OtherNiceMan @ Mar 20 2008, 10:54 PM) *
Ok,

Strange request, goto http://www.movabletype4.org select the link for the version you have installed on your own server, can you replicate the error on this install?


Nope, that works fine.
OtherNiceMan
Good (sort of), that points to a problem with your config rather than a bug.

First thing I would do is re-upload the files, making sure that they are all ASCII.
David Burden
QUOTE (OtherNiceMan @ Mar 20 2008, 11:18 PM) *
Good (sort of), that points to a problem with your config rather than a bug.

First thing I would do is re-upload the files, making sure that they are all ASCII.


Reloaded as ASCII, same problem. Logged the problem with my hosting company.
David Burden
QUOTE (David Burden @ Mar 20 2008, 11:36 PM) *
QUOTE (OtherNiceMan @ Mar 20 2008, 11:18 PM) *
Good (sort of), that points to a problem with your config rather than a bug.

First thing I would do is re-upload the files, making sure that they are all ASCII.


Reloaded as ASCII, same problem. Logged the problem with my hosting company.



Solved! The hosting company took a look and this was there response:

"The mod_security implimented on server causing this issue. I have disabled it for you. you should not get any problem now."

Everything works fine now. Thanks for the help and perhaps this might be the cause of some of the other editing problems that people are seeing?

Now finally time to migrate my half-dozen web sites and blog!

David
OtherNiceMan
Good to know.

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