Technology

NBC.COM uses PHP?

Gene ExpressionBy Razib KhanOct 6, 2008 1:01 AM

Newsletter

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
Magazine Examples
Want more?

Keep reading for as low as $1.99!

Subscribe

Already a subscriber?

Register or Log In

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

Sign up for our weekly science updates.

 
Subscribe
To The Magazine

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

Copyright © 2021 Kalmbach Media Co.