[FX.php List] FX/server_data.php
Baard Belsaas
fmweb at belsaas.no
Tue Dec 7 15:06:34 MST 2004
Hi Jane
The FX.php in 8 hours is not 100% for using FX.php and FMP7AS. I have yet
doing the same as you, and a site I made in FMP5 and FX.php after the
lessons from fmwebschool does not work when I upgrade to FM7.
First of all you have to open server_data.php, and enter the IP address of
the server FileMaker is running on. Enter then the port number:
FileMaker 5/6 use FileMaker¹s web companion port.
FileMaker 7 use your web server port.
Open FX.php. Usually around line 50 in the document set var $dataServerType:
FileMaker 5/6 = 'FMPro5/6';
FileMaker 7 = 'FMPro7';
Maybe this help?
/Baard
På 07-12-04 19:09, skrev "FX" <fx at 9degrees.com>:
> I do know that you must enable the WPE (Web Publishing Engine) the
> correct access, or your file will not be shared. Be sure to enable XML
> publishing and add the user "fmxml" in the Extended Privileges and give
> enough access to the file. Among various other issues you will come
> across, make sure the database is actually being shared by FMSA and
> WPE.
>
> Hope this helps.
>
>
> On Dec 7, 2004, at 1:03 PM, Jane Chinn wrote:
>
>> Hi Everyone,
>>
>> I have Filemaker Server 7 Advanced, Server 7 and Developer 7 on a Mac
>> with OS 10.3. I have everything set up and enabled. I am wondering
>> if someone could tell me the correct path for the sample database I am
>> working with. I have purchase FX.php in 8 hours. There is a tutorial
>> with sample files but it seems to address the location of files when
>> using the web companion not FM Server 7. The sample is a page to find
>> all the records in the database
>>
>> With Server 7 you put the databases in the location:
>>
>> /Library/Filemaker Server 7/ Data/contacts.fp7
>>
>> With that what is the correct location to reference for the instance.
>> The book's example shows
>>
>> $instanceName->setDBData('contacts.fp5' , 'main');
>>
>> I updated to database to contacts.fp7
>>
>> Also I am wondering about how to create an instance as well. There
>> old example in this book has not been updated for FM 7 and shows:
>>
>> $instanceName=new FX($serverIP, $portNumber);
>>
>> which I referenced in the server_data.php file as
>>
>> $serverIP = '127.0.0.1';
>> $portNumber = '80';
>>
>> At any rate I don't seem to be getting it to find any of the expected
>> records.
>>
>> Do you have any suggestions why this might be. All of my files are at
>> the following URL:
>>
>> http://localhost/~chinn/php8/show_all.php
>>
>> The error I receive on the reply page is:
>>
>>
>> Found count: -1
>> Error Code: No Action Taken
>> First Name
>>
>> Thanks,
>> Jane
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
>>
> _________________
> Michael Layne
> 9 degrees development
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
More information about the FX.php_List
mailing list