[FX.php List] Calling a script that calls scripts

Carmen Mercer CarmenM at SpokaneSchools.org
Wed Aug 30 09:54:09 MDT 2006


I have a user management file to manage all users across ~60 files.  It runs control scripts for various purposes (add a user, delete a user, change a password) that then runs the proper local script in each of my 60 files to achieve the desired result.  All of my user management control scripts run perfectly through the client.

I wanted to extend my password change script to the web.  I created a duplicate of my control script minus the dialogue boxes for web compatibility.  The web page sets the password source field then calls the change password control script for the web.  In turn, it SHOULD call the local script in each file.

Unfortunately, it only works in 5 of the 60 files.  All of the local scripts are set to run with full access.  It doesn't matter which user I try.  I tried having one of the local scripts that was not working set a field on running, and it didn't work, which tells me that the local script is not being run at all.

I spoke to FM support and was told that I should not be able to do what I'm doing because files are not available to the session unless they are called specifically or through related data.  

HOWEVER, after struggling with one of my problem files in the client, double and triple checking file references, script steps, running the password change script in the client, etc...  SUDDENLY it will work via the web.  I have not been able to isolate what I am doing to make a file accessible to the session, but I know I have done it at least three times.  As far as I can tell, when it works once, it will work permanently.  Though, I have not tried closing and reopening these files on the server.

The FM tech support stated it was entirely possible that I am doing something in the client to make these other files accessible, but he couldn't tell me what.  I am not changing any specific settings that I can pinpoint.

Of course, an alternative to what I'm doing would be to call the local scripts specifically via the web, rather than having the control script do it.  That is probably what I will do.

But, this is such a puzzle I was curious if anyone had any clues.

FMSA 8.2 (no web publishing updates applied).

Thanks!
Carmen




More information about the FX.php_List mailing list