gajus / xhprof.io

GUI to analyze the profiling data collected using XHProf – A Hierarchical Profiler for PHP.
http://xhprof.io/
Other
429 stars 103 forks source link

Fatal error: Cannot redeclare class ay\xhprof\DataException (when using auto_prepend to include prepend file) #70

Open sc0ttdav3y opened 9 years ago

sc0ttdav3y commented 9 years ago

Just downloaded and installed xhprof.io via instructions. Data is flowing into the DB, but when I load up the UI, I get the following:

Fatal error: Cannot redeclare class ay\xhprof\DataException in /xhprof.io/xhprof/classes/data.php on line 530

This is occurring because I'm using the auto_prepend feature in php.ini to include the prepend file as per instructions. If I disable that for xhprof.io, it works normally.

This is on xhprof "v0.0.0" downloaded 5 December 2014.