[FX.php List] Problem w/ calling script from PHP
Head Honcho
headhoncho at customikesolutions.com
Wed Feb 27 15:20:27 MST 2013
Does the second file have the same privilege set(s) user(s) as the first file.
For any FileMaker file to "talk" to another file, they need to have the correct privileges.... this goes for web "users" too. ie if logged in as "webUser" then the second file also has to have "webUser" as a user.
Has caught me out on occasion too.
Hope this helps.
Regards
Michael Ward
--
Head Honcho, CustoMike Solutions
Member, FileMaker Business Alliance & FileMaker Technical Network
FileMaker 7 - 12 Certified Developer
ph 0414 562 501
headhoncho at customikesolutions.com
On 28/02/2013, at 7:56 AM, Bob Patin <bob at patin.com> wrote:
> I did think of that, enabled XML in the 2nd file, but it really didn't seem like that would be the issue.
>
> Could it be because the user in file A (web file) doesn't exist in file B? I'm thinking maybe, so i'm going to add that...
>
> BP
>
> Bob Patin
> Longterm Solutions LLC
> bob at longtermsolutions.com
> 615-333-6858
> http://www.longtermsolutions.com
> FileMaker 9, 10 & 11 Certified Developer
> Member of FileMaker Business Alliance and FileMaker TechNet
> --
> Twitter: bobpatin
> AIM: longterm1954
> iChat: bobpatin
> --
> Expert FileMaker Consulting
> FileMaker Hosting for all versions of FileMaker
>
> On Feb 27, 2013, at 11:38 AM, Steve Winter <steve at bluecrocodile.co.nz> wrote:
>
>> Hi Bob
>>
>> I'd guess permissions are the issue…
>> does the second file have the XML/PHP privilege set enabled…?
>> does the user who is performing the script in the first file, exist in the second file…?
>> and with the same password…
>> and does that user have permission to run the script called by the first script…?
>>
>> Random thoughts that might help ;-)
>>
>> Cheers
>> Steve
>>
>>> I have a client's solution that *should* do this:
>>>
>>> 1. I edit a field - no problem here
>>> 2. I call a script in the database - no problem here
>>>
>>> 3. Script calls a script in a 2nd file on the same server - FAIL
>>>
>>> Is this a known limitation? Why can I not call a script from a 2nd, non-web-utilized file on the same server?
>>>
>>> Thanks,
>>>
>>> Bob Patin
>>> Longterm Solutions LLC
>>> bob at longtermsolutions.com
>>> 615-333-6858
>>> http://www.longtermsolutions.com
>>> FileMaker 9, 10 & 11 Certified Developer
>>> Member of FileMaker Business Alliance and FileMaker TechNet
>>> --
>>> Twitter: bobpatin
>>> AIM: longterm1954
>>> iChat: bobpatin
>>> --
>>> Expert FileMaker Consulting
>>> FileMaker Hosting for all versions of FileMaker
>>>
>>> _______________________________________________
>>> FX.php_List mailing list
>>> FX.php_List at mail.iviking.org
>>> http://www.iviking.org/mailman/listinfo/fx.php_list
>>
>>
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20130228/4ea5526a/attachment-0001.html
More information about the FX.php_List
mailing list