Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

debug_profile=1 won't show info


Reply


2 Posts   440 Views

Avatar
derralf

Community Member, 24 Posts

21 March 2013 at 6:02am

Silverstripe 3.0.3 / 3.0.5

I migrated a Site from our test server to client's server and noticed that ?debug_profile=1 won't show any info on the client's server (was ok on test server).
Loaded project to local machine (MAMP): same problem.
Did clean install on local machine (3.0.5) with new/empty db: same problem.
With old projects (SS 2.4.x) profiler worked.

Did this:

https://github.com/silverstripe/sapphire/pull/1153
https://github.com/silverstripe/sapphire/commit/626098bb70e61ceba953124333cf4158355c6f7d

now works

Avatar
Willr

Forum Moderator, 5513 Posts

26 March 2013 at 8:22pm

I believe some of the profiler stuff is in the process of being removed. You should use better tools like XHProf for doing profiling rather than relying on debug_profile.