|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
  [2012-05-12 16:25 UTC] HMWiesinger at gmx dot at
 Description: ------------ I installed version 1.1.0beta2 to try out APM and found that barely anything is captured. There are no errors recording, no matter the error reporting level, neither in MySQL nor in SQLite. At some point I managed to see slow requests in MySQL, but even that stopped working and I can't seem to get it back :/ I found the other bug report with a similar issue, and tried to disable all extensions that I had enabled. No change. Also disabling deferred processing didn't change anything. I tried 1.0.1 to see if it is working there, but no success either. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 12:00:01 2025 UTC | 
Hmm, looks like it doesn't even try to connect to mysql. What's weird is that now even the ini settings for mysql are gone in phpinfo, even though they are still defined in the php.ini. Anyway, here is the content of the debug file: ----------------------------- Registering drivers [SQLite driver] Connecting to db...OK Replacing handlers Registering event for deffered processing Registering event for deffered processing Registering event for deffered processing Events to insert in deffered processing Deffered processing loop begin [SQLite driver] Sending: INSERT INTO event (ts, type, file, line, message, backtrace, uri, host, ip, cookies, post_vars, referer) VALUES (1339309809, 2, '/mnt/progs/vcs/git/m2mobi/Lunr-0.1/system/libraries/$ #1 Lunr\Libraries\Core\Autoloader::load("Lunr\\Libraries\\Core\\Configuration") #2 spl_autoload_call("Lunr\\Libraries\\Core\\Configuration") called at [/var/www/htdocs/MidSchip/test.php:25] ', '/MidSchip/test.php', 'localhost', 2130706433, 'Array ( [lang] => nl_NL ) ', '', ''); [SQLite driver] Sending: INSERT INTO event (ts, type, file, line, message, backtrace, uri, host, ip, cookies, post_vars, referer) VALUES (1339309809, 2, '/mnt/progs/vcs/git/m2mobi/Lunr-0.1/system/libraries/$ #1 Lunr\Libraries\Core\Autoloader::load("Lunr\\Libraries\\Core\\Configuration") #2 spl_autoload_call("Lunr\\Libraries\\Core\\Configuration") called at [/var/www/htdocs/MidSchip/test.php:25] ', '/MidSchip/test.php', 'localhost', 2130706433, 'Array ( [lang] => nl_NL ) ', '', ''); [SQLite driver] Sending: INSERT INTO event (ts, type, file, line, message, backtrace, uri, host, ip, cookies, post_vars, referer) VALUES (1339309809, 1, '/var/www/htdocs/MidSchip/test.php', 25, 'Class ''Lun$ ', '/MidSchip/test.php', 'localhost', 2130706433, 'Array ( [lang] => nl_NL ) ', '', ''); Deffered processing loop end [SQLite driver] Closing connection Restoring handlers Registering drivers [SQLite driver] Connecting to db...OK Replacing handlers [SQLite driver] Closing connection Restoring handlers Registering drivers [SQLite driver] Connecting to db...OK Replacing handlers [SQLite driver] Closing connection Restoring handlers Registering drivers [SQLite driver] Connecting to db...OK Replacing handlers [SQLite driver] Closing connection Restoring handlers ----------------------------- and that's the desc output: ----------------------------- MariaDB [php_apm]> desc event; +-----------+-----------------------+------+-----+-------------------+---------- -------------------+ | Field | Type | Null | Key | Default | Extra | +-----------+-----------------------+------+-----+-------------------+---------- -------------------+ | id | int(10) unsigned | NO | PRI | NULL | auto_increment | | ts | timestamp | NO | | CURRENT_TIMESTAMP | on update CURRENT_TIMESTAMP | | type | tinyint(3) unsigned | NO | | NULL | | | file | text | NO | | NULL | | | line | mediumint(8) unsigned | NO | | NULL | | | message | text | NO | | NULL | | | backtrace | text | NO | | NULL | | | uri | text | NO | | NULL | | | host | text | NO | | NULL | | | ip | int(10) unsigned | NO | | NULL | | | cookies | text | NO | | NULL | | | post_vars | text | NO | | NULL | | | referer | text | NO | | NULL | | +-----------+-----------------------+------+-----+-------------------+---------- -------------------+ MariaDB [php_apm]> desc slow_request; +----------+------------------+------+-----+-------------------+---------------- -------------+ | Field | Type | Null | Key | Default | Extra | +----------+------------------+------+-----+-------------------+---------------- -------------+ | id | int(10) unsigned | NO | PRI | NULL | auto_increment | | ts | timestamp | NO | | CURRENT_TIMESTAMP | on update CURRENT_TIMESTAMP | | duration | float | NO | | NULL | | | file | text | NO | | NULL | | +----------+------------------+------+-----+-------------------+---------------- -------------+ -----------------------------