Register for an account

X

Enter your name and email address below.

Your email address is used to log in and will not be shared or sold. Read our privacy policy.

X

Website access code

Enter your access code into the form field below.

If you are a Zinio, Nook, Kindle, Apple, or Google Play subscriber, you can enter your website access code to gain subscriber access. Your website access code is located in the upper right corner of the Table of Contents page of your digital edition.

Technology

NBC.COM uses PHP?

Gene ExpressionBy Razib KhanOctober 6, 2008 6: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.

    2 Free Articles Left

    Want it all? Get unlimited access when you subscribe.

    Subscribe

    Already a subscriber? Register or Log In

    Want unlimited access?

    Subscribe today and save 70%

    Subscribe

    Already a subscriber? Register or Log In