We have completed maintenance on DiscoverMagazine.com and action may be required on your account. Learn More


Gene Expression
By Razib Khan
Oct 6, 2008 6:01 AMNov 5, 2019 9:32 AM


Sign up for our email newsletter for the latest science news

I was checking out videos on NBC's Saturday Night Live website, and I got this error:

Fatal error: Uncaught exception 'Zend_Db_Adapter_Exception' with message 'SQLSTATE[08004] [1040] Too many connections' in /var/www/common/classes/Zend/Db/Adapter/Pdo/Abstract.php:131 Stack trace: #0 /var/www/common/classes/Zend/Db/Adapter/Abstract.php(271): Zend_Db_Adapter_Pdo_Abstract->_connect() #1 /var/www/common/classes/Nbcu/Asset.php(15): Zend_Db_Adapter_Abstract->getConnection() #2 /var/www/common/classes/Nbcu/Controller/Scet/Video.php(11): Nbcu_Asset->__construct() #3 /var/www/www.nbc.com/htdocs/app/bootstrap/scet/video.php(10): Nbcu_Controller_Scet_Video->dispatch() #4 {main} thrown in /var/www/common/classes/Zend/Db/Adapter/Pdo/Abstract.php on line 131

I'm a little surprised that such a high traffic corporate site is running with PHP. Not too surprised about the crappy exception handling though...when higher ups are breathing down your neck handling these sorts of breakdowns often gets pushed to the bottom of the task stack. But with PHP's history of security problems I would think not exposing errors like this is even more important.

1 free article left
Want More? Get unlimited access for as low as $1.99/month

Already a subscriber?

Register or Log In

1 free articleSubscribe
Discover Magazine Logo
Want more?

Keep reading for as low as $1.99!


Already a subscriber?

Register or Log In

More From Discover
Recommendations From Our Store
Shop Now
Stay Curious
Our List

Sign up for our weekly science updates.

To The Magazine

Save up to 40% off the cover price when you subscribe to Discover magazine.

Copyright © 2024 Kalmbach Media Co.