After modifying the source code, and ... baaaang ... a "live chart" appears on the screen ... of course with a twinkle / flicker when the refresh occurs on the web page every n seconds. In order to be more informative, I create additional lines and reference numbers as a guide.
Now, it's time to convey to the production system ... and make some tests. Surprisingly, the chart does not appear - the image does not display. I check GD library (2.0.34), in case of not installed in my production systems. But it was there. What's the problem?
I looked into the Apache2 error log, saying that PHP Warning: Division by zero in phplot.php on line 4432. After making some corrections on phplot.php ... the chart still not appear.
Then I compare the development and production environment, try to set display_errors = Off in PHP.ini file.
Great ..... it's work!! This saves me time, after spending of course!
On March 16, 2010 I had to work all day ... from 10:30 am untill 01:30 am in the office - to create and configure a network, install the IP camera, move applications to servers, and perform simulation- and continue to work until 04:20, the next day at home. I use FTP to transfer and update files on server at office ... but still encounter problem of a graph does not appear; go to bed for about 2 hours and then returned to the office.
At 07:42 AM on March 17 .... last minute before I'm sure everything went smoothly..the charts appears after changing display_errors to off. I laughed out loud , a problem that should not have happened to me, but I might have changed some time ago for other cases.
Tidak ada komentar:
Posting Komentar