AnsweredAssumed Answered

Custom Web Pubishing PHP, FMS 13

Question asked by ErichWetzel on Jan 25, 2014
Latest reply on Jan 27, 2014 by ErichWetzel

Title

Custom Web Pubishing PHP, FMS 13

Your post

     Does anyone know how to point a PHP custom web publishing page from a standalone web server to the FMS13 database server?

     We are moving from FMSA11 to FMS13. In the past the Web Publishing Engine was on our stand alone web server and the database machine was separate. In order to take advantage of the new features of 13 we put FMS13 as a single machine.

     Our testing database has FMS13 on a single machine installation. Our testing business web site is on a stand alone web server on the same subnet at the FMS13 machine. I need to know if anyone has experience with this type of setup. It seems to me that the standalone web site should be able to call the database server for data. But initial testing does not seem to permit that. I bet I am doing something wrong.

     Our web site PHP pages do not seem to be getting the FileMaker.php if i read the error below correctly. The same PHP pages seem to work when the WPE is on the Web site server like our current setup. Having the WPE on our web site machine is not possible if we want to use the new features of FMS since it needs to create its own web server. 

     The PHP page has an include file defining the database that has been pointed to the IP of the FMS13 single machine, and by extension of course its WPE.

     Any ideas would be appreciated. Thanks.

     -Erich

     Error result below :

Into errorHandler() at line 15

---ERRNO---
2

---ERRSTR---
require_once(FileMaker.php): failed to open stream: No such file or directory

---ERRFILE---
/Volumes/Data/websitedata/inspiration.php

---ERRLINE---
7

---ERRCONTEXT---
Array
(
    [_GET] => Array
        (
        )

    [_POST] => Array
        (
        )

    [_COOKIE] => Array
        (
        )

    [_FILES] => Array
        (
        )

)


Backtrace of errorHandler()
Array
(
    [0] => Array
        (
            [file] => /Volumes/Data/websitedata/inspiration.php
            [line] => 7
            [function] => errorHandler
            [args] => Array
                (
                    [0] => 2
                    [1] => require_once(FileMaker.php): failed to open stream: No such file or directory
                    [2] => /Volumes/Data/websitedata/inspiration.php
                    [3] => 7
                    [4] => Array
                        (
                            [_GET] => Array
                                (
                                )

                            [_POST] => Array
                                (
                                )

                            [_COOKIE] => Array
                                (
                                )

                            [_FILES] => Array
                                (
                                )

                        )

                )

        )

    [1] => Array
        (
            [file] => /Volumes/Data/websitedata/inspiration.php
            [line] => 7
            [function] => require_once
        )

)


Fatal error: require_once(): Failed opening required 'FileMaker.php' (include_path='.:') in /Volumes/Data/websitedata/inspiration.phpon line 7

Outcomes