From: Phil D. <ph...@lo...> - 2015-01-21 18:06:56
|
Re: [WebERP-developers] New version.eml Subject: Re: [WebERP-developers] New version From: Tim Schofield <tim...@gm...> Date: 22/01/15 03:46 To: webERP Developers <web...@li...> Mostly just a warning. DB_query() is defined as function DB_query ($SQL, $ErrorMessage='', $DebugMessage= '', $Transaction=false, $TrapErrors=true) so if you did a call such as DB_query($SQL, $db) it will assume the error message to be the value of $db so you will just get a wrong type warning. However if you did a call such as DB_query ($SQL, $db, 'Error Message', 'Debug Message', false, true); you will get an error as there are an incorrect number of parameters used. Either way you should get rid of all $db except those in the ConnectDB_*.inc files Thanks Tim On 21 January 2015 at 14:03, Andrew Galuski<aga...@re...> wrote: IOn 22/01/15 03:03, Andrew Galuski wrote: > It will be a large effort on my part (Especially identifying all my modifications I have that may not be in the main trunk (Like the picking, packing, shipping functionality that is separate from Invoicing) > Quick question, If I still call DB_Query() in code with the $db parameter and the include file doesn't expect it will I get a hard error or a warning? > > Best Regards, > Andrew Galuski > > > -----Original Message----- > From: Phil Daintree [mailto:ph...@lo...] > Sent: Tuesday, January 20, 2015 11:38 PM > To: webERP Developers > Subject: [WebERP-developers] New version > > Rafael suggested we go for a new version recently. > We last released in October - I thought it was more recent than that. > There are a few bug fixes in there and a whole load of work I did to change the DB_query() calls to exclude the global $db in them. Would be interested to know what others think about another release now? > > -- > Phil > > Phil Daintree > Logic Works Ltd - +64 (0)275 567890 > http://www.logicworks.co.nz > > > ------------------------------------------------------------------------------ > New Year. New Location. New Benefits. New Data Center in Ashburn, VA. > GigeNET is offering a free month of service with a new server in Ashburn. > Choose from 2 high performing configs, both with 100TB of bandwidth. > Higher redundancy.Lower latency.Increased capacity.Completely compliant. > http://p.sf.net/sfu/gigenet > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > ------------------------------------------------------------------------------ > New Year. New Location. New Benefits. New Data Center in Ashburn, VA. > GigeNET is offering a free month of service with a new server in Ashburn. > Choose from 2 high performing configs, both with 100TB of bandwidth. > Higher redundancy.Lower latency.Increased capacity.Completely compliant. > http://p.sf.net/sfu/gigenet > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > |