[FX.php List] fx.php, Swiftmailer and Webviewer Cause Filemaker Server to Hang?

Dennis Dalziel dennis at gandrpublishing.com
Wed Apr 30 11:29:39 MDT 2008


I've created a fx.php page that attempts to send an email using Swift
mailer. I trigger the page by sending the recid in a GET variable via the
URL and Filemaker's  webviewer to get an account's email address via a
fx.php find and then send the email. Everything started out working fine,
the page loaded very quickly and the email went as it should. 

 

After continuing to work on the database, and leaving this routine alone, I
have all of a sudden had this php page hang whenever it is loaded. If you
view the database in the Filemaker Server Console you can see that a request
is being made of the server and at the same time all other fx.php requests
that are coming from other pages are being blocked and everyone of the other
pages that I have running that rely on the same Filemaker server to process
requests hangs as well. The only way that I've been able to get everything
working again is to close the database with the mailing routine.

 

Redoing the fx.php page to just do a simple find would also hang the request
of the server. I tried changing the layout that was referred to, by the
find, with the same result. If I changed the database, the fx.php page was
using,  then the request would go through without a hitch. So I thought the
database was corrupted somehow. I ran all the recovery and file maintenance
routines and still the find request would fail.

 

I finally had to get a backup copy of the database from a few days before
and then everything worked again, for a time. My problem is that this has
now happened again and I'm at a loss as to why. We have many pages using
fx.php and this one database is breaking them all when a simple find request
to the server is made.

 

Has anyone else experienced this and is there a reason why it would happen?

 

Dennis Dalziel

Production Manager

G & R Publishing Co.

507 Industrial Street

Waverly, IA 50677

319-352-5391

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20080430/85162df1/attachment.html


More information about the FX.php_List mailing list