Page 1 of 1

No Content Given! error

Posted: Wed Apr 28, 2010 1:07 pm
by michaywood
Hello CMSMSers,

I have been building a website with CMSMS lately and finally got my main template to function/look how it needs to look! However, I then went and tried to create a new page and just put one word as the text (also tried a whole paragraph) and upon hitting submit, it says "No Content Given!" . I haven't made ANY changes to my hosting service or upgraded CMSMS so I'm not sure what could've caused this problem out of no where. Any ideas?  I've ran in debug mode, but I'm a designer, so a lot of that error report doesn't make sense to me. I just see a lot of Error(0). Everything else, in my noob eyes, looks fine.

please help!! I'm clueless!


EDIT: I went through and tested, and I can edit text on pages that are already created, but if I try to create a new page (no matter what template I use) then I receive a "No Content Given!" error.

Re: No Content Given! error

Posted: Wed Apr 28, 2010 1:22 pm
by Augustas
Make sure somewhere in your template you have this code

Code: Select all

{content}
Then when you create a new page with that template -- you will be given a where you should write at least one character.

Re: No Content Given! error

Posted: Wed Apr 28, 2010 1:25 pm
by michaywood
I don't have a {content} on my pages, but i have a {content block="Homepage"} and a {content block="About"} . I assumed these were all I needed. Do I actually need a simple {content} without a block in order for CMSMS to work properly?

Re: No Content Given! error

Posted: Wed Apr 28, 2010 1:30 pm
by Augustas
I think you need to have {content}

Re: No Content Given! error

Posted: Wed Apr 28, 2010 2:16 pm
by michaywood
That did the trick! Thanks Augustas. Something so simple but something I never took a second to think about!