Chuck Posted March 23, 2011 Posted March 23, 2011 I have a FileMaker database published to the web with the PHP API. It was working before, but now whenever I attempt to connect to the database I'm getting a FileMaker_Error object instead of the result I used to get. The error message is: Communication Error: (22) The requested URL returned error: 404 - This can be due to an invalid username or password, or if the FMPHP privilege is not enabled for that user. I see the user name and password in a vardump of the result and have successfully logged in with these credentials using the FileMaker Pro client instead of the web, so the username and password are valid. I've checked the user's privilege set. WebUser is a member of the Web privilege set, the fmphp extended privilege is used by the Web privilege set according to the Extended Privileges in the Manage Security dialog box. I seem to remember having this problem once before, but can't remember what the solution was. Any assistance would be appreciated. Thanks, Chuck
dansmith65 Posted March 23, 2011 Posted March 23, 2011 Have you tried restarting the FileMaker server computer? Are the hostname and database name set properly? Can you access the FileMaker host URL from a browser?
fmdataweb Posted May 24, 2011 Posted May 24, 2011 Hi Chuck, I'm also getting the same error on one of my servers which has just come out of the blue - all was working fine until a few days ago and now all we get is "Communication Error: (22) The requested URL returned error: 404". Like you I can open the databases successfully using FileMaker Pro client and the privileges are correct. Just wondering if you got to the bottom of this and how you resolved it? Many thanks, Steve I have a FileMaker database published to the web with the PHP API. It was working before, but now whenever I attempt to connect to the database I'm getting a FileMaker_Error object instead of the result I used to get. The error message is: Communication Error: (22) The requested URL returned error: 404 - This can be due to an invalid username or password, or if the FMPHP privilege is not enabled for that user. I see the user name and password in a vardump of the result and have successfully logged in with these credentials using the FileMaker Pro client instead of the web, so the username and password are valid. I've checked the user's privilege set. WebUser is a member of the Web privilege set, the fmphp extended privilege is used by the Web privilege set according to the Extended Privileges in the Manage Security dialog box. I seem to remember having this problem once before, but can't remember what the solution was. Any assistance would be appreciated. Thanks, Chuck
Recommended Posts
This topic is 5189 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 accountSign in
Already have an account? Sign in here.
Sign In Now