18591 Posts in 4875 Topics by 2285 members
General Questions
SilverStripe Forums » General Questions » Do HTMLText entries have to end with "Content"?
General questions about getting started with SilverStripe that don't fit in any of the categories above.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba
|
Page:
1
|
Go to End | |
| Author | Topic: | 76 Views |
-
Do HTMLText entries have to end with "Content"?

2 February 2012 at 4:30pm
I have a page class with several HTMLText fields, one of which didn't end with "Content". This worked fine on my local WAMP server, but when i uploaded it to the production server, I got a 404 error when saving that page (just like like what this thread describes, even though the situation is different). I got the 404 error only when I tried to write more than one paragraph to the field in question. Long story short, when I renamed the field to end in "Content", the problem disappeared.
This begs the question, why? Is there something special about fields ending in "Content"? And why would my WAMP server be immune while the production server returns a 404 error? What's triggering the 404 error (which is clearly misleading, as the error isn't caused by a missing page, or bad URL)?
Hans
| 76 Views | ||
|
Page:
1
|
Go to Top |

