Couldn’t figure out how to call relaunch_4d_php. Thanks Patrick. Unfortunately, while it works to eliminate the error, testing it just now it took about 10 seconds to execute which makes it unusable in a large loop.
The repeated calls seems to still be the best solution or to not use PHP as someone else has suggested. John > On Mar 12, 2017, at 8:56 PM, Patrick Emanuel via 4D_Tech > <[email protected]> wrote: > > Before call any 'PHP EXECUTE', I used these 2 code lines first: > > $isOK:=PHP Execute("";"relaunch_4d_php") > PHP SET OPTION(2;True;*) > > Since, I have few PHP error like you describe. > > > > ----- > Patrick EMANUEL > ------------------------------------------------------------ > Administrator > www.association-qualisoft.eu > (Soft1002, Simply Asso & QS_Toolbox) > -- > View this message in context: > http://4d.1045681.n5.nabble.com/PHP-EXECUTE-in-a-loop-tp5750722p5750724.html > Sent from the 4D Tech mailing list archive at Nabble.com. > ********************************************************************** > 4D Internet Users Group (4D iNUG) > FAQ: http://lists.4d.com/faqnug.html > Archive: http://lists.4d.com/archives.html > Options: http://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:[email protected] > ********************************************************************** ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

