perftools / xhgui

Web interface for XHProf profiling data can store data in MongoDB or PDO database
1.65k stars 343 forks source link

Empty xhgui list also if sqlite has content #371

Closed Mte90 closed 3 years ago

Mte90 commented 3 years ago

Attached there is a sqlite database with some urls but xhgui doesn't show anything.

Those are the settings if they can help on understand the issue

$defaults = array(
    'debug' => true,
    'save.handler' => 'pdo',
    'pdo' => array(
        'dsn' => 'sqlite:/tmp/xhgui.sqlite3',
        'user' => null,
        'pass' => null,
        'table' => 'results'
    ),
    'templates.path' => dirname(__DIR__) . '/src/templates',
    'date.format' => 'M jS H:i:s',
    'detail.count' => 6,
    'page.limit' => 25,
    'run.view.filter.names' => array(
        'wp_*',
        'Composer*',
    ),
);

xhgui.zip

tquensen commented 3 years ago

I have the same issue with mysql (MariaDB)

Data gets inserted successfully via importer but the GUI doesn't show anything

cat config/config.php
<?php
return array(
        'save.handler' => 'pdo',
        'pdo' => [
                'dsn'    => 'mysql:host=localhost;dbname=xhgui',
                'user' => 'root',
                'pass' => '****',
                'table' => 'profiles'
        ],
        'upload.token' => '****'
);