Jump to content

Base64 to Binary Serverside Script


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

Recommended Posts

We're testing the signature capture on iOS devices here at work and I was trying to set up the script on the server to periodically convert the Base64 data to a .png

When I run it on the server I get a "Filemaker script error" and a "?" in my container fields. What I've done so far:

  • Scriptmaster plugin installed in the extensions folder for server and the client (residing on the server)
  • Startup script registering the function in the file where the script is run from
  • Checked that all my script steps are server compatible
  • Script works properly on my client machine

Now, I will say that I have not restarted the server or the server software since I copied the plugin to the server extensions folder. This is currently my best bet as to why it's not working. We have a large staff so it's inconvenient to randomly restart the server so I'm putting that off as the last resort. Any other thoughts?

(Running FM11 client/server)

Link to comment
Share on other sites

I would suggest trying to run a ridiculously simple script from the server (that uses the plug-in), then have a look at the log files.

example of ridiculously simple script:

Set Field[somefield, Better Random()]

If that doesn't work, then FM Server must not be recognizing your plug-in.

If I remember correctly, you do need to restart FileMaker server for it to recognize new plug-in's (but don't quote me on that).

Link to comment
Share on other sites

Yes, You will need to stop and start the filemaker database server before you can use plugins which you have installed for scheduled scripts. You will also need to go into Database Server -> Server Plug-Ins in your server admin console and activate the individual plugins and also check the "Enable FileMaker server to use plugins" box.

Link to comment
Share on other sites

This topic is 4352 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.