DayBack Online and FileMaker Server 16

Notes on our latest calendar for FileMaker 13,: DayBack
Posts: 142
Joined: Thu Nov 01, 2012 2:36 pm
PostPosted: Sat Sep 23, 2017 10:11 am
Hi,
We are running DayBack for FileMaker v10.10, hosted on FileMaker Server 16. Everything seems fine with this setup but we are struggling to connect to the file via DayBack Online.

The renamed PHP file is located on the server at:
C:\Program Files\FileMaker\FileMaker Server\HTTPServer\conf and it has my DayBack Online username and password stored as the credentials. Is this correct or should it be my normal DayBack username and password?

When I test the source settings, the error returned is:
Files Available:
[
{
"ERRORCODE": "http-0",
"DESCRIPTION": "There was a problem accessing the PHP Relay file. Please verify that the file is in the proper location."
}
]

0 bytes downloaded

I believe that both XML web publishing and PHP are running on the server as the following test returns the file name:
https://myserver.co.uk/fmi/xml/FMPXMLRE ... l?-dbnames

Any suggestions on how to resolve this would be appreciated...
Many thanks, Brian.
SeedCode Staff
SeedCode Staff
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am
PostPosted: Sat Sep 23, 2017 11:23 am
Hi Brian,

The credentials stored in the PHPRelay should be your regular FileMaker file credentials: that's how the relay can talk to your FileMaker solution. More on that under "FileMaker Login" here: https://www.seedcode.com/pmwiki/index.p ... PrelayFile

You can also use this test to confirm that the PHPRelay is in the right place and that PHP is running: http://serverAddress/fmxjRelay.php?test=true Details on how to use and interpret that test are under "What's wrong" here: https://www.seedcode.com/pmwiki/index.p ... leshooting

Hope that helps!

- John
John Sindelar
SeedCode
Posts: 142
Joined: Thu Nov 01, 2012 2:36 pm
PostPosted: Sun Sep 24, 2017 3:17 am
Still struggling unfortunately John...

The original code is:
//set credentials based on the user's DayBack account name / email address.
if ($account === "[email protected]") { ***I CHANGED THIS TO MY DAYBACK USERNAME***
$u = "fmxj"; ***I CHANGED THIS TO MY FM FILE USERNAME***
$p = "fmxj"; ***I CHANGED THIS TO MY FM FILE PASSWORD***
}
else if ($account === "<[email protected]>") {
$u = "<AnotherFileMakerUser>";
$p = "<AnotherFileMakerPassword>";
}
}
//hardcoded credentials for all users
else{
$u = "fmxj"; *** OR SHOULD I IGNORE THE ABOVE AND USE THESE TWO FIELDS? ***
$p = "fmxj";
}
SeedCode Staff
SeedCode Staff
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am
PostPosted: Mon Sep 25, 2017 8:12 am
Those look like the right changes to make, Brian. Does this test show that your relay file is in the right location?

You can also use this test to confirm that the PHPRelay is in the right place and that PHP is running: http://serverAddress/fmxjRelay.php?test=true


Email us at support at seedcode.com and we can take this further.
John Sindelar
SeedCode
Posts: 142
Joined: Thu Nov 01, 2012 2:36 pm
PostPosted: Mon Sep 25, 2017 9:51 am
Ok, will send email with screenshots...
Brian.

Return to DayBack Calendar for FileMaker

Who is online

Users browsing this forum: No registered users and 2 guests

cron
(855) SEEDCODE
[email protected]
Follow us: