Reply to comment

I don't think there's a way

I don't think there's a way to only enable errors for user 1, but if you enable it in the php.ini file for your local computer (not any live server), then only you will see the errors it produces. Add this line:

error_reporting = E_ALL & E_STRICT

There's also the Coder module, which can find common errors, though I think it's more for finding style guide violations than PHP errors - I'm not sure. (I myself don't use it as much as I should… and my code features tab breaks instead of spaces due to a limitation of my code editor of choice, so it brings up that error on every single line of code whenever I run it…)

By the way, I noticed you're using my Mollom Stats module. Sweet. :)

Reply

Please refrain from adding URLs to unrelated or commercial websites. This site is moderated and comments with inappropriate links are rejected. Thank you for your understanding.
The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options