Page 1 of 1
Parameter limit is not known
Posted: Mon Oct 22, 2007 10:43 am
by sayitlikeitis
I have installed v1.2 and the site loads and dispays, mostly okay. However, the following error text is displayed in the News module:
Warning: Parameter limit is not known... dropped in /home/nkneewul/public_html/lib/misc.functions.php on line 1281
This text is displayed immediately after the word "News" and before the date of the first news entry. The error also seems to force the dimentions of the News box wider than they were previously. In so far as I can tell everything else functions fine. Can you please help get rid of this error?
Re: Parameter limit is not known
Posted: Wed Oct 24, 2007 4:08 pm
by Dr.CSS
Did you use the limit= parameter in your news tag?...
Re: Parameter limit is not known
Posted: Wed Oct 24, 2007 10:14 pm
by sayitlikeitis
I installed v1.2 without (hopefully) straying from the installation instructions. I did clear the cashe afterwards because that sometimes resolves some problems. Actually, I wouldn't know where to, or how to set any parameters. If you tell me how, I'll check anything for you.
Re: Parameter limit is not known
Posted: Tue Oct 30, 2007 12:59 am
by sayitlikeitis
Hi there, would you mind proving a little more information on how to do this? I'm stuck.
Re: Parameter limit is not known
Posted: Tue Oct 30, 2007 1:00 am
by calguy1000
if you're using the news content type it's deprecated and should not be used. Please use the tag method.
Re: Parameter limit is not known
Posted: Tue Oct 30, 2007 1:18 am
by sayitlikeitis
Sorry, what is the tag method?
Prior to installing v1.1 I deleted all the cmsms files on the server, but I had trouble. So, I installed v1.2. It turned out that my trouble was because my directories had inappropriate protections. I adjusted the protection which generally left me with an okay site except for this error on News.
I presume support for News was stopped with v1.1. So, may I assume had I installed v1.2 after deleting all my files that there would be no News facility?
Re: Parameter limit is not known
Posted: Tue Oct 30, 2007 1:21 am
by calguy1000
News continues, but adding news as a content type is no longer supported.
To see how to use the news module, go to 'Extensions >> Modules', and click on the 'help' link on the 'News' row.
Re: Parameter limit is not known
Posted: Mon Nov 05, 2007 3:26 am
by sayitlikeitis
Hi there,
I was just about to get on with trying to sort out my News problem when I noticed something else. So, before I get too far I thought I’d ask another question, that may or may not be related.
I can’t recall exactly what the screen looked like (when I was using v1.0.5), but when I last updated content or added a new page (eg. Content -> Pages -> Add New Content) in addition to the text boxes of Content Type, Title, Menu Text etc I recall a whole heap of tools varying between font type, colour selection, links, headings etc. and many more that was only learning to use. Now, that I’ve upgraded from 1.0.5 to 1.2 those tools are not present. Also, my existing content shows only as html rather than a formatted screen with the relevant fonts, headings, italics etc. All the HTML tags are shown and I can't spot a way of viewing a formatted screen. (I’m wondering if this is related to this News problem I have.)
Anyway, can you advise as to what you think might have happened that the tools are not available to me?
Re: Parameter limit is not known
Posted: Mon Nov 05, 2007 5:34 pm
by Dr.CSS
You may have a number of things that will stop the WYSIWYG editor from showing up...
1) permissions aren't set, users & groups > group permissions > admin all ticked?...
2) no editor set as your default in my preferences > user preferences > Select WYSIWYG to use:
3) sometimes checking Show checkbox to turn wysiwyg on/off helps it show...
Re: Parameter limit is not known
Posted: Wed Nov 07, 2007 2:23 am
by sayitlikeitis
Thanks, I've got my editor back. Now, back to my original issue, if I may.
I went into
Layout > Templates
which has “Left simple navigation + 1 column” as the default. When I click on the default, I can see the following code about half way down:
News
{news limit=3 detailpage=‘news’}
So, I replaced “{news limit=3 detailpage=‘news’}” with “{news number='5'}” but I’m wondering if I'm completely off the target.
My site does not show any errors any more (which is good), but the doc you referred me to makes reference to an admin page and lots of new features. I can’t see the admin page, so am wondering if I’m running the old or the new News. Can you help, please?
Re: Parameter limit is not known
Posted: Wed Nov 07, 2007 2:32 am
by calguy1000
No, that's the correct solution.
What happened (I'm guessing though is): When 1.1 came out we introduced parameter checking on the frontend side to help prevent XSS vulnerabilities also, we changed the News module, and introduced pagination, so somewhere, the 'limit' parameter (and I haven't looked it up) probably changed to 'number' (it's probably my fault too). Of course, all of this got blurred with the various News module releases and numerous CMS Made simple releases.
But, you've got the problem solved now. that's good.
Re: Parameter limit is not known
Posted: Wed Nov 07, 2007 4:55 am
by sayitlikeitis
The help doc indicates there are more features in News, and there is an administration menu for news categories. I'm curious to see this. How do I get to it?