[cowiki-dev] Finding syntax errors in coWiki

"Daniel T. Gorski" <[email protected]>
Newsgroups gmane.comp.php.cowiki.devel
Message-ID <20050503001313.GL18983@bantha>
Hi,

coWiki buffers its output recusive and it might sometimes happen, that no
error is spit out although coWiki seems to crash and does not respond
anything but a blank page. It is very hard to find your error then.

I use this to find syntax errors or typos:

  find /PATH/TO/COWIKI/ -name "*.php" -exec /PATH/TO/PHP-CLI -l {} \; | grep -iv "no syn"

It of course only works if you have an identical CLI version of PHP5 in the
path (which is build by default if you compile PHP5 yourself). Maybe this
information is something to put on coWiki.org for future reading - or maybe
it helps you directly in some way.

regards dtg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.