4 Replies Latest reply on Apr 2, 2009 7:07 AM by Gnurps

    Problems with the new php site assistant?

    gwjo

      Title

      Problems with the new php site assistant?

      Your post

      I've just upgraded my system to FMS10 advanced and am having serious problems with the php site assistant. To be brief, it is not producing a usable set of pages whereas the old site assistant in FMS9 advanced did. Drop-down menus don't work, add record doesn't give any enter buttons or even the set of fields selected and so on. This is a disaster for me as I rely on the site assistant, clunky though it is, to generate the basic pages which I then edit in dreamweaver. Any suggestions as to how to troubleshoot this, or guidance on an alternative way of generating the site would be very much appreciated.

      Many thanks,

      George

        • 1. Re: Problems with the new php site assistant?
          TSGal

          gwjo:

           

          Thank you for your post.

           

          A user had a similar situation recently.  His solution was that he was using the old PHP files of FileMaker Server 9 with his FileMaker Server 10 program.  When you install FileMaker Server 10, the FM_API_for_PHP_Standalone.zip is put in the Web Publishing folder.  Open this file and a FileMaker.php and a "FileMaker" folder are extracted.  Copy this file and folder and put these into one of the following locations:

           

          The web server root folder where your PHP scripts reside

           

             For IIS (Windows): drive:\lnetpub\wwwroot

           

             For Apache (Mac OS): /Library/WebServer/Documents

           

          or, one of the include_path directories in your PHP installation.  The default for Mac OS X is /usr/lib/php

           

          TSGal

          FileMaker, Inc.

          • 2. Re: Problems with the new php site assistant?
            Gnurps
              
            TSGal wrote:

            gwjo:

             

            Thank you for your post.

             

            A user had a similar situation recently.  His solution was that he was using the old PHP files of FileMaker Server 9 with his FileMaker Server 10 program.  When you install FileMaker Server 10, the FM_API_for_PHP_Standalone.zip is put in the Web Publishing folder.  Open this file and a FileMaker.php and a "FileMaker" folder are extracted.  Copy this file and folder and put these into one of the following locations:

             

            The web server root folder where your PHP scripts reside

             

               For IIS (Windows): drive:\lnetpub\wwwroot

             

               For Apache (Mac OS): /Library/WebServer/Documents

             

            or, one of the include_path directories in your PHP installation.  The default for Mac OS X is /usr/lib/php

             

            TSGal

            FileMaker, Inc.


            So the API has changed for FMS 10? I had the API in my Apache Documents folder. It did not get updated, nor was a Standalone.zip file placed there. I did get the Standalone.zip in /Filemaker Server/Web Publishing, but I also installed Server 10's PHP during the Deployment Assistant, so do I really need to change my setup?
            PHP Site Assistant will not launch. I posted another message about this responding to another message.
            Thanks.
            Gary 

             

            • 3. Re: Problems with the new php site assistant?
              gwjo
                

              Hi,

              Yes, the APi for FMS10A has changed and you have to install the new one manually. All a bit of a **bleep** as this isn't flagged up in the instructions :-( The new site assistant produces very similar code but uses a different css structure which is more complex and, for non-specialists, a lot more difficult to edit. I'd love to find an easy-to-follow guide to editing both the FMS php code and the css to make it easier to produce functional pages that look good too!

              Many thanks for the replies,

              George

              • 4. Re: Problems with the new php site assistant?
                Gnurps
                  

                gwjo wrote:

                Hi,

                Yes, the APi for FMS10A has changed and you have to install the new one manually. All a bit of a **bleep** as this isn't flagged up in the instructions :-( The new site assistant produces very similar code but uses a different css structure which is more complex and, for non-specialists, a lot more difficult to edit. I'd love to find an easy-to-follow guide to editing both the FMS php code and the css to make it easier to produce functional pages that look good too!


                SO true! The Site Assistant code may be high quality, but it's also nearly un-decipherable in its complexity. 
                Gary