Bug 5785 - function.inc.php not found in Quick Profiler
function.inc.php not found in Quick Profiler
Status: RESOLVED WORKSFORME
Product: OJS
Classification: Unclassified
Component: General
To be determined
PC Linux
: P3 normal
Assigned To: PKP Support
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-08-20 00:34 PDT by jerico
Modified: 2010-08-22 17:26 PDT (History)
1 user (show)

See Also:
Version Reported In: 2.3.2
Also Affects:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.