Page 1 of 1

[SOLVED] News Module Warning: Parameter description...

Posted: Mon Oct 14, 2013 4:33 pm
by fearmydesign
Hello, I keep getting the following error on every article that I try adding to the News Module.
Warning: Parameter description is not known by module News dropped in /home/content/43/11408043/html/lib/misc.functions.php on line 1411
You can see it here:
http://cicounters.com/importance-of-kitchen-design

I tried looking at the file misc.functions.php on line 1411 - but needless to say that I have no clue what it says nor do I want to mess with that because I don't want to damage anything. But I can tell you some of the troubleshooting I have done.

I moved this site from a different directory while building; so I cleared the Cache before & after... in fact several times since. Everything works perfect including the News module except for this warning above the Detail of each article :-\
I updated both the content status hierarchy positions + routes.

I also tried deactivating the module, clearing cache again and reactivate. I tried isolating the error by removing pieces of the Detail template code, but nothing made the error go away.

I also tried removing the custom URL I put on the article. I changed the Default page to use for detail view, still nothing.

Could there be something wrong with my misc.functions.php file?
Any suggestions? Thank you ???

Re: News Module Warning: Parameter description...

Posted: Mon Oct 14, 2013 4:35 pm
by calguy1000
Looks like you are calling News with a description= parameter
and that parameter is not known by that module.

Re: News Module Warning: Parameter description...

Posted: Mon Oct 14, 2013 4:39 pm
by fearmydesign
calguy1000 wrote:Looks like you are calling News with a description= parameter
and that parameter is not known by that module.
Thx Calguy... mmn I am calling it like this: {news}
Am I missing a parameter maybe? I also tried it where I called the templates but that didn't do anything as I have them assigend as the default:

{news summarytemplate="summary" detailtemplate="Detail"}

Re: News Module Warning: Parameter description...

Posted: Mon Oct 14, 2013 5:25 pm
by staartmees
is your cmsms up-to-date? Are you using PHP 5.3.x?

Re: News Module Warning: Parameter description...

Posted: Mon Oct 14, 2013 5:32 pm
by fearmydesign
staartmees wrote:is your cmsms up-to-date? Are you using PHP 5.3.x?
Yes, I always make sure to have the latest version installed + all modules up to date before I post questions 1.11.9 and PHP 5.3.24
This is a fresh install.

Re: News Module Warning: Parameter description...

Posted: Mon Oct 14, 2013 5:41 pm
by calguy1000
Well something is passing the 'description' parameter to the news module.

You may have to play an isolation game to see what is causing it.... maybe start with a bare default template and see if you can reproduce the problem.

Re: News Module Warning: Parameter description...

Posted: Mon Oct 14, 2013 5:42 pm
by Rolf
Have you checked pages, GCB's and HTML-template if there is another {news ...} call.

Re: News Module Warning: Parameter description...

Posted: Mon Oct 14, 2013 6:04 pm
by fearmydesign
calguy1000 wrote:Well something is passing the 'description' parameter to the news module.

You may have to play an isolation game to see what is causing it.... maybe start with a bare default template and see if you can reproduce the problem.
Yeap, so this is my Detail Template now:

Code: Select all


<!-- EMPTY -->

...and still get the same error without anything inside the template. Taka a look: http://cicounters.com/importance-of-kitchen-design
With an 'Empty' template I wouldn't know what else to isolate... I removed block by block of code from it :-\

...I guess I'll just install the CGBlog or something else. Thanks for your help though.

Re: News Module Warning: Parameter description...

Posted: Mon Oct 14, 2013 6:05 pm
by calguy1000
it's not the detail template you have to worry about, it's the page template, and/or summary template.

Re: News Module Warning: Parameter description...

Posted: Mon Oct 14, 2013 6:06 pm
by fearmydesign
calguy1000 wrote:it's not the detail template you have to worry about, it's the page template, and/or summary template.
ahh ok... let me check that. thx

Re: [SOLVED] News Module Warning: Parameter description...

Posted: Mon Oct 14, 2013 6:17 pm
by fearmydesign
You were right... all this time I was troubleshooting the News Module Templates... but on my page template originally I labeled the {content description='right'} so I removed the description='right' and now it works. I only did that because on this particular template I had a right & left column. Ugh! >:(
Thank you much for everyone's help.

Re: [SOLVED] News Module Warning: Parameter description...

Posted: Mon Oct 14, 2013 6:32 pm
by calguy1000
You're using the AdvancedContent module?

Re: [SOLVED] News Module Warning: Parameter description...

Posted: Mon Oct 14, 2013 6:44 pm
by fearmydesign
calguy1000 wrote:You're using the AdvancedContent module?
No, I never heard of that module before. Here is a screen shot. Usually I stick to the basic modules for my installations (at least the ones I know) :)