[TYPO3-dev] PDT PHP web page

Osipov Dan dosipov at phillyburbs.com
Thu Feb 14 20:53:06 CET 2008


In index.php I had to replace this line:
define('PATH_site', dirname(PATH_thisScript).'/');
with this:
define('PATH_site', str_replace('\\', '', dirname(PATH_thisScript)).'/');
 
Typo3 is on external server, which is mapped as a network drive on my local computer. And this line did the trick, otherwise some extensions were not included during the debug time. This causes no problems on the live site.
 
So far, I've mostly worked on the FE, to understand how pages are created in Typo3. How do you debug the BE? Are there any problems with the frames? Or do you set the breakpoint, and then run the debugger through the browser?
 
Dan

________________________________

From: typo3-dev-bounces at lists.netfielders.de on behalf of Steffen Kamper
Sent: Thu 2/14/2008 3:21 AM
To: typo3-dev at lists.netfielders.de
Subject: Re: [TYPO3-dev] PDT PHP web page




"Osipov Dan" <dosipov at phillyburbs.com> schrieb im Newsbeitrag
news:mailman.713.1202953490.5943.typo3-dev at lists.netfielders.de...
If anyone is interested, I can put together a "how to" about Typo3 debugging
in Nusphere PHPed on Windows - its similar to Zend Studio, but with some
specialties. I had to make temporary modifications to index.php to get it to
work on Windows (path slash issues). Also, because the files are on an
external server, it takes a while to start up, so it sometimes takes 300
seconds to reach a breakpoint in an extension.

Dan

interesting, i do debug with phpEd too but mostly BE without modifications,
would like to see your modifications.

vg Steffen


_______________________________________________
TYPO3-dev mailing list
TYPO3-dev at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev






More information about the TYPO3-dev mailing list