Jump to content

This topic is 6983 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I'm working on a FM-driven website (ver 5-6) that is 99% finished. It contains at least a half-dozen cdml scripts. They were all working when I had the site on my Mac server for testing. Now that we've moved it to the client's ISP, none of the scripts are working. I imagine there's a difference in the way FileMaker is configured on the two servers, but I can't put my finger on what it could be. I'm past deadline now. Please help!

Posted

Do you see the cdml in the source of the pages served from the ISP? If so, the WebCompanion is not functioning.

If the cdml has been rendered (not visible in the client browser) the database is not being accessed.

Good Luck.

Garry

Posted

Thanks for the input, Garry. The cdml is rendered and I'm sure the databases are being accessed because all actions, such as edit, find, and new occur as expected -- only the scripts aren't running.

  • 2 weeks later...
Posted

Thanks for the feedback on the IWP, Garry. The website you accessed is actually the one that is working (the test website). Your suggestion made me think to check a couple of other things. Unfortunately, I still haven't found the solution to the problem. I am now trying to figure out a work around. Do you know if you can set up multiple tokens (which would allow me to do without almost all of the scripts)? If so, how do I do it? Can I just add a number to the token command? (e.g., ) and, if so, how would I test the current token? (e.g., [FMP-IF:CurrentToken.1.cn.jobber])

Leslie

Posted

Yes you can have 10 Tokens "-Token.0 .. -Token.9".

Here is an example:

Tokens can be used on the right side of an FMP-If using the intratag replacement syntax:

[FMP-If: CurrentToken:5.eq.{CurrentToken:6}]

Token 5 equals token 6.

[/FMP-If]

Good Luck.

Garry

This topic is 6983 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.