Hi Bryan,
Well, that does suppress the error but doesn't give me the graph? Anyway
to get the graphs back?
Thanks for you attention,
Barry
-----Original Message-----
From: Bryan Alsdorf [mailto:bryan@stripped]
Sent: Tuesday, May 20, 2008 3:40 PM
To: Barry Benowitz
Cc: eventum-users@stripped
Subject: Re: Problem with graphs
Hi Barry,
Barry Benowitz wrote:
> Hi Bryan, I am getting errors in the http error.log:
>
> [Fri May 09 08:44:32 2008] [error] [client 192.168.32.24] PHP Warning:
> Missing argument 1 for RGB::RGB(), called in
> /var/www/html/eventum-merge/eventum/stats_chart.php on line 62 and
> defined in
> /var/www/html/eventum-merge/eventum/include/jpgraph/jpgraph.php on
line
> 2401, referer: http://pliades/eventum-merge/eventum/main.php
> [Fri May 09 08:44:32 2008] [error] [client 192.168.32.24] PHP Notice:
> Undefined variable: aImg in
> /var/www/html/eventum-merge/eventum/include/jpgraph/jpgraph.php on
line
> 2402, referer: http://pliades/eventum-merge/eventum/main.php
Looks like JPGraph is throwing an error which is causing the image to
become corrupted. I
have committed a fix to SVN, but for now the easiest way to handle this
is to just
suppress the error.
Add error_reporting(0); to stats_chart.php somewhere after init.php is
included.
Best Regards,
/bryan
> -----Original Message-----
> From: Barry Benowitz [mailto:barry.benowitz@stripped]
> Sent: Wednesday, May 07, 2008 8:38 AM
> To: Bryan Alsdorf
> Cc: eventum-users@stripped
> Subject: RE: Problem with graphs
>
> No errors in the log. Its PHP 5. MYQSL 4, and the jpgraph that is
> bundled with eventum.
>
> Barry
>
>
> -----Original Message-----
> From: Bryan Alsdorf [mailto:bryan@stripped]
> Sent: Wednesday, May 07, 2008 2:00 AM
> To: Barry Benowitz
> Cc: eventum-users@stripped
> Subject: Re: Problem with graphs
>
> Is there anything in the PHP error log?
>
> Best Regards,
> /bryan
>
> Barry Benowitz wrote:
>> Hi All,
>>
>>
>>
>> I am testing my Eventum upgrade and I have a problem displaying the
> pie
>> charts on the front page. These used to work on 1.7.1 and I am using
>> 2.1.1. The only error I have been able to coax out is this:
>>
>>
>>
>> The image
>>
>
"http://pliades/eventum-merge/eventum/stats_chart.php?plot=release&hide_
>> closed=0" cannot be displayed, because it contains errors.
>>
>>
>>
>> This happens when I type the following into the browser bar:
>>
>>
>>
>>
>
http://pliades/eventum-merge/eventum/stats_chart.php?plot=release&hide_c
>> losed=0
>>
>>
>>
>> My other known difference between this set up and my production setup
> is
>> php5 vs php4.
>>
>>
>>
>> Does anyone have any ideas?
>>
>>
>>
>> Barry
>>
>>
>>
>>
>
--
Bryan Alsdorf, Manager of Support Systems
MySQL AB, www.mysql.com
Discover new MySQL Monitoring & Advisory features at:
http://www.mysql.com/products/enterprise/whats_new.html
--
Eventum Users Mailing List
For list archives: http://lists.mysql.com/eventum-users
To unsubscribe:
http://lists.mysql.com/eventum-users?unsub=1