Hi,
set in your php.ini
error_reporting = E_ALL display_errors = On
Cheers, Jimmy
-----Ursprüngliche Nachricht----- Von: fadeev@princeton.edu, Wikimedia developers wikitech-l@wikimedia.org Gesendet: 03.10.06 00:41:27 An: wikitech-l@wikipedia.org Betreff: [Wikitech-l] basic php debugging for writing mediawiki extension
Hi,
I am trying to create an extension for the mediawiki and found that when my extension does not compile wiki just hangs and i get bank screen in the browser.
Is it possible to somehow enable printing php compilation errors to the browser scren for debugging purposes?
Thank you!
Evgeny.
Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l
Sorry, I am on vacation until Thursday.
denny
Or better, set the following in .htaccess in your wiki directory:
php_flag display_startup_errors on php_flag display_errors on php_value error_reporting 2047
This means that the changes will only affect the wiki, not the whole system. Remember to disable the lines (comment them out for quick retrieval) before you go live.
- Mark Clements (HappyDog)
-------------------- "Jimmy Collins" Jimmy.Collins@web.de wrote in message news:1262644147@web.de... Hi,
set in your php.ini
error_reporting = E_ALL display_errors = On
Cheers, Jimmy
-----Ursprüngliche Nachricht----- Von: fadeev@princeton.edu, Wikimedia developers
Gesendet: 03.10.06 00:41:27 An: wikitech-l@wikipedia.org Betreff: [Wikitech-l] basic php debugging for writing mediawiki extension
Hi,
I am trying to create an extension for the mediawiki and found that when my extension does not compile wiki just hangs and i get bank screen in the browser.
Is it possible to somehow enable printing php compilation errors to the browser scren for debugging purposes?
Thank you!
Evgeny.
Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l
wikitech-l@lists.wikimedia.org