which version are you using?
the cvs and current (2.2.1) versions should not have this problem. The
problem was in the 2.2.0 version.
Etienne
On Sat, 2004-02-07 at 01:08, Phil Pierotti wrote:
> I kept receiving warnings when inserting or updating METARS, complaining
> that both update_metar() and insert_metar() were missing their 4th
> parameter $time.
>
> I looked to where hey are called from , in data_retrieval.php and saw
>
> /* side effect */
> // $metar_time = $date[0].$date[1].$date[2].$date[3].$date[4]."00";
>
> and shortly after calls to both insert_metar() and update_metar() *but
> with only 3 parameters* as opposed to 4 as per the function definitions.
>
> So I uncommented the $metar_time assignment, and appended
> ,$metar_time
> as the 4th parameter to the insert/update metar calls.
>
> Much Better.
>
> Enjoy,
> Phil P
>
>
>
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> PHPWeather-devel mailing list
> PHP...@li...
> https://lists.sourceforge.net/lists/listinfo/phpweather-devel
>
|