Welcome to the nuBuilder forums!

Please register and login to view forums and other content only available to registered users.

Undefined Function

Post Reply
hanstel
Posts: 28
Joined: Sat Apr 30, 2016 2:51 am

Undefined Function

Unread post 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.
admin
Site Admin
Posts: 2781
Joined: Mon Jun 15, 2009 2:23 am
nuBuilder Version: 4.5
Been thanked: 1 time

Re: Undefined Function

Unread post 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
hanstel
Posts: 28
Joined: Sat Apr 30, 2016 2:51 am

Re: Undefined Function

Unread post 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
Post Reply