We are moving to Git Issues for bug tracking in future releases. During transition, content will be in both tools. If you'd like to file a new bug, please create an issue.

Bug 5785

Summary: function.inc.php not found in Quick Profiler
Product: OJS Reporter: jerico <jerico.dev>
Component: GeneralAssignee: PKP Support <pkp-support>
Status: RESOLVED WORKSFORME    
Severity: normal CC: alec
Priority: P3    
Version: To be determined   
Hardware: PC   
OS: Linux   
Version Reported In: 2.3.2 Also Affects:

Comment 1 Alec Smecher 2010-08-20 09:52:26 PDT
There is no reference to function.inc.php in PhpQuickProfiler.inc.php for OJS 2.3.0, 2.3.1, or 2.3.2, on line 64 or elsewhere -- bogus report? Modified version?
Comment 2 jerico 2010-08-20 10:34:23 PDT
line 55:
$files = get_included_files();

line 63-64:
foreach($files as $key => $file) {
  $size = filesize($file);
  
Guess that's where the reference comes from. "functions.inc.php" is an included file so this sounds possible to me.
Comment 3 Alec Smecher 2010-08-20 10:35:14 PDT
Ah, I should've looked closer. Let me take a crack at this one, unless you've already started.
Comment 4 jerico 2010-08-20 10:59:43 PDT
np! Please go ahead.
Comment 5 Alec Smecher 2010-08-22 17:26:13 PDT
I suspect a PHP quirk: functions.inc.php is listed twice in the get_included_files array, once without a fully qualified path.