Page 1 of 1

FeedbackForm Fatal Error

Posted: Thu Oct 05, 2006 3:56 pm
by pgoneill
When adding a checkbox group, I get the following.  Any ideas?

Fatal error: Call to a member function CreateInputText() on a non-object in C:\Inetpub\xNet\modules\FeedbackForm\classes\CheckboxGroupInput.class.php on line 163

EDIT for fix:

The bug followup didn't work as expected (was a bit unclear - line numbers must be different on mine).  So:

Find the function RenderAdminForm (line 154 on mine) and add $module =& $this->mod_globals->selfptr;  directly after the first opening curly brace, so it should be:

Code: Select all

  function RenderAdminForm($formDescriptor)
  {
    $module =& $this->mod_globals->selfptr;
    $optVals = $this->GetOptionByKind('checkbox');

  ...
That should work.

Re: FeedbackForm Fatal Error

Posted: Sat Dec 02, 2006 4:23 pm
by tatiana
I try your solution but always same message error... :-\

If you have an another idea, it's wonderfull

Re: FeedbackForm Fatal Error

Posted: Fri Apr 27, 2007 12:27 pm
by chilsta
Thanks, this did work for me in v1.04

-C-