faultCode0faultStringWarning:mysql_connect() [function.mysql-connect]: Too many connections in /var/www/vhosts/megagripe.com/httpdocs/bin/engine.php on line 83faultCode0faultStringWarning:mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /var/www/vhosts/megagripe.com/httpdocs/bin/engine.php on line 85faultCode0faultStringWarning:mysql_connect() [function.mysql-connect]: Too many connections in /var/www/vhosts/megagripe.com/httpdocs/exe/connect.php on line 15faultCode0faultStringWarning:mysql_select_db() [function.mysql-select-db]: Too many connections in /var/www/vhosts/megagripe.com/httpdocs/exe/connect.php on line 18faultCode0faultStringWarning:mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /var/www/vhosts/megagripe.com/httpdocs/exe/connect.php on line 18faultCode0faultStringWarning:mysql_query() [function.mysql-query]: Access denied for user 'apache'@'localhost' (using password: NO) in /var/www/vhosts/megagripe.com/httpdocs/libs/class.PageData.php on line 22faultCode0faultStringWarning:mysql_query() [function.mysql-query]: A link to the server could not be established in /var/www/vhosts/megagripe.com/httpdocs/libs/class.PageData.php on line 22faultCode0faultStringWarning:mysql_query() [function.mysql-query]: Access denied for user 'apache'@'localhost' (using password: NO) in /var/www/vhosts/megagripe.com/httpdocs/libs/class.ComplaintCat.php on line 17faultCode0faultStringWarning:mysql_query() [function.mysql-query]: A link to the server could not be established in /var/www/vhosts/megagripe.com/httpdocs/libs/class.ComplaintCat.php on line 17faultCode0faultStringWarning:mysql_query() [function.mysql-query]: Access denied for user 'apache'@'localhost' (using password: NO) in /var/www/vhosts/megagripe.com/httpdocs/libs/class.Myprefs.php on line 140faultCode0faultStringWarning:mysql_query() [function.mysql-query]: A link to the server could not be established in /var/www/vhosts/megagripe.com/httpdocs/libs/class.Myprefs.php on line 140faultCode0faultStringWarning:mysql_query() [function.mysql-query]: Access denied for user 'apache'@'localhost' (using password: NO) in /var/www/vhosts/megagripe.com/httpdocs/libs/class.PageData.php on line 22faultCode0faultStringWarning:mysql_query() [function.mysql-query]: A link to the server could not be established in /var/www/vhosts/megagripe.com/httpdocs/libs/class.PageData.php on line 22faultCode0faultStringWarning:mysql_query() [function.mysql-query]: Too many connections in /var/www/vhosts/megagripe.com/httpdocs/libs/class.PageData.php on line 22faultCode0faultStringWarning:mysql_query() [function.mysql-query]: A link to the server could not be established in /var/www/vhosts/megagripe.com/httpdocs/libs/class.PageData.php on line 22faultCode0faultStringWarning:mysql_query() [function.mysql-query]: Too many connections in /var/www/vhosts/megagripe.com/httpdocs/libs/class.PageData.php on line 22faultCode0faultStringWarning:mysql_query() [function.mysql-query]: A link to the server could not be established in /var/www/vhosts/megagripe.com/httpdocs/libs/class.PageData.php on line 22faultCode0faultStringWarning:mysql_query() [function.mysql-query]: Too many connections in /var/www/vhosts/megagripe.com/httpdocs/bin/class.data.php on line 486faultCode0faultStringWarning:mysql_query() [function.mysql-query]: A link to the server could not be established in /var/www/vhosts/megagripe.com/httpdocs/bin/class.data.php on line 4862010.09.04 05:36:42 /theworst/2/ select_query: bad query: SELECT SQL_CALC_FOUND_ROWS CP.`id` as `cp_id`, CC.`name` as `category`, EN.`name` as `type`, CP.`name`, CP.`entity_type_id` as `entity_type_id`, CP.`complaints_cat_id`, CP.`alias`, 0 as `dellink`, IF(CP.`gender`=1, 'male', IF(CP.`gender`=2, 'female', 'not set')) as `gender_text`, IF(CP.`type`=0, IF(CP.`approved`,'free (approved)','free'), 'detailed') as `type_text`, `approx_age`, C.`title` as `country`, S.`title` as `state`, CI.`title` as 'city', CP.`description`, 0 as `first`, IF(LENGTH(`description`)>, CONCAT(SUBSTRING(`description`, 1, ), ' ...'), `description`) as `short_description`, DATE_FORMAT(CP.`creation_date`, '%b %d %Y %H:%i:%s') as `creation_date_formatted`, U.`email` as `u_email`, CP.`is_paid`, CP.`in_worst_list`,NOT(CP.`is_show_user`) as `is_show_user` FROM ((((((`complaints` as CP LEFT JOIN `complaints_cat` as CC ON CP.`complaints_cat_id`=`CC`.`id`) LEFT JOIN `entity_type` as EN ON CP.`entity_type_id`=EN.`id`) LEFT JOIN `country` as C ON CP.`country_id`=C.`id`) LEFT JOIN `state` as S ON CP.`state_id`=S.`id`) LEFT JOIN `city` as CI ON CP.`city_id`=CI.`id`) LEFT JOIN `users` as U ON CP.`user_id`=U.`id`) WHERE (`deleted`=0 AND code_id=0) AND ((CP.`is_paid`=1 OR (CP.`is_paid`=0 AND UNIX_TIMESTAMP()>(UNIX_TIMESTAMP(CP.`creation_date`)+3600*24*7))) OR (`type`=0 AND `approved`=1)) AND CP.`in_worst_list`='1' AND CP.`is_paid`='1' AND CP.`complaints_cat_id`='2' ORDER BY CP.`creation_date` DESC LIMIT 0, 10 MySql answer: 1040: Too many connections