Doc #68980 [NEW]: the example report a error msg

From: Date: Tue, 03 Feb 2015 14:56:34 +0000
Subject: Doc #68980 [NEW]: the example report a error msg
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-11917@lists.php.net to get a copy of this message
From: comdeng at live dot com Operating system: centos 6.4 PHP version: 5.5.21 Package: Documentation problem Bug Type: Documentation Problem Bug description:the example report a error msg Description: ------------ --- From manual page: http://www.php.net/rrd.examples-oop --- I paste the code to my site, and found this error: Fatal error: Uncaught exception 'Exception' with message '/home/dengxiaolong/sites/default/rrdtool/tmp/speed.rrd: illegal attempt to update using time 920805000 when last update time is 1422111060 (minimum one second step)' in /home/dengxiaolong/sites/default/rrdtool/index.php:24 Stack trace: #0 /home/dengxiaolong/sites/default/rrdtool/index.php(24): RRDUpdater->update(Array, '920805000') #1 {main} thrown in /home/dengxiaolong/sites/default/rrdtool/index.php on line 24 Test script: --------------- just the example of the document Expected result: ---------------- the picture of rrd Actual result: -------------- Fatal error: Uncaught exception 'Exception' with message '/home/dengxiaolong/sites/default/rrdtool/tmp/speed.rrd: illegal attempt to update using time 920805000 when last update time is 1422111060 (minimum one second step)' in /home/dengxiaolong/sites/default/rrdtool/index.php:24 Stack trace: #0 /home/dengxiaolong/sites/default/rrdtool/index.php(24): RRDUpdater->update(Array, '920805000') #1 {main} thrown in /home/dengxiaolong/sites/default/rrdtool/index.php on line 24 -- Edit bug report at https://bugs.php.net/bug.php?id=68980&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=68980&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=68980&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=68980&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=68980&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=68980&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=68980&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=68980&r=needscript Try newer version: https://bugs.php.net/fix.php?id=68980&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=68980&r=support Expected behavior: https://bugs.php.net/fix.php?id=68980&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=68980&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=68980&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=68980&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=68980&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=68980&r=dst IIS Stability: https://bugs.php.net/fix.php?id=68980&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=68980&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=68980&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=68980&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=68980&r=mysqlcfg

« previous php.doc.bugs (#11917) next »