Jump to content

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

Recommended Posts

  • Newbies

I have been successfully running FileMaker 12 Server Advanced for Instant Web Publishing (IWP) at db.npco.info, and am now trying to use PHP Custom Web Publishing (CWP). I've tried to follow instructions to make use of PHP API, but haven't succeeded yet.

 

I will appreciate help or tips on the issue below.

 

When clicking a link to test pages from a page http://192.168.1.26:16000/test on the server PC, I receive an error:

    Not Found
    HTTP Error 404. The requested resource is not found
for Instant Web Publishing Test and PHP Custom Web Publishing Test

(at

http://192.168.1.26/fmi/iwp/cgi?-db=FMServer_Sample&-startsession and

http://192.168.1.26/fmi-test/phptest.php?lang=ja&server=YUI_DELL_WIN7, respectively.)

 

The server is FileMaker 12 Server Advanced on Windows 7 Professional (SP1), running IIS 6.1 as a web server. PHP was installed while setting up the FM server.

 

Tried to run a PHP turotial, and

http://192.168.1.26/PHP/Tutorial/English/Lesson1/home.php

gives the same 404 error message.

 

Noticed something must be wrong:

http://db.npco.info/PHP/Tutorial/English/index.html

is correctly displayed, but

http://192.168.1.26/PHP/Tutorial/English/index.html

gives the 404 error.

I use a proxy server to redirect db.npco.info to 192.168.1.26.

 

Actually, http://db.npco.info/fmi/iwp/res/iwp_home.html

is displayed correctly, but

http://192.168.1.26/fmi/iwp/res/iwp_home.html

throws a 404 error on the server PC.

 

At http://db.npco.info/PHP/Tutorial/English/Lesson1/home.php

it crashes at $result = $findCommand->execute(); and displays

FileMaker Questionnaire System Welcome to the Questionnaire Tutorial.

Error: 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 must be missing something obvious..., but haven't been able to figure it out :-(

Will greatly appreciate any tips or pointers.

Link to comment
Share on other sites

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