perftools / xhgui

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

Error when clicking on URL links #134

Closed Benjen closed 8 years ago

Benjen commented 9 years ago

I have installed xhgui but encounter an error anytime I click on a link in the URL column of a page. I have attached a screen shots showing both the link and the corresponding error. Any suggestions on how this can be resolved?

xhgui-run-list

xhgui

markstory commented 9 years ago

You might have an old version of the mongo driver extension.

leomylonas commented 8 years ago

Hey Mark, has there been any update to this? I'm having the same issue.

markstory commented 8 years ago

@leomylonas There has not. I've not had much time recently to dedicate to this. If you have the time I'd really appreciate a hand in getting it fixed.

leomylonas commented 8 years ago

Normally I would, but I have absolutely no idea of the underlying technologies here, so I fear I wouldn't be much help. I'm just trying to work out why my web app is running slow! :-P

sebastianheuer commented 8 years ago

@leomylonas It is likely that you are using a version of MongoDB that does not support db.collection.aggregate(). I ran into the same issue with MongoDB 2.0.6 on Debian 7.

Afaik db.collection.aggregate() has been introduced in 2.2, so upgrading your MongoDB version might solve the issue.