Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

FMSA 9 & PHP Test Page Error

Featured Replies

I am wondering if anyone else has come across this problem. I've installed FMSA 9 having already had PHP 5.2.2 installed so set the installation to use the existing PHP installation. The PHP test.php page works fine when I open a web browser and type in:

http://localhost/test.php

However when I try to run the Test PHP Custom Web Publishing page all I get is a blank page.

The path to the phptest.php appears to be correct otherwise I would get a 404 error: page not found.

I have since updated to FMSA 9.0v2 which hasn't resolved the issue. Also I tried the Edit Server Deployment link which effectively reinstalls the web publishing engine which didn't work either.

I would be grateful if anyone can point me in the right direction on this.

Thanks in advance.

If this is a multi-machine configuration be sure that the PHP page headers are calling the correct IP address of the web server machine.

That's all I can think of right now.

Steven

  • Author

Steven,

Thanks for your reply. Unfortunately this is not a multi-machine configuration it is a stand-alone setup.

I'm fast coming to the conclusion the only solution is to install the old version of PHP supplied with FMSA and that FMSA is not compatible with the later versions of PHP.

Does anyone else have FMSA running on an Intel Mac Pro using a later version of PHP than that supplied by FileMaker? If so, how was PHP installed?

Thanks again.

Hi spacemonkey.

It sounds like I'm in the same boat as you. Our setup is a little different, and I arrived there differently, but the current problem is the same.

We have FMS9 running on Win2003 and FMS9A Web Engine and Apache running on OS X Server 10.4.11.

When we first upgraded to FMS9 and 9A, we chose to use the included version of PHP that came with the FM installation because we had been using PHP 4. We did install the v2 update. Everything worked, including the API pages.

When I discovered that the PHP 5.2.1 that came with FileMaker didn't include the GD library, I decided to install the latest copy of PHP 5.2.4 from entropy.ch which does include the GD library.

Everything else continued to work (IWP, FX.php, xslt) but the API pages quit working and now all we see is a blank page. When I view the page source, there are 2 lines of basic html stuff (DOCTYPE) but nothing else. The page dies where the PHP starts in the code. If I comment out the first set of PHP lines up to where the html tag begins, then the page displays just fine, but without any API functions.

I've followed the directions for installing the standalone version of the API (as best as I could) but that didn't help. I also tried running the Server Setup again in the Admin Console to choose the PHP that is provided by FileMaker, but that kills Apache every time.

So at this time we are stuck with 3 choices:

1) live without the API.

2) wipe the Apache server clean so we can get back to PHP 5.2.1 that comes with FileMaker, giving us the API but no GD library.

3) hope that someone has a solution to our problem.

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.