17488 Posts in 4473 Topics by 1978 members
|Go to End|
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.
27 February 2007 at 10:15pm Last edited: 27 February 2007 10:19pm
Good question. Here at SilverStripe we don't use a PHP debugger so we don't have much experience with what you're asking for.
However, have a look at this, particularly the bit about error-handling:
This is what we use internally and it works for us.
28 February 2007 at 9:22am
I'll take a look and be back, tnx.
1 March 2007 at 4:30pm
You could try visiting URLs of this form with your debugger:
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
|Go to Top|