Errors coming up with upgrade to 1.1 rc 2

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
Zappa
Forum Members
Forum Members
Posts: 53
Joined: Thu Jan 04, 2007 9:44 pm

Errors coming up with upgrade to 1.1 rc 2

Post by Zappa »

Hi I've just upgraded to the 1.1 rc2 and I've checked my website over and the following errors have come up:

Warning: WARNING: FormBuilder is not properly cleaning input params. in /home/website/public_html/mywebsite/lib/classes/class.module.inc.php on line 1500

Warning: WARNING: Banners is not properly cleaning input params. in /home/website/public_html/mywebsite/lib/classes/class.module.inc.php on line 1500

string(80) "Smarty error: unable to read resource: "module_db_tpl:News;summaryindexNews.tpl""

Warning: Parameter sortby is not known... dropped in /home/website/public_html/mywebsite/lib/misc.functions.php on line 1228
string(80) "Smarty error: unable to read resource: "module_db_tpl:News;summaryindexNews.tpl""


Argh! :( Whats going on. Please help,

Regards
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Errors coming up with upgrade to 1.1 rc 2

Post by calguy1000 »

Okay, here it goes.....

1.1rc2 is in the 'testing phase', that means (and it has been advertised before) that it should not be used in production sites.  That aside, most of the warnings/errors you see are because modules have not caught up to the new parameter checking mechanism in the 1.1 module API.

This is expected, as it will take some time for module developers to react to this stuff.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
hanso

Re: Errors coming up with upgrade to 1.1 rc 2

Post by hanso »

calguy1000 wrote: Okay, here it goes.....

1.1rc2 is in the 'testing phase', that means (and it has been advertised before) that it should not be used in production sites.  That aside, most of the warnings/errors you see are because modules have not caught up to the new parameter checking mechanism in the 1.1 module API.

This is expected, as it will take some time for module developers to react to this stuff.
HI, I am running 1.1 released version and am also getting from Banner 2.1.0 the error:

Warning: WARNING: Banners is not properly cleaning input params. in /storage/mijndomein/users/079418/public/sites/test.hansotten.nl/lib/classes/class.module.inc.php on line 1500

Is there a version of Banner fit for version 1.1?  Or am I doing something wrong elsewhere perhaps?
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Errors coming up with upgrade to 1.1 rc 2

Post by RonnyK »

Did you do a clean install, or upgrade to 1.1.

What did you fill in the Banner-module on the linking-tab.

Ronny
hanso

Re: Errors coming up with upgrade to 1.1 rc 2

Post by hanso »

RonnyK wrote: Did you do a clean install, or upgrade to 1.1.

What did you fill in the Banner-module on the linking-tab.

Ronny
Thanks, I did a clean install. Working fine.

Funny thing is, the banner, two images added ,  is showing properly as expected, but above the image it displays:

Warning: WARNING: Banners is not properly cleaning input params. in  .../public/sites/test.hansotten.nl/lib/classes/class.module.inc.php on line 1500

Waht is the linking tab? I see catageories, banners and Preferences tab in Manage banners
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Errors coming up with upgrade to 1.1 rc 2

Post by RonnyK »

And the Banner module, install through FTP or "Module Manager".
I meant the parameters give in the "banners"-tab.

Do you get "SafeMode" messages in the admin-area as well.....

Ronny
hanso

Re: Errors coming up with upgrade to 1.1 rc 2

Post by hanso »

RonnyK wrote: And the Banner module, install through FTP or "Module Manager".
I meant the parameters give in the "banners"-tab.

Do you get "SafeMode" messages in the admin-area as well.....

Ronny
Yes, I get the safe_mode error message. The only thing that annoys me in CMSMS ;)
It seems not to affect most of the things, can upload images fine, install modules (after uploading with ftp). The banner function perfectly, clicking on it brings up the expected website (so the url is ok in the Abnner tab)), changes randomly. All fields contain reasonable vaules. Just this error message appears as unwanted extra!
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Errors coming up with upgrade to 1.1 rc 2

Post by RonnyK »

Maybe you could send an mail to mijndomein, to ask them to switch of SafeMode for your domain. I asked them the same, and they switched it off. For the time being you can switch the flag, on the bottom of the "Global Settings" page to get rid off the message, until the SafeMode is switched. That is basically not an issue of CMSMS, but caused by the fact that MijnDomein changed the setting in the new PHP-version.

I don't have the issue on my environment, but there is SafeMode switched off..

Ronny
hanso

Re: Errors coming up with upgrade to 1.1 rc 2

Post by hanso »

RonnyK wrote: Maybe you could send an mail to mijndomein, to ask them to switch of SafeMode for your domain. I asked them the same, and they switched it off. For the time being you can switch the flag, on the bottom of the "Global Settings" page to get rid off the message, until the SafeMode is switched. That is basically not an issue of CMSMS, but caused by the fact that MijnDomein changed the setting in the new PHP-version.

I don't have the issue on my environment, but there is SafeMode switched off..

Ronny
Thanks for the advice on the global settings safe_mode, it made the error go away in the admin screens. Alas, not in the banner display. Mail on its way to mijndomein!
hanso

Re: Errors coming up with upgrade to 1.1 rc 2

Post by hanso »

Ok, I cannot reproduce the problem on my other websuites and on my XAMPP system, so it must eb something on my webdomein test environment. Indeed perhaps a protection problem or something is damaged after all thsoe experiments  ;)

Now I have to see to get the banner display centered ..

Thanks,

Hans
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Errors coming up with upgrade to 1.1 rc 2

Post by RonnyK »

MijnDomein only recently started to set NEW db's with the new default version, including SAFE_MODE. So older environments have the old PHP and your local XAMPP is maintained by you, so probably without SAFE_MODE.

For centering the "Banner", you can wrap the call within :

Code: Select all

<div align='center'>
</div>
Ronny
hanso

Re: Errors coming up with upgrade to 1.1 rc 2

Post by hanso »

RonnyK wrote: MijnDomein only recently started to set NEW db's with the new default version, including SAFE_MODE. So older environments have the old PHP and your local XAMPP is maintained by you, so probably without SAFE_MODE.

For centering the "Banner", you can wrap the call within :

Code: Select all

<div align='center'>
</div>
Ronny
Thanks again, this worked fine. I have a centered banner!

I solved the mijndomein problem, uploaded my local test site (iI have XAMPP on a windows machine ;) ) files  and database and the problem went away. Must indeed  have been a corrupted database after playing too much with this great tool!

Hans
Post Reply

Return to “CMSMS Core”