Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

I'm developing some php scripts using FMS16 on Windows (2k8R2) with CWP and PHP, but am running into an issue I can't seem to solve.

As part of the script, I want to log when the script gets invoked, and to do that I figured I'd use an fopen() and fwrite(). However, when I try to fopen() in write mode, FMS throws a 500 Internal server error. When I try fopen in read mode its fine. I've moved the log file to several locations but none seem to work.

Does FMS only allow writing to certain folders? Which ones? I've tried the http folder, the data folder nothing seems to work.

PHP works as I've already created some scripts that interact with the DB.

Posted

Try the server's Documents folder

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