Komunikat błędu: SQLSTATE[HY000] [1040] Too many connections
W pliku: /usr2/web/stopklatka.pl/core/Database.php
W linii: 77
Trace:
#0 /usr2/web/stopklatka.pl/core/Model.php(26): Core_Database::connect()
#1 /usr2/web/stopklatka.pl/core/Factory.php(138): Core_Model->__construct()
#2 /usr2/web/stopklatka.pl/app/controllers/TagController.php(19): Core_Factory->run('Models_Tag', 'getByLatin', Array, true, 'file', 900)
#3 /usr2/web/stopklatka.pl/core/FrontController.php(195): TagController->indexAction()
#4 /usr2/web/stopklatka.pl/htdocs/index.php(184): Core_FrontController::display()
#5 {main}

Aktualne zmienne

Aktualny kontroler: Tag
Aktualna akcja: index
Parametry:
array(2) {
  [0]=>
  string(8) "recenzja"
  [1]=>
  string(6) "najpop"
}
Skąd:

Zmienne $_POST w rejestrze

NULL

Zmienne $_SESSION w rejestrze

NULL

Zmienne $_FILES w rejestrze

NULL

Zmienne $_COOKIE w rejestrze

NULL

Konfigurowane ścieżki w rejestrze

array(6) {
  ["css"]=>
  string(5) "/css/"
  ["js"]=>
  string(4) "/js/"
  ["images"]=>
  NULL
  ["url"]=>
  string(30) "http://archiwum.stopklatka.pl/"
  ["root"]=>
  string(31) "/usr2/web/stopklatka.pl/htdocs/"
  ["cdnPath"]=>
  string(25) "http://cdn1.stopklatka.pl"
}

Zmienne $_SERVER

array(37) {
  ["REDIRECT_HTTP_MOD_HEADERS"]=>
  string(2) "On"
  ["REDIRECT_HTTP_MOD_EXPIRES"]=>
  string(2) "On"
  ["REDIRECT_HTTP_MOD_REWRITE"]=>
  string(2) "On"
  ["REDIRECT_STATUS"]=>
  string(3) "200"
  ["HTTP_MOD_HEADERS"]=>
  string(2) "On"
  ["HTTP_MOD_EXPIRES"]=>
  string(2) "On"
  ["HTTP_MOD_REWRITE"]=>
  string(2) "On"
  ["HTTP_HOST"]=>
  string(22) "archiwum.stopklatka.pl"
  ["HTTP_ACCEPT_ENCODING"]=>
  string(21) "x-gzip, gzip, deflate"
  ["HTTP_USER_AGENT"]=>
  string(39) "CCBot/2.0 (http://commoncrawl.org/faq/)"
  ["HTTP_ACCEPT"]=>
  string(63) "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
  ["PATH"]=>
  string(60) "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
  ["SERVER_SIGNATURE"]=>
  string(83) "
Apache/2.4.10 (Ubuntu) Server at archiwum.stopklatka.pl Port 80
" ["SERVER_SOFTWARE"]=> string(22) "Apache/2.4.10 (Ubuntu)" ["SERVER_NAME"]=> string(22) "archiwum.stopklatka.pl" ["SERVER_ADDR"]=> string(14) "151.80.101.130" ["SERVER_PORT"]=> string(2) "80" ["REMOTE_ADDR"]=> string(14) "54.196.107.247" ["DOCUMENT_ROOT"]=> string(31) "/usr2/web/stopklatka.pl/htdocs/" ["REQUEST_SCHEME"]=> string(4) "http" ["CONTEXT_PREFIX"]=> string(0) "" ["CONTEXT_DOCUMENT_ROOT"]=> string(31) "/usr2/web/stopklatka.pl/htdocs/" ["SERVER_ADMIN"]=> string(18) "[no address given]" ["SCRIPT_FILENAME"]=> string(40) "/usr2/web/stopklatka.pl/htdocs/index.php" ["REMOTE_PORT"]=> string(5) "48314" ["REDIRECT_URL"]=> string(20) "/tag/recenzja,najpop" ["GATEWAY_INTERFACE"]=> string(7) "CGI/1.1" ["SERVER_PROTOCOL"]=> string(8) "HTTP/1.0" ["REQUEST_METHOD"]=> string(3) "GET" ["QUERY_STRING"]=> string(0) "" ["REQUEST_URI"]=> string(20) "/tag/recenzja,najpop" ["SCRIPT_NAME"]=> string(10) "/index.php" ["PATH_INFO"]=> string(20) "/tag/recenzja,najpop" ["PATH_TRANSLATED"]=> string(55) "redirect:/index.php/tag/recenzja,najpop/recenzja,najpop" ["PHP_SELF"]=> string(30) "/index.php/tag/recenzja,najpop" ["REQUEST_TIME_FLOAT"]=> float(1495783661.514) ["REQUEST_TIME"]=> int(1495783661) }

Profiler:

Klasa Metoda Tryb cache Czas (w s.) Pamięć (w b.) DaneBacktrace
Models_GatunekgetAll00.00773191262144 
#-1 Core_Profiler->debug_string_backtrace() called at [/usr2/web/stopklatka.pl/core/Profiler.php:122]
#0 Core_Profiler->stopProfile(Models_Gatunek) called at [/usr2/web/stopklatka.pl/core/Factory.php:148]
#1 Core_Factory->run(Models_Gatunek, getAll, 0, , file, 604800) called at [/usr2/web/stopklatka.pl/app/controllers/preInitGlobal.php:105]
#2 preInitGlobal->run() called at [/usr2/web/stopklatka.pl/core/FrontController.php:146]
#3 Core_FrontController::display() called at [/usr2/web/stopklatka.pl/htdocs/index.php:184]  
Core_DatabasegetAll5.16856813524288select *,t.latin from Gatunek as g inner join Tag as t on t.tabela_id = g.id where g.id <> 56 and t.tabela ="gatunek" order by gatunek asc 
#-1 Core_Profiler->debug_string_backtrace() called at [/usr2/web/stopklatka.pl/core/Profiler.php:122]
#0 Core_Profiler->stopProfile(Core_Database) called at [/usr2/web/stopklatka.pl/core/Database.php:240]
#1 Core_Database->getAll(select *,t.latin from Gatunek as g inner join Tag as t on t.tabela_id = g.id where g.id <> 56 and t.tabela ="gatunek" order by gatunek asc, ) called at [/usr2/web/stopklatka.pl/app/models/Gatunek.php:64]
#2 Models_Gatunek->getAll(0) called at [/usr2/web/stopklatka.pl/core/Factory.php:149]
#3 Core_Factory->run(Models_Gatunek, getAll, 0, , file, 604800) called at [/usr2/web/stopklatka.pl/app/controllers/preInitGlobal.php:105]
#4 preInitGlobal->run() called at [/usr2/web/stopklatka.pl/core/FrontController.php:146]
#5 Core_FrontController::display() called at [/usr2/web/stopklatka.pl/htdocs/index.php:184]  
TagControllerpreInit00.00001597524288 
#-1 Core_Profiler::debug_string_backtrace() called at [/usr2/web/stopklatka.pl/core/Profiler.php:122]
#0 Core_Profiler::stopProfile(TagController) called at [/usr2/web/stopklatka.pl/core/FrontController.php:169]
#1 Core_FrontController::display() called at [/usr2/web/stopklatka.pl/htdocs/index.php:184]