Hello, I want to ask, I created a from with chrono forms component for registering new user to joomla. After submitting of it I get this error:
Fatal error: Call to undefined function getVar() in W:\domains\www.matoweb.sk\public\www_root\nz\components\com_chronocontact\libraries\chronoform.php(245) : eval()'d code on line 3
How to fix this?
Fatal error: Call to undefined function getVar() in W:\domains\www.matoweb.sk\public\www_root\nz\components\com_chronocontact\libraries\chronoform.php(245) : eval()'d code on line 3
How to fix this?
Hi matejkralik,
It looks like there's an error in your server-side validation code. What do you have in that box?
Bob
It looks like there's an error in your server-side validation code. What do you have in that box?
Bob
Hi,
To me, it looks like you've accidentally left out JRequest:: when calling the class method getVar(); ie
As Bob said, the error should be located in the server verification box.
/Fredrik
To me, it looks like you've accidentally left out JRequest:: when calling the class method getVar(); ie
$var = getVar('somevar');
//Relly should be
$var = JRequest::getVar('somevar');As Bob said, the error should be located in the server verification box.
/Fredrik
This is in my validation box:
Is here anything to change?
thanks for help anyway
<?php
global $mainframe;
if (JRequest::getVar('text_3')!=JRequest>>getVar('text_4'))
return 'Sorry, your passwords do not match, please try again!';
?>Is here anything to change?
thanks for help anyway
This line is wrong:
should be:
Cheers
Max
if (JRequest::getVar('text_3')!=JRequest>>getVar('text_4'))should be:
if (JRequest::getVar('text_3') != JRequest::getVar('text_4'))Cheers
Max
Thanks! Now it works
This topic is locked and no more replies can be posted.
