Page 1 of 1

Undefined Function

PostPosted: Sun May 29, 2016 4:19 am
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

PostPosted: Tue May 31, 2016 9:21 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

PostPosted: Tue May 31, 2016 5:18 pm
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