Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

serious bug #71

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ For XHProf.io to start collecting data, you need `/inc/prepend.php` and `/inc/ap
; http://www.php.net/manual/en/ini.core.php#ini.auto-append-file
auto_append_file = /[absolute path to xhprof.io]/inc/append.php

If you are using PHP-FPM, then XHProf.io will utilise `fastcgi_finish_request` to hide any overhead related to data collection. There is nothing to worry about if you are not using PHP-FPM either, as the overhead is less than a few milliseconds.
If you are using PHP-FPM, then XHProf.io will utilise `fastcgi_finish_request` to hide any overhead related to data collection. There is nothing to worry about if you are not using PHP-FPM either, as the overhead is less than a few milliseconds.

Please notice mysql5.6 is not avalibale
1 change: 1 addition & 0 deletions test
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
74577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653
2 changes: 1 addition & 1 deletion xhprof/classes/data.php
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ public function save(array $xhprof_data)

$sth1->execute();

if(count($call) == 1)
if(count($call) == 2)
{
$call_id = $this->db->lastInsertId();

Expand Down
2 changes: 1 addition & 1 deletion xhprof/includes/bootstrap.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
}

if (!isset($config['url_static'])) {
$config['url_static'] = $config['url_base'] . 'public/';
$config['url_static'] = $config['url_base'] . '/public/';
}

define('BASE_URL', $config['url_base']);
Expand Down