From bob at patin.com Fri Mar 4 09:54:31 2016 From: bob at patin.com (Bob Patin) Date: Fri Mar 4 09:54:35 2016 Subject: [FX.php List] [OFF] Looking for someone to help with a RestFM implementation Message-ID: <983DE61B-4DC0-468C-A9E5-9D8172809471@patin.com> If you have experience working with RestFM, here?s what I?m looking for: Someone to help me write these: 1. some URLs for writing to the FileMaker database from RestFM 2. implement a method to use RestFM from a FM database to write to a MySQL database within the same network If you have experience in this, let me know; thanks, Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11, 12 & 13 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20160304/65e42208/attachment.html From info at jsfmp.com Wed Mar 23 16:10:22 2016 From: info at jsfmp.com (Joel Shapiro) Date: Wed Mar 23 16:10:28 2016 Subject: [FX.php List] [OFF] Recommendations for Web Server specs? Message-ID: <393AB5BC-788F-47A7-9CA3-D506D7527C50@jsfmp.com> Hi All I?ve got a client whose IT dept is spinning up a new VM to serve as a vanilla Web Server for FM CWP. There?ll be no FM components on this machine. I?m not so good with hardware/OS? so I?m looking here for recommendations :) There will be 5-10-ish CWP sites running on their server (each just in a sub-directory of wwwroot), with up to 400-ish users, although generally not all at the same time. They've found that the following specs "seem to be consistent with both Filemaker and Microsoft.?: Processors: 4 Core RAM: 8GB+ HardDisk: 160GB All of their other servers are still running Win Server 2008 R2, but this one may go up with Win Server 2012, and it seems we may be able to ask them for pretty high specs. FWIW: This will be replacing an older Web Server that?s running: Windows Server 2008 R2 Enterprise 16GB RAM 2.10 GHz (2 processors) 64-bit 40GB HD Any words of advice? TIA, -Joel From steve at bluecrocodile.co.nz Thu Mar 24 01:58:59 2016 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Thu Mar 24 01:59:06 2016 Subject: [FX.php List] [OFF] Recommendations for Web Server specs? In-Reply-To: <393AB5BC-788F-47A7-9CA3-D506D7527C50@jsfmp.com> References: <393AB5BC-788F-47A7-9CA3-D506D7527C50@jsfmp.com> Message-ID: Hi Joel If this box is purely for web serving, and will have no FM components on it, then they could get away with far lighter specs if they went with a Linux box. I?ve been finding that 2 cores, with 2 (or maybe 4Gb) RAM are more than adequate to keep numerous CWP sites humming along, including some quite busy, public-facing sites. Obviously if ?Windows? is their thing (which it kinda sounds like might be), then that plans? probably not going to work, in which case those specs look consistent with the ?recommended? specs for a Server 2012 install so should be more than adequate for straight web serving. Cheers Steve > Hi All > > I?ve got a client whose IT dept is spinning up a new VM to serve as a vanilla Web Server for FM CWP. There?ll be no FM components on this machine. > > I?m not so good with hardware/OS? so I?m looking here for recommendations :) > > There will be 5-10-ish CWP sites running on their server (each just in a sub-directory of wwwroot), with up to 400-ish users, although generally not all at the same time. > > They've found that the following specs "seem to be consistent with both Filemaker and Microsoft.?: > Processors: 4 Core > RAM: 8GB+ > HardDisk: 160GB > > All of their other servers are still running Win Server 2008 R2, but this one may go up with Win Server 2012, and it seems we may be able to ask them for pretty high specs. > > FWIW: This will be replacing an older Web Server that?s running: > Windows Server 2008 R2 Enterprise > 16GB RAM > 2.10 GHz (2 processors) > 64-bit > 40GB HD > > Any words of advice? > > TIA, > -Joel > > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list Steve Winter +44 777 852 4776 steve@bluecrocodile.co.nz From malcolm at notyourhomework.net Thu Mar 24 03:09:55 2016 From: malcolm at notyourhomework.net (Malcolm Fitzgerald) Date: Thu Mar 24 03:10:16 2016 Subject: [FX.php List] [OFF] Recommendations for Web Server specs? In-Reply-To: <393AB5BC-788F-47A7-9CA3-D506D7527C50@jsfmp.com> References: <393AB5BC-788F-47A7-9CA3-D506D7527C50@jsfmp.com> Message-ID: <56F3AEE3.9010001@notyourhomework.net> Hi Joel, If you are building a web server which does not run the WPE then you can get by with very modest resources. You could probably convert the old server to BSD/Linux and do well enough. It is the server running the WPE that has to be fast enough and have sufficient RAM to manage requests. Are you able to flood the server in normal usage? Get a faster CPU. Are the data sets large? Get more RAM. Say you have a fast CPU and lots of RAM. The question then is how well are the web-apps and the databases written. Do the apps enforce limits on searches and found sets to prevent the server from choking? Do they cache session data? Do they cache data sets across sessions? and so on. Malcolm On 24/03/2016 6:10 AM, Joel Shapiro wrote: > Hi All > > I?ve got a client whose IT dept is spinning up a new VM to serve as a vanilla Web Server for FM CWP. There?ll be no FM components on this machine. > > I?m not so good with hardware/OS? so I?m looking here for recommendations :) > > There will be 5-10-ish CWP sites running on their server (each just in a sub-directory of wwwroot), with up to 400-ish users, although generally not all at the same time. > > They've found that the following specs "seem to be consistent with both Filemaker and Microsoft.?: > Processors: 4 Core > RAM: 8GB+ > HardDisk: 160GB > > All of their other servers are still running Win Server 2008 R2, but this one may go up with Win Server 2012, and it seems we may be able to ask them for pretty high specs. > > FWIW: This will be replacing an older Web Server that?s running: > Windows Server 2008 R2 Enterprise > 16GB RAM > 2.10 GHz (2 processors) > 64-bit > 40GB HD > > Any words of advice? > > TIA, > -Joel > > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From info at jsfmp.com Thu Mar 24 10:21:02 2016 From: info at jsfmp.com (Joel Shapiro) Date: Thu Mar 24 10:21:06 2016 Subject: [FX.php List] [OFF] Recommendations for Web Server specs? In-Reply-To: References: <393AB5BC-788F-47A7-9CA3-D506D7527C50@jsfmp.com> Message-ID: Hi Steve Thanks much for the reply. You?re right, they?re Windows Server folk, no Linux :-/ Best, -Joel > On Mar 24, 2016, at 12:58 AM, Steve Winter wrote: > > Hi Joel > > If this box is purely for web serving, and will have no FM components on it, then they could get away with far lighter specs if they went with a Linux box. I?ve been finding that 2 cores, with 2 (or maybe 4Gb) RAM are more than adequate to keep numerous CWP sites humming along, including some quite busy, public-facing sites. > > Obviously if ?Windows? is their thing (which it kinda sounds like might be), then that plans? probably not going to work, in which case those specs look consistent with the ?recommended? specs for a Server 2012 install so should be more than adequate for straight web serving. > > Cheers > Steve > > >> Hi All >> >> I?ve got a client whose IT dept is spinning up a new VM to serve as a vanilla Web Server for FM CWP. There?ll be no FM components on this machine. >> >> I?m not so good with hardware/OS? so I?m looking here for recommendations :) >> >> There will be 5-10-ish CWP sites running on their server (each just in a sub-directory of wwwroot), with up to 400-ish users, although generally not all at the same time. >> >> They've found that the following specs "seem to be consistent with both Filemaker and Microsoft.?: >> Processors: 4 Core >> RAM: 8GB+ >> HardDisk: 160GB >> >> All of their other servers are still running Win Server 2008 R2, but this one may go up with Win Server 2012, and it seems we may be able to ask them for pretty high specs. >> >> FWIW: This will be replacing an older Web Server that?s running: >> Windows Server 2008 R2 Enterprise >> 16GB RAM >> 2.10 GHz (2 processors) >> 64-bit >> 40GB HD >> >> Any words of advice? >> >> TIA, >> -Joel >> >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > Steve Winter > +44 777 852 4776 > steve@bluecrocodile.co.nz > > > > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From info at jsfmp.com Thu Mar 24 10:27:06 2016 From: info at jsfmp.com (Joel Shapiro) Date: Thu Mar 24 10:27:11 2016 Subject: [FX.php List] [OFF] Recommendations for Web Server specs? In-Reply-To: <56F3AEE3.9010001@notyourhomework.net> References: <393AB5BC-788F-47A7-9CA3-D506D7527C50@jsfmp.com> <56F3AEE3.9010001@notyourhomework.net> Message-ID: <1DE2C54B-768D-4FF3-A618-D7520CED565A@jsfmp.com> Thanks very much, Malcolm. Linux isn?t an option for them. Most of the sites (& DBs) have been or will be built by me, although they may bring a few older, smaller sites onto this server that I can?t vouch for. I?ll try to look into those. Thanks, -Joel > On Mar 24, 2016, at 2:09 AM, Malcolm Fitzgerald wrote: > > Hi Joel, > > If you are building a web server which does not run the WPE then you can get by with very modest resources. You could probably convert the old server to BSD/Linux and do well enough. > > It is the server running the WPE that has to be fast enough and have sufficient RAM to manage requests. > > Are you able to flood the server in normal usage? Get a faster CPU. > Are the data sets large? Get more RAM. > > Say you have a fast CPU and lots of RAM. The question then is how well are the web-apps and the databases written. Do the apps enforce limits on searches and found sets to prevent the server from choking? Do they cache session data? Do they cache data sets across sessions? and so on. > > Malcolm > > > On 24/03/2016 6:10 AM, Joel Shapiro wrote: >> Hi All >> >> I?ve got a client whose IT dept is spinning up a new VM to serve as a vanilla Web Server for FM CWP. There?ll be no FM components on this machine. >> >> I?m not so good with hardware/OS? so I?m looking here for recommendations :) >> >> There will be 5-10-ish CWP sites running on their server (each just in a sub-directory of wwwroot), with up to 400-ish users, although generally not all at the same time. >> >> They've found that the following specs "seem to be consistent with both Filemaker and Microsoft.?: >> Processors: 4 Core >> RAM: 8GB+ >> HardDisk: 160GB >> >> All of their other servers are still running Win Server 2008 R2, but this one may go up with Win Server 2012, and it seems we may be able to ask them for pretty high specs. >> >> FWIW: This will be replacing an older Web Server that?s running: >> Windows Server 2008 R2 Enterprise >> 16GB RAM >> 2.10 GHz (2 processors) >> 64-bit >> 40GB HD >> >> Any words of advice? >> >> TIA, >> -Joel >> >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From bob at patin.com Mon Mar 28 08:48:52 2016 From: bob at patin.com (Bob Patin) Date: Mon Mar 28 08:48:56 2016 Subject: [FX.php List] Deprecated function in FX.php Message-ID: I?m getting this error this morning: PHP Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in? I can hide the errors with error_reporting(0) but is there an update in the works? Thanks, Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11, 12 & 13 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20160328/6fc9fc14/attachment.html From bob at patin.com Mon Mar 28 09:03:47 2016 From: bob at patin.com (Bob Patin) Date: Mon Mar 28 09:03:51 2016 Subject: [FX.php List] Deprecated function in FX.php In-Reply-To: References: Message-ID: <1F6D1591-F369-4230-A53A-25242B24A269@patin.com> Second question: Am I safe in replacing all preg_replace functions with preg_replace_callback? Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11, 12 & 13 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > On Mar 28, 2016, at 9:48 AM, Bob Patin wrote: > > I?m getting this error this morning: > > PHP > Deprecated: preg_replace(): The /e modifier is deprecated, use > preg_replace_callback instead in? > > I can hide the errors with error_reporting(0) but is there an update in the works? > > Thanks, > > Bob Patin > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > FileMaker 9, 10, 11, 12 & 13 Certified Developer > http://www.longtermsolutions.com > - > iChat: bobpatin@me.com > Twitter: bobpatin > ? > FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20160328/b60ca409/attachment.html From ted-fitzgerald at uiowa.edu Mon Mar 28 09:12:42 2016 From: ted-fitzgerald at uiowa.edu (Fitzgerald, Theodore C) Date: Mon Mar 28 09:12:45 2016 Subject: [FX.php List] Deprecated function in FX.php In-Reply-To: <1F6D1591-F369-4230-A53A-25242B24A269@patin.com> References: <1F6D1591-F369-4230-A53A-25242B24A269@patin.com> Message-ID: Bob, What version of FX.php are you running? According to the FX.php commit history on GitHub, this issue should have been fixed back in July of 2014. The syntax of preg_replace_callback is slightly different than preg_replace (because it requires a function to be passed in). Can you update your FX.php to the latest version from GitHub (https://github.com/yodarunamok/fxphp/)? In case you were interested, here are the two commits that should have fixed this issue: https://github.com/yodarunamok/fxphp/commit/6c7f314e3fb15eb2c2e2560664a23a38c1bc4445 https://github.com/yodarunamok/fxphp/commit/6203aba9b374bcbd20042aeb5227aa4c6b85bbda Ted From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Bob Patin Sent: Monday, March 28, 2016 10:04 AM To: FX.php Discussion List Subject: Re: [FX.php List] Deprecated function in FX.php Second question: Am I safe in replacing all preg_replace functions with preg_replace_callback? Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11, 12 & 13 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting On Mar 28, 2016, at 9:48 AM, Bob Patin > wrote: I?m getting this error this morning: PHP Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in? I can hide the errors with error_reporting(0) but is there an update in the works? Thanks, Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11, 12 & 13 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting _______________________________________________ FX.php_List mailing list FX.php_List@mail.iviking.org http://www.iviking.org/mailman/listinfo/fx.php_list -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20160328/8fc25ccf/attachment-0001.html From chris at iViking.org Mon Mar 28 09:18:03 2016 From: chris at iViking.org (Chris Hansen) Date: Mon Mar 28 09:13:19 2016 Subject: [FX.php List] Deprecated function in FX.php In-Reply-To: References: Message-ID: <4F286498-D182-4C6E-A363-1858B0BC0D82@iViking.org> Hey Bob, Yes, this has been updated. I wasn't good at updating version numbers for a bit, so although what's up on github may not look newer than what you have, it most likely is. Best, --Chris > On Mar 28, 2016, at 8:48 AM, Bob Patin > wrote: > > I?m getting this error this morning: > > PHP > Deprecated: preg_replace(): The /e modifier is deprecated, use > preg_replace_callback instead in? > > I can hide the errors with error_reporting(0) but is there an update in the works? > > Thanks, > > Bob Patin > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > FileMaker 9, 10, 11, 12 & 13 Certified Developer > http://www.longtermsolutions.com > - > iChat: bobpatin@me.com > Twitter: bobpatin > ? > FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20160328/799e5b45/attachment.html From bob at patin.com Mon Mar 28 09:39:14 2016 From: bob at patin.com (Bob Patin) Date: Mon Mar 28 09:39:18 2016 Subject: [FX.php List] Deprecated function in FX.php In-Reply-To: References: <1F6D1591-F369-4230-A53A-25242B24A269@patin.com> Message-ID: <164C125F-4F31-4AEE-B191-3C4977EAFDDE@patin.com> Thanks for the reply; I?ll update FX. I?m not sure what version of PHP this is; the client moved their site to a new server a few weeks ago. Interestingly though, the error just popped up a couple of days ago. Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11, 12 & 13 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > On Mar 28, 2016, at 10:12 AM, Fitzgerald, Theodore C wrote: > > Bob, > > What version of FX.php are you running? According to the FX.php commit history on GitHub, this issue should have been fixed back in July of 2014. > > The syntax of preg_replace_callback is slightly different than preg_replace (because it requires a function to be passed in). > > Can you update your FX.php to the latest version from GitHub (https://github.com/yodarunamok/fxphp/ )? > > In case you were interested, here are the two commits that should have fixed this issue: > > https://github.com/yodarunamok/fxphp/commit/6c7f314e3fb15eb2c2e2560664a23a38c1bc4445 > https://github.com/yodarunamok/fxphp/commit/6203aba9b374bcbd20042aeb5227aa4c6b85bbda > > Ted > > From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Bob Patin > Sent: Monday, March 28, 2016 10:04 AM > To: FX.php Discussion List > Subject: Re: [FX.php List] Deprecated function in FX.php > > Second question: > > Am I safe in replacing all preg_replace functions with preg_replace_callback? > > > Bob Patin > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > FileMaker 9, 10, 11, 12 & 13 Certified Developer > http://www.longtermsolutions.com > - > iChat: bobpatin@me.com > Twitter: bobpatin > ? > FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > > On Mar 28, 2016, at 9:48 AM, Bob Patin > wrote: > > I?m getting this error this morning: > > PHP > Deprecated: preg_replace(): The /e modifier is deprecated, use > preg_replace_callback instead in? > > I can hide the errors with error_reporting(0) but is there an update in the works? > > Thanks, > > Bob Patin > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > FileMaker 9, 10, 11, 12 & 13 Certified Developer > http://www.longtermsolutions.com > - > iChat: bobpatin@me.com > Twitter: bobpatin > ? > FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20160328/ab7f9a58/attachment-0001.html From bob at patin.com Mon Mar 28 09:39:59 2016 From: bob at patin.com (Bob Patin) Date: Mon Mar 28 09:40:02 2016 Subject: [FX.php List] Deprecated function in FX.php In-Reply-To: References: <1F6D1591-F369-4230-A53A-25242B24A269@patin.com> Message-ID: <490F58DA-B21F-4F69-BD7C-FC42585C4081@patin.com> I see the preg_replace function all over MPDF pages too? Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11, 12 & 13 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > On Mar 28, 2016, at 10:12 AM, Fitzgerald, Theodore C wrote: > > Bob, > > What version of FX.php are you running? According to the FX.php commit history on GitHub, this issue should have been fixed back in July of 2014. > > The syntax of preg_replace_callback is slightly different than preg_replace (because it requires a function to be passed in). > > Can you update your FX.php to the latest version from GitHub (https://github.com/yodarunamok/fxphp/ )? > > In case you were interested, here are the two commits that should have fixed this issue: > > https://github.com/yodarunamok/fxphp/commit/6c7f314e3fb15eb2c2e2560664a23a38c1bc4445 > https://github.com/yodarunamok/fxphp/commit/6203aba9b374bcbd20042aeb5227aa4c6b85bbda > > Ted > > From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Bob Patin > Sent: Monday, March 28, 2016 10:04 AM > To: FX.php Discussion List > Subject: Re: [FX.php List] Deprecated function in FX.php > > Second question: > > Am I safe in replacing all preg_replace functions with preg_replace_callback? > > > Bob Patin > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > FileMaker 9, 10, 11, 12 & 13 Certified Developer > http://www.longtermsolutions.com > - > iChat: bobpatin@me.com > Twitter: bobpatin > ? > FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > > On Mar 28, 2016, at 9:48 AM, Bob Patin > wrote: > > I?m getting this error this morning: > > PHP > Deprecated: preg_replace(): The /e modifier is deprecated, use > preg_replace_callback instead in? > > I can hide the errors with error_reporting(0) but is there an update in the works? > > Thanks, > > Bob Patin > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > FileMaker 9, 10, 11, 12 & 13 Certified Developer > http://www.longtermsolutions.com > - > iChat: bobpatin@me.com > Twitter: bobpatin > ? > FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20160328/1d786171/attachment.html From bob at patin.com Mon Mar 28 09:49:39 2016 From: bob at patin.com (Bob Patin) Date: Mon Mar 28 09:49:42 2016 Subject: [FX.php List] Deprecated function in FX.php In-Reply-To: <490F58DA-B21F-4F69-BD7C-FC42585C4081@patin.com> References: <1F6D1591-F369-4230-A53A-25242B24A269@patin.com> <490F58DA-B21F-4F69-BD7C-FC42585C4081@patin.com> Message-ID: <094DC70C-1D12-4801-856B-6A8D6405A6F5@patin.com> When I went to the mPDF site, where I do see v6, it says This mPDF website is now closed down. That can?t be a good sign? a quick look at the mPDF.php page shows that they still have tons of preg_replace functions in the code. I?m just going to use error_reporting(0) to inhibit the error messages I suppose, unless someone has a better suggestion. Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11, 12 & 13 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > On Mar 28, 2016, at 10:39 AM, Bob Patin wrote: > > I see the preg_replace function all over MPDF pages too? > > > Bob Patin > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > FileMaker 9, 10, 11, 12 & 13 Certified Developer > http://www.longtermsolutions.com > - > iChat: bobpatin@me.com > Twitter: bobpatin > ? > FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > >> On Mar 28, 2016, at 10:12 AM, Fitzgerald, Theodore C > wrote: >> >> Bob, >> >> What version of FX.php are you running? According to the FX.php commit history on GitHub, this issue should have been fixed back in July of 2014. >> >> The syntax of preg_replace_callback is slightly different than preg_replace (because it requires a function to be passed in). >> >> Can you update your FX.php to the latest version from GitHub (https://github.com/yodarunamok/fxphp/ )? >> >> In case you were interested, here are the two commits that should have fixed this issue: >> >> https://github.com/yodarunamok/fxphp/commit/6c7f314e3fb15eb2c2e2560664a23a38c1bc4445 >> https://github.com/yodarunamok/fxphp/commit/6203aba9b374bcbd20042aeb5227aa4c6b85bbda >> >> Ted >> >> From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org ] On Behalf Of Bob Patin >> Sent: Monday, March 28, 2016 10:04 AM >> To: FX.php Discussion List > >> Subject: Re: [FX.php List] Deprecated function in FX.php >> >> Second question: >> >> Am I safe in replacing all preg_replace functions with preg_replace_callback? >> >> >> Bob Patin >> Longterm Solutions >> bob@longtermsolutions.com >> 615-333-6858 >> FileMaker 9, 10, 11, 12 & 13 Certified Developer >> http://www.longtermsolutions.com >> - >> iChat: bobpatin@me.com >> Twitter: bobpatin >> ? >> FileMaker Consulting >> FileMaker Hosting for all versions of FileMaker >> PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting >> >> On Mar 28, 2016, at 9:48 AM, Bob Patin > wrote: >> >> I?m getting this error this morning: >> >> PHP >> Deprecated: preg_replace(): The /e modifier is deprecated, use >> preg_replace_callback instead in? >> >> I can hide the errors with error_reporting(0) but is there an update in the works? >> >> Thanks, >> >> Bob Patin >> Longterm Solutions >> bob@longtermsolutions.com >> 615-333-6858 >> FileMaker 9, 10, 11, 12 & 13 Certified Developer >> http://www.longtermsolutions.com >> - >> iChat: bobpatin@me.com >> Twitter: bobpatin >> ? >> FileMaker Consulting >> FileMaker Hosting for all versions of FileMaker >> PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20160328/e8b3c40c/attachment-0001.html