4 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Dani

How can I catch and log PHP fatal errors in CodeIgniter? if (defined('ENVIRONMENT')) { switch (ENVIRONMENT) { case 'development': error_reporting(E_ALL); ini_set('display_errors', '1'); break; case 'testing': case 'production': error_reporting(0); break; default: exit('The application environment is not set correctly.'); } } When environment is set to production and there's a fatal error, …

Member Avatar for Dani
0
261
Member Avatar for nadiam

hello. i got this error and i have no idea why or what is going on. could someone explain in layman's term please and help me out. > Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'event_id' cannot be null' in /home/dhsbnet/public_html/ems/add_guest.php:36 Stack trace: #0 …

Member Avatar for nadiam
0
1K
Member Avatar for anevins

Hello, I can't use CURL, $ch = curl_init(); I get the error > Fatal error: Call to undefined function curl_init() I've used `phpinfo()` and found the php.ini directory, > Loaded Configuration File D:\wamp\bin\apache\apache2.2.22\bin\php.ini I've then edited the php.ini file from that directory and removed the semi-colon in-front of extension=php_curl.dll Restarted …

Member Avatar for anevins
0
9K
Member Avatar for qazplm114477

I keep getting an error when I try to instantiate the ArrayIterator class within a name space [CODE]$a = new ArrayIterator; //works just fine namespace test; $a = new ArrayIterator; //get error //Fatal error: Class 'test\ArrayIterator' not found in /www/ on line 3[/CODE] I've been searching the web for hours …

Member Avatar for qazplm114477
0
211

The End.