Sign in to follow this  
Followers 0
ScottBaxter

pc Enable XML Web Publishing

8 posts in this topic

Hi Guys,

 

We currently have a FileMaker Server instanace running, it already has PHP web publishing running.

 

I'm just wondering is it as simple as ticking enable XML web publishing for it to be up and running or have I got to restart the server??

 

Thanks

Share this post


Link to post
Share on other sites

Anyone around?

 

Thanks,

Scott

Share this post


Link to post
Share on other sites

The XML web publishing option has nothing to do with PHP connectivity.  PHP uses XML, but that is a different option.  Use the PHP option in the Console to enable PHP.

 

Steven

Share this post


Link to post
Share on other sites

Thanks for the reply Steven...

 

I was just wondering do you have to restart the server once you have enabled XML.

Share this post


Link to post
Share on other sites

Don't restart the entire machine itself, but maybe restart the database server part from the Console.

 

Steven

Share this post


Link to post
Share on other sites

Steven,

Do you mean simply turning the server button off and then on again?

Rick.

Share this post


Link to post
Share on other sites

No No.  Don't ever do that.  I mean restarting the database server service from the command line or from the Console.

 

Steven

Share this post


Link to post
Share on other sites

No No.  Don't ever do that.  I mean restarting the database server service from the command line or from the Console.

 

Steven

I meant the button in the Admin Console, not the physical button on the machine!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Similar Content

    • Sort records with ValueLists?
      By randyinla
      Hi, I'd like to sort records using value lists as well as text fields.  My FirstName field works (try Steve) but I'm at a loss on how to make the valuelist sort records correctly.  I want to search records from CA in my State valuelist.  Here's a link and the php code.  Thanks All!
      http://ssvtennis.com/valuelistsort.php
      valuelistsort.php
    • [FM Server 12.v05] Test web server (endpoint): Connection refused: connect
      By Joost Miltenburg
      LS,
       
      I am trying to enable Web Publishing tool in FileMaker Server 12.05 on a Windows 7 x64 with Java 7 (update 75) and IIS running (World Wide Web Publishing Service  running normally) . but I am facing this wired error which I can't get rid of. Tried a lot of things I saw on the internet without any luck.
       
      I have attached a snap of the error as well.
      Any tips or ideas are highly appreciated it.

    • Can I perform an 'If Count' before a result is executed?
      By randyinla
      I have lots of searchs that may return 'no records'.  Is there coding that will not kill other php requests on the same page?  Can I make an If statement that will search my db for a count of records before a result is executed:  something like
      if ($_Get Count($field == 1)
      my field is 'lafall1'.  it is a tennis tournament.  when someone clicks 'yes' for lafall1, it returns the number '1'.  this way, when someone plays 'lafall1', lafall2 and la fall3', a calculation field returns that 3 tournaments have been played.  If no one has clicked 'yes' for 'lafall1', the query will return an error: no records match this request.  It stops the script and  the coding on the rest of my page dies.  Here is a snippet of my code.  Thanks!

      <?php
      $RandyFind = $fm->newFindCommand('mylayout');
      $RandyFind->addFindCriterion('lafall1', '1');
      $RandyFind->addSortRule('ssvm', 1, FILEMAKER_SORT_DESCEND);
      $RandyFind->setRange(0,500);
      $result = $RandyFind->execute();
      if (FileMaker::isError($result)) {
          echo($result->getMessage());
          exit;
      }
      ?>
       
      <?php
      $found = $result->getFoundSetCount();
      if($found == 0)
          {
          $record_count = '';
          }
          elseif($found >= 2)
          {
          $record_count = '(' . $found . ' players)';
          }
      echo $record_count;?>
       
       
    • Can a New Record form pass info to an edit form on submit?
      By randyinla
      Hi, I'd like my New Record.php  to advance to an Edit.php upon clicking submit on the New Record form.  I don't want to remain on the New Record.php, but doing otherwise gives me a 'no record created' message.  Here's an example of my New Record.php
      Thanks!
      newinputplayer.php
    • php edit form, get dropdown to pull value for that record
      By randyinla
      Hi, I was successful in creating records with drop down valuelists from my db, now I'd like an edit form on a new page to show those values and edit them. I only see the unedited drop down lists in the edit form.  Here is some code:

      $layout =& $fm->getLayout('mylayout');
      $values = $layout->getValueList('statelist');
      $statelist = '<select name="State">';
      foreach ($values as $value) 
          {
             $statelist .='<option value="' . $value . '">' . $value . '</option>';
          }
      $statelist .= '</select>';
       
       $edit = $fm->newEditCommand('mylayout', $_POST['id']);
       $edit->setField('State', $_POST['State']);
       $edit->execute();

      $record = $fm->getRecordById('mylayout', $_GET['id']);
      $State = $record->getField('State');

      <td><?php echo $statelist; ?></td>
       
      Thanks so much!