Undefined Function

Undefined Function

Postby hanstel » Sun May 29, 2016 4:19 am

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.
hanstel
 
Posts: 28
Joined: Sat Apr 30, 2016 10:21 am

Re: Undefined Function

Postby admin » Tue May 31, 2016 9:21 am

hanstel,

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

Steven
admin
Site Admin
 
Posts: 3233
Joined: Mon Jun 15, 2009 9:53 am

Re: Undefined Function

Postby hanstel » Tue May 31, 2016 5:18 pm

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
hanstel
 
Posts: 28
Joined: Sat Apr 30, 2016 10:21 am


Return to General