CMS MADE SIMPLE FORGE

Form Builder

 

[#7181] [#7110] Fatal error: Call to a member function getKeyList() on a non-object in /public/sites/www.site.com/modules/FormBuilder/classes/DispositionFormBrowser.class.php on line 155

avatar
Created By: rap3r (rap3r)
Date Submitted: Wed Nov 16 02:26:24 -0500 2011

Assigned To: Tapio Löytty (Stikki)
Version: 0.7.1
CMSMS Version: 1.10
Severity: Major
Resolution: Fixed
State: Closed
Summary:
[#7110] Fatal error: Call to a member function getKeyList() on a non-object in /public/sites/www.site.com/modules/FormBuilder/classes/DispositionFormBrowser.class.php on line 155
Detailed Description:
http://dev.cmsmadesimple.org/bug/view/7110

I have the same error and coping file from SVN doesn't solve it. Can you please
tell me what to do to fix this?

I need form to save data into frombrowser.

Thank you


History

Comments
avatar
Date: 2011-11-16 03:22
Posted By: Tapio Löytty (Stikki)

Fixed finally in SVN, i tought i commited it but didn't so there it is now, get
DispositionFormBrowser.class.php from SVN and should do the trick.

Mail me to stikki@cmsmadesimple.org in case this dosen't still work.
      
avatar
Date: 2011-11-16 05:30
Posted By: rap3r (rap3r)

Still not working, sent you email, thanks for replay
      
avatar
Date: 2011-11-16 17:03
Posted By: Leon (Leon)

Thank You!
I appreciate it very much!
It's working perfect again!
Leon
      
avatar
Date: 2011-11-28 11:57
Posted By: Mathieu Muths (airelibre) (airelibre)

Thank you - It works for me - When will it be "officially" released ?
      
avatar
Date: 2011-11-29 04:43
Posted By: Bertus (Greenway)

I copied the svn file DispositionFormBrowser.class.php from:
http://svn.cmsmadesimple.org/svn/formbuilder

But I stil recieve  the following error:

Fatal error: Call to a member function getKeyList() on a non-object in
/xxx/xxx//httpdocs/modules/FormBuilder/classes/DispositionFormBrowser.class.php
on line 155

CMS. 1.10.2 
Formbuilder 1.7.1
      
avatar
Date: 2011-11-29 06:41
Posted By: Tapio Löytty (Stikki)

Thank you - It works for me - When will it be "officially" released ?

----------

After I'm done with other checks, somewhere near future anyways.

There was problem with other fields also, so have to go trough system to avoid
release like these.

Thanks for your patience.

-Stikki-
      
avatar
Date: 2011-11-30 19:47
Posted By: Philippe Thomas (filto)

Until the next release... ;)

Here is a way which works for the impatient persons such as i.

you need to have 

cmsms version 1-10-2 with FormBuilder 0.7.1

and another one

cmsms version 1-9-4-3 with FormBuilder 0.7 (not 0.7.1)



Create your form with formbuilder under cmsms 1-9-4-3 

Export your form with XML

Import your form with xml under cmsms 1-10-2


Done ! Works, no bugs, no loss data  ;)



You can also take advantage of this moment to sole the problem of the white
space class...

Into Form template :


search these lines :

{if $entry->required == 1 || $entry->css_class != '' || $entry->valid == 0}
class="
{if $entry->required == 1}required{/if}
{if $entry->css_class != ''} {$entry->css_class}{/if}
{if $entry->valid == 0} fb_invalid{/if}
"
{/if}



Without required class it will output this : <div class=" yourclass">

Change like this


{if $entry->required == 1 || $entry->css_class != '' || $entry->valid == 0}
class="
{if $entry->required == 1}required{/if}
{if $entry->css_class != ''}{if $entry->required == 1}
{/if}{$entry->css_class}{/if}
{if $entry->valid == 0}{if ($entry->required == 1) || ($entry->css_class != '')}
{/if}fb_invalid{/if}
"
{/if}

You won't have anymore white space breaking your class CSS
Sorry for my english ...
      
avatar
Date: 2011-11-30 19:57
Posted By: Philippe Thomas (filto)

Note easy to put code line here ...

Same code ( @ indicates where there is a white space...so replace @ with a white
space)

{if $entry->required == 1 || $entry->css_class != '' || $entry->valid == 0}
class="
{if $entry->required == 1}required{/if}
{if $entry->css_class != ''}{if $entry->required ==
1}@{/if}{$entry->css_class}{/if}
{if $entry->valid == 0}{if ($entry->required == 1) || ($entry->css_class !=
'')}@{/if}fb_invalid{/if}
"
{/if}
      
avatar
Date: 2012-02-09 19:58
Posted By: Wendy Miskin (wmisk)

I'm getting the same error, Form Builder 0.7.1, Form Builder 0.4, CMSMS 1.10.2. 
I upgraded the modules today from the previous versions 0.7.0 and 0.3.2 and
started getting the error after upgrade.  I've tried that SVN file and it's the
same file I already have in there.  I've tried uninstalling and reinstalling the
previous versions and get the error with the older version.
      
avatar
Date: 2012-02-28 16:59
Posted By: Ryan Foster (RytoEX)

This is a duplicate of Bug 7110.  Please check that bug listing for more
detailed information.

Pretty sure that this was fixed with Revision 565 (2011-11-16 03:21:00).  If
this is still a problem after the next release, let us know.
      
avatar
Date: 2012-03-07 18:56
Posted By: Ryan Foster (RytoEX)

Closing this bug as the fix has been delivered in FormBuilder 0.7.2.  Please
reopen this bug if the bug persists.
      
Updates

Updated: 2012-03-07 18:56
state: Open => Closed

Updated: 2012-02-28 16:59
resolution_id: 8 => 7

Updated: 2011-11-16 06:21
resolution_id: 7 => 8
state: Closed => Open

Updated: 2011-11-16 03:22
resolution_id: => 7
state: Open => Closed