Bitcoin Forum

Other => Beginners & Help => Topic started by: nurbili on June 21, 2011, 05:01:38 PM



Title: New MtGox exposes PHP-Warnings/-Errors
Post by: nurbili on June 21, 2011, 05:01:38 PM
sorry, can only post in the newbies-section... cause i'm a newbie  ;) perhaps someone can forward this to the appropriate thread.

looks like display_errors in php.ini is set to "1" on the new mtgox.com. :( i received this message when opening the site:

Warning: mysqli::mysqli() [mysqli.mysqli]: (08004/1040): Too many connections in /www/p/pl/platform-stable.dns.st/includes/DB/MySQL.class.php on line 25

Fatal error: Uncaught exception 'Exception' with message 'Too many connections' in /www/p/pl/platform-stable.dns.st/includes/DB/MySQL.class.php:26 Stack trace: #0 /www/p/pl/platform-stable.dns.st/includes/DB/MySQL.class.php(73): DB\MySQL->__construct(Array) #1 /www/p/pl/platform-stable.dns.st/includes/DB.class.php(24): DB\MySQL::getInstance() #2 /www/p/pl/platform-stable.dns.st/includes/db_structure.php(3): DB::getInstance() #3 /www/p/pl/platform-stable.dns.st/includes/init.php(48): require_once('/www/p/pl/platf...') #4 /www/p/pl/platform-stable.dns.st/www/_handlepage.php(3): require_once('/www/p/pl/platf...') #5 {main} thrown in /www/p/pl/platform-stable.dns.st/includes/DB/MySQL.class.php on line 26

hmm... http://platform-stable.dns.st/

never ever expose php-error-messages to users on a production system! fix it! (btw: php and mysql for a "banking" website... omfg)

edit: seems like they turned the redirect to zendesk on again for the main page.