Forums

Edit Record error "Fatal error: Call to undefined method..."

salmeronj 26 Mar, 2010
Hi,

I recently started using chronoforms, i think it is an awesome addition to JOOMLA. I have come across some issues, but almost none I couldn't find an answer to by reading the posts---except for the one I am trying to resolve now.

I created a registration page using Chronoform and now I would like to edit some records through Chronoconnectivity. I am able to see all the records by selecting "Show Data" on the Connections Management.

Here is the problem, when I select a record to edit (by clicking on "Edit") I get the following error:

Fatal error: Call to undefined method JAdministrator::getParams() in /home/content/j/s/a/jsalmeron/html/dccommunityinterpreters.org/CMS/components/com_chronocontact/libraries/chronoform.php on line 178

I check the settings to make sure the right form is selected in the Backend Edit Setting Record Edit form.

I highly appreciate any help. Thank you!

-Josue
GreyHead 27 Mar, 2010
Hi Josue,

I think that this may be because you are trying to edit records with a form that has the Joomla Registration plugin enabled and it's trying to create a new registration.

Try using a copy of the form without the plugin enabled.

Note that there are potential problems editing jos_users directly; Fredrik (nml375) has written here about use the User Object methods instead.

Bob
nml375 27 Mar, 2010
Hi Josue & Bob,
From what I can read in the source, this originates from the runMambots() method in the CFChronoForms class. In the form you are using to edit records, make sure you've set "enable mambots" (on the general tab) to "No".

/Fredrik
salmeronj 27 Mar, 2010
Thank you both! It is now working.

I made a copy of the form and disabled the mambots and user registration.

You guys rock, thank you!

-josue
This topic is locked and no more replies can be posted.