Page 1 of 1

DayBack Online and FileMaker Server 16

PostPosted: Sat Sep 23, 2017 10:11 am
by brian.curran
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.

Re: DayBack Online and FileMaker Server 16

PostPosted: Sat Sep 23, 2017 11:23 am
by John Sindelar
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

Re: DayBack Online and FileMaker Server 16

PostPosted: Sun Sep 24, 2017 3:17 am
by brian.curran
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";
}

Re: DayBack Online and FileMaker Server 16

PostPosted: Mon Sep 25, 2017 8:12 am
by John Sindelar
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.

Re: DayBack Online and FileMaker Server 16

PostPosted: Mon Sep 25, 2017 9:51 am
by brian.curran
Ok, will send email with screenshots...
Brian.