|
From: Ben C. <php...@be...> - 2001-11-08 15:16:18
|
Alright, I just upgraded jpgraph. :) I think the problem there is jpgraph's caching. I upgraded and viewed my pg test install. Two bugs showed in the graph. I added another bug and still 2 showed in the graph. I turned off jpgraph's caching and then 3 bugs showed. Then I added another bug and 4 bugs showed in the graph. So, turning off the cache fixed it for me. On Thu, Nov 08, 2001 at 07:02:17AM -0800, Ben Curtis wrote: > Ok, I found the problem with the date. Your pg database has the configuration table fields as char instead of varchar. I made that mistake when I initially created that table and changed include.php to define() constants off the values from the table. After testing it I noticed that pg returns char fields padded with spaces, so instead of defining constants like 'DATE_FORMAT' it would define them like 'DATE_FORMAT '. In the case of the date being displayed incorrectly, it was trying to do date(DATE_FORMAT, $created_date) but DATE_FORMAT wasn't defined. I changed the schema for pg to use varchar instead of char and it worked fine on my box. Once you make the change on yours it should work well too -- I would recommend wiping that install and testing the web-based install while you're at it. :) > > I'll look into the jpgraph issue a little more -- I haven't upgraded to 1.31 yet. > > On Thu, Nov 08, 2001 at 06:40:49AM -0800, Ben Curtis wrote: > > On Wed, Nov 07, 2001 at 02:01:51AM +0100, Javier Sixto wrote: > > > About Version 0.5.0 , i have found some bugs on Postgres, there is a > > > Display Date problem on all Lists, format is bugged, but it works. > > > JpGraph seems to have some problems whith image.php, it show only 3 bugs > > > ... even if there is much more. > > > Well this list is note exclusive, If anybody wants to found more ;-) > > > > Actually, I don't have the date problems with my version of postgres/php, but I do see the problem on your box. I'll take a look at it. > > > > _______________________________________________ > phpbt-dev mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/phpbt-dev |