Page 1 of 1

Undefined Function

Posted: Sat May 28, 2016 8:49 pm
by hanstel
Running any php code on "PHP Procedure" via iFrame or simpe runPHP call throws

"Fatal error: Call to undefined function nuDisplayError() in X:\xampp\htdocs\demo\nurunphp.php(18) : eval()'d code on line 15"

whever you invoke built-in NuBuilderPro functions such as nuDisplayError, nuAddJavascript (I noticed mostly functions that reside in nuapi.php)
I've tested both on my own project and the nuBuilderPro Demo.

Re: Undefined Function

Posted: Tue May 31, 2016 1:51 am
by admin
hanstel,

Looks like you have an error in your code (eval()'d code on line 15) - that's line 15 of your code.

Steven

Re: Undefined Function

Posted: Tue May 31, 2016 9:48 am
by hanstel
its just a one liner php code to test it, simply
nuDisplayError('Hello');

even on demo, check email test you'll get the same 'undefined function' error