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:

Customising the CMS /

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

Debug::Show cause Javascript Parse Error


Go to End


2002 Views

Avatar
_Vince

Community Member, 165 Posts

25 August 2009 at 10:36pm

Hi, I'm having trouble with some code in a onBeforeWrite function (2.3.2 on xampplite) and using Debug::Show() to try to look at variables causes a javascript parse error.

I've tried looking at firebug but all it says is that there's no activity to profile. I've tried simplifying things by having a simple Debug::Show("here") but not even that works. I've also put Director::set_environment_type('dev') on my _config.php

Any suggestions?