Error After Upgrading 2.04 to 2.05 - Strict Standards: var: Deprecated.

3 posts by 2 authors in: Forums > CMS Builder
Last Post: July 16, 2010   (RSS)

Re: [alissi] Error After Upgrading 2.04 to 2.05 - Strict Standards: var: Deprecated.

By Jason - July 15, 2010

Hi,

It looks like this problem is being caused by the version of the PHP interpreter on your server. Fortunately, there is a nice and easy fix for it.

If you open up cmsAdmin/lib/field_class.php, you'll see a 2 variables being defined near the top of the page. It will look like this:

// member variables
var $name;
var $fieldSchema;


You need to change it to look like this:
// member variables
public $name;
public $fieldSchema;


Give that a try. Let me know if you are still running into any problems.

Thanks.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] Error After Upgrading 2.04 to 2.05 - Strict Standards: var: Deprecated.

Hi Jason

The code change resolved the errors [:)]

Many thanks for your help!