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.

Archive /

Our old forums are still available as a read-only archive.

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

Debugging with IDE debugger?


Go to End


3 Posts   2684 Views

Avatar
pouderStream

Community Member, 33 Posts

27 February 2007 at 2:39pm

Is that possible? (I tried on first tutorial with Page.php for starting point)
I'm using phpEclipse with DBG(ubuntu box), and it write on the begining complaining that it can't find SiteTree class. Witch is logical since it is not included in file.
Should I choose some other .php file from core folder maybe? Stack trace would be grat.

Tnx ;)

Avatar
pouderStream

Community Member, 33 Posts

28 February 2007 at 9:22am

I'll take a look and be back, tnx.

Avatar
Sam

Administrator, 690 Posts

1 March 2007 at 4:30pm

You could try visiting URLs of this form with your debugger:

sapphire/main.php?url=home/
sapphire/main.php?url=about-us/
sapphire/main.php?url=admin/security/

Those are the URLs that mod_rewrite turns all the requests into. By visiting sapphire/main.php, you can ensure that the class autoloader works properly :-)