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 error - undefined index

Featured Replies

I can't get my CWP PHP connection to work...I am getting the following error which I cannot find any info on how to resolve. Any ideas?

The PHP connection to the FMServer_Sample database failed. I do have a SSL certificate installed.

Notice: Undefined index: message.error.fm.60 in C:Program FilesFileMakerFileMaker ServerWeb Publishingweb-server-supporttestfmi-testphptest.php on line 36

Any ideas?

The undefined index error means that your code is attempting to access a slot in an associative array that does not exist.

In your case it's looking for the key "message.error.fm.60". There is no Filemaker error 60 so I'm not sure what's up there. If you post your code I'll take a look and see if I can be of more help.

  • Author

Forgive me ... I am a novice at PHP. What code do you need excactly. I am only using the Example.fp7 files that came with Server 9. I have not altered these in any way.

I'm looking for the code leading up to your error in the file:

C:Program FilesFileMakerFileMaker ServerWeb Publishingweb-server-supporttestfmi-testphptest.php

The error is on line 36 so I'll need to see the relevant code leading up to that line, or you could just include the entire file. Don't forget to change any hard-coded login or server information to something innocuous like "user", "pw" , "server", etc.

Hi Baloo,

Sorry to jump in, have you got SSL and FMSA 9 with PHP working on a Windows 2003 machine?

Cheers

J

  • Author

Yes, I am using SSL - FMSA9 - Windows Server 2003

Hi,

I was referrning to Baloo, as I have the same setup as you and am gettinga very similar undefined error which I can't sort out.

No, we have FMSA 9 running with IIS on a Windows 2003 server (managed by another department), but all of our PHP code lives on a Linux/Apache server (managed by us). All of this is only on an internal network so we're not using SSL.

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.