Forums

Fatal error: customcode.php(71) : eval()'d code on line 13

sparent 26 Aug, 2010
Hi
when I submit my form I have this error (the mail is sent) :
Fatal error: Call to a member function on a non-object in /homez.342/exafil/www/components/com_chronocontact/libraries/customcode.php(71) : eval()'d code on line 13

I havec read the forum so I have alredy made some test

Dash in Database Collumn name : No

Record #n
societe
nom
prenom
tel
email
departement
adresse
cp
ville
marque
modele
taille
longueur
nb
marque_ficelle
modele_ficelle
nb_balle
conso
id

Autogenerated Dash
I have chek my Table name in AutoGenerated code, and I have no Dash

$MyForm =& CFChronoForm::getInstance("info");
if($MyForm->formparams("dbconnection") == "Yes"){
$user = JFactory::getUser();
$row =& JTable::getInstance("formulaire", "Table");

Item Form Name
No Dash

It is a multipage Form.

Could you please Help me
GreyHead 26 Aug, 2010
Hi sparent,

Which part of the multi-page form do you have the DB Connection set up for?

Bob
sparent 26 Aug, 2010
I have got 3 forms (Step 1 - Step 2 - Step 3) and the multipage forme : Global.
The Multi Page is set up in the Global form. The DB connection is set up in the step 3 form's
GreyHead 26 Aug, 2010
Hi sparent,

Please test the DB Connection on the Mother Form instead.

Bob
sparent 27 Aug, 2010
I've se tup the db connecton on the mother form and it's working fine
thx
This topic is locked and no more replies can be posted.