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.

PHP site assistant - blank page?

Featured Replies

I'm new to this and am trying to setup my server (server 2003 + SP2 + IIS). PHP is installed and running (5.2.3), the sample database works fine with their associated setup files but I can't get the PHP Site Assistant to generate files that work (even on the FMPHP_sample.fp7 file). I get a blank page when I try to load up the home.php file in my browser. I'd be very grateful for suggestions as to how to go about trouble shooting this one. I have updated all the programs - 9.3 for FM-SA and so on.

many thanks,

George

  • Author

I've been trawling through this all day and thanks to Andy Gaunt's suggestion (on another similar topic) and piece of code to report errors onto the browser, I've worked out that it is to do with the location of the filemaker.php files and subfiles. I now need to work out how to specify the location of these files as they are integral to the working of FM-API for PHP. Any suggestions would be appreciated.

Regards,

George

  • Author

I've been trawling through this all day and thanks to Andy Gaunt's suggestion (on another similar topic) and piece of code to report errors onto the browser, I've worked out that it is to do with the location of the filemaker.php files and subfiles. I now need to work out how to specify the location of these files as they are integral to the working of FM-API for PHP. Any suggestions would be appreciated.

Regards,

George

You need to place the Filemaker.php and Filemaker folder in a directory that is listed in PHP's include_path, or provide a relative (or exact) link to Filemaker.php.

To find out what PHP's include path is set to:

Create a file called phpinfo.php.

Add just the following code.

<?

phpinfo();

?>

Surf to that file in your web browser. The PHP Core table (second one from the top) contains both the master and local include_path values.

The master value is set in the master php.ini file. I run Apache and am not sure where IIS puts this. Try C:/PHP. You can customize settings locally for a particular aplication by placing a php.ini in the application's root folder.

Edited by Guest
code tags keep stripping off trailing ?>

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.