CMS MADE SIMPLE FORGE

AdvancedContent

 

[#4853] Fatal Error by select XContent as Content Type

avatar
Created By: Andi Petzoldt (andiministrator)
Date Submitted: Tue Apr 27 08:08:45 -0400 2010

Assigned To: Georg Busch (nan)
Version: Initital Release - BETA 3
CMSMS Version: None
Severity: Major
Resolution: Fixed
State: Closed
Summary:
Fatal Error by select XContent as Content Type
Detailed Description:
When I try to edit a content page and select "XContent" as content type, I get
the following error:
"Fatal error: Call to undefined method Content2::_setPropertyValue() in
X:\web\lps\htmldoc\modules\XContent\contenttype.Content2.php  on line 242"

I use CMSms 1.7, PHP 5.3.2, mod_rewrite on, hierarchy off.

For further requests, please contact me.


History

Comments
avatar
Date: 2010-04-29 17:23
Posted By: Georg Busch (nan)

Thanks for report.
This will be fixed in next release. (all the private vars and functions will be
public. IMHO private stuff is not needed in content type class)
To fix this you just need to change one line.

In contenttype.Content2.php line 242 is says

$this->_setPropertyValue($blockInfo['id'], $value);

but it should be

$this->SetPropertyValue($blockInfo['id'], $value);


This should be all.
Please tell me if this works for you.
      
avatar
Date: 2010-04-30 02:45
Posted By: Andi Petzoldt (andiministrator)

Yes, this works for me.
I have some other small things, but I'll send it via eMail to you (have some
screenshoots too).
      
Updates

Updated: 2010-05-21 13:42
state: Open => Closed

Updated: 2010-05-02 11:03
resolution_id: 10 => 7

Updated: 2010-04-29 17:24
resolution_id: 5 => 10

Updated: 2010-04-29 17:23
resolution_id: => 5