We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

suppress PHP Notice errors in EE2 views

Development and Programming

Darren Miller's avatar
Darren Miller
103 posts
16 years ago
Darren Miller's avatar Darren Miller

Hi

I’m making an EE2 module and want to use CodeIgniter’s view files rather than template tags. So far so good, but I can’t figure out how to suppress PHP Notice errors in CodeIgniter 2.

The error control has changed and putting

error_reporting( E_ALL & ~E_NOTICE);

in index.php (which is what I do for CI v1) doesn’t seem to do anything.

driving me insane.

thanks

       
Darren Miller's avatar
Darren Miller
103 posts
about 16 years ago
Darren Miller's avatar Darren Miller

Solution here: http://ellislab.com/forums/viewthread/152565/

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.