Page 1 of 1

Pop Up Error Messages

Posted: Mon Apr 24, 2017 2:40 pm
by zunair

I am using an old version (version 10) of PHP Maker. How can i remove popup error messages in the generated script.

Please help.


Re: Pop Up Error Messages

Posted: Tue Apr 25, 2017 9:44 am
by mobhar

Just disable "Use JavaScript popup message" from "Tools" -> "Advanced Settings", and then regenerate ALL the script files again.


Re: Pop Up Error Messages

Posted: Tue Apr 25, 2017 1:59 pm
by zunair

I don't have the original PHP Maker Project File. therefore i want to remove it from the generated script.

Please help.


Re: Pop Up Error Messages

Posted: Tue Apr 25, 2017 7:19 pm
by mobhar

Not sure whether the following code exists in your "ewcfg10.php" file:
var EW_USE_JAVASCRIPT_MESSAGE = true;

But if you find it, then simply change it to:
var EW_USE_JAVASCRIPT_MESSAGE = false;


Re: Pop Up Error Messages

Posted: Tue Apr 25, 2017 9:22 pm
by zunair

This line was exist in header.php. I have changed it to:

var EW_USE_JAVASCRIPT_MESSAGE = false;

and it is fixed now.

Thanks and Regards