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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

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

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

debug_profile=1 won't show info


Go to End


2 Posts   1325 Views

Avatar
derralf

Community Member, 28 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, 5523 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.