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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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   868 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.