View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
414 | Exception_DefaultHandler | All | public | 17 Jul 2012 09:18 | 2 Jan 2014 10:49 |
Reporter | mrosenquist | Assigned To | timj | ||
Priority | high | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 0.8.2 | ||||
Target Version | 1.0.0 | Fixed in Version | 1.0.0 | ||
Summary | 414: Installed pear path for the throttle file is incorrect | ||||
Description | Where the throttle file is created: [pear_local]$ pwd /home/mrosenquist/clients/demo-cpd/pear_local [pear_local]$ tree data/ data ├── data/Exception_DefaultHandler │ └── data/Exception_DefaultHandler/throttle Path in DefaultHandler.php before pear install: /** * The file to use to store metadata about throttling of error report * e-mails * * @var string */ protected static $throttle_file = '@DATA-DIR@/throttle'; After install: protected static $throttle_file = '/home/mrosenquist/clients/demo-cpd/pear_local/data/throttle'; | ||||
Tags | No tags attached. | ||||
Attached Files | Exception_DefaultHandle.bug414.patch (407 bytes)
Index: DefaultHandler.php =================================================================== --- DefaultHandler.php (revision 2252) +++ DefaultHandler.php (working copy) @@ -107,7 +107,7 @@ * * @var string */ - protected static $throttle_file = '@DATA-DIR@/throttle'; + protected static $throttle_file = '@DATA-DIR@/Exception_DefaultHandler/throttle'; protected static $output_type = null; | ||||
|
The error that is generated is: filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for ...../pear_local/data/throttle |
|
I agree. Don't know where this went wrong as it definitely worked at some point. Workaround is to "touch" the file called pear_local/data/throttle. However, I suspect you have some strange PHP option enabled for this to cause a crash, as the filemtime() call is preceded by "@", so it shouldn't trigger a visible error. |
|
Fixed in SVN r2254 |
Date Modified | Username | Field | Change |
---|---|---|---|
17 Jul 2012 09:18 | mrosenquist | New Issue | |
17 Jul 2012 09:19 | mrosenquist | File Added: Exception_DefaultHandle.bug414.patch | |
17 Jul 2012 09:48 | iarmeanu | Note Added: 458 | |
17 Jul 2012 11:59 | timj | Note Added: 459 | |
17 Jul 2012 11:59 | timj | Assigned To | => timj |
17 Jul 2012 11:59 | timj | Priority | urgent => high |
17 Jul 2012 11:59 | timj | Status | new => confirmed |
17 Jul 2012 11:59 | timj | Target Version | => 0.8.3a |
17 Jul 2012 12:00 | timj | Note Added: 460 | |
17 Jul 2012 12:00 | timj | Status | confirmed => resolved |
17 Jul 2012 12:00 | timj | Fixed in Version | => 0.8.3a |
17 Jul 2012 12:00 | timj | Resolution | open => fixed |
2 Jan 2014 10:49 | timj | Fixed in Version | 0.8.3a => 1.0.0 |
2 Jan 2014 10:49 | timj | Target Version | 0.8.3a => 1.0.0 |
2 Jan 2014 10:49 | timj | Status | resolved => closed |