July 4, 201114 yr Hello All... How are you all. Just was not able to be in contact with you since long. But cant be away from you as Filemaker is only the bread and butter for me...!!! Hope you are doing great... I am just stuck at some place. We are using Smart Pill plugin from http://www.scodigo.com/products/smartpill-php/ This plugin is very usefull in executing the PHP codes straightaway form the filemaker (Acting as a web server for your application) Attached are files. ExampleCallingPHP.php is the file whose code I need to run through the filemaker smart pill plugin When I am trying to run the following code through filemaker smart pill plugin "include_once(\"utility.php\");" & ¶ & "$Result=GetResellerList(\"https://10.0.0.59:3030\", \"admin\", \"admin\", 0,100);" The Plugin is giving me the following Warning: PHP Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent in C:\Program Files\FileMaker\FileMaker Pro 11 Advanced\Extensions\PHP Support\includes\utility.php on line 126 PHP Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent in C:\Program Files\FileMaker\FileMaker Pro 11 Advanced\Extensions\PHP Support\includes\utility.php on line 126 PHP Notice: Undefined variable: tagValue in C:\Program Files\FileMaker\FileMaker Pro 11 Advanced\Extensions\PHP Support\includes\utility.php on line 104 This warning is related to the session start function provided in the utility (include) file. The utility.php file (un-modifiable) has a session invoking call. I am having a strong feeling that, double session is getting created. 1st one is from utility file and the 2nd one from the PHP plugin (by default). Even the Warning describes the same issue. The strange thing is that when I tried runing the “ExampleCallingPHP.php” along with the include file “utility.php” on Web browser using web server, then it worked perfectly well.\ I am just struggling to make this code work to remove this warning. I also visiting following links but that could not help me as my triggering for the code is filemaker and not the web server so these links didnt helped me but might give you some more details http://www.phpbuilder.com/board/showthread.php?t=10363408 http://www.phpbuilder.com/board/showthread.php?t=10310794 Any help would be highly appreciated. ExampleCallingPHP.php utility.php readMe.txt
Create an account or sign in to comment