SEVERE RDB::query() query error
Array
(
[query] =>
SELECT module, right_id FROM user_rights
WHERE type = 'group' AND id = 1
[0] =>
[1] =>
)
$r
$tpl
$_SESSION
$_POST
$_GET
$_FILES
Array
(
[path] => Array
(
[root] => /data/e/3/e34e6df7-faa1-4dcb-b9b9-6d04a5b59048/netmile.sk/web
[src] => /data/e/3/e34e6df7-faa1-4dcb-b9b9-6d04a5b59048/netmile.sk/web/src
[tpl] => /data/e/3/e34e6df7-faa1-4dcb-b9b9-6d04a5b59048/netmile.sk/web/tpl
[gfx] => /data/e/3/e34e6df7-faa1-4dcb-b9b9-6d04a5b59048/netmile.sk/web/gfx
[data] => /data/e/3/e34e6df7-faa1-4dcb-b9b9-6d04a5b59048/netmile.sk/web/data
[app] => /data/e/3/e34e6df7-faa1-4dcb-b9b9-6d04a5b59048/netmile.sk/web/app
[lib] => /data/e/3/e34e6df7-faa1-4dcb-b9b9-6d04a5b59048/netmile.sk/web/lib
[rain] => /data/e/3/e34e6df7-faa1-4dcb-b9b9-6d04a5b59048/netmile.sk/web/lib/rain
[smarty] => /data/e/3/e34e6df7-faa1-4dcb-b9b9-6d04a5b59048/netmile.sk/web/lib/smarty
[modules] => /data/e/3/e34e6df7-faa1-4dcb-b9b9-6d04a5b59048/netmile.sk/web/modules
[module] => Array
(
[root] => /data/e/3/e34e6df7-faa1-4dcb-b9b9-6d04a5b59048/netmile.sk/web/modules/Content
[src] => /data/e/3/e34e6df7-faa1-4dcb-b9b9-6d04a5b59048/netmile.sk/web/modules/Content/src
[tpl] => /data/e/3/e34e6df7-faa1-4dcb-b9b9-6d04a5b59048/netmile.sk/web/modules/Content/tpl
[gfx] => /data/e/3/e34e6df7-faa1-4dcb-b9b9-6d04a5b59048/netmile.sk/web/modules/Content/gfx
[data] => /data/e/3/e34e6df7-faa1-4dcb-b9b9-6d04a5b59048/netmile.sk/web/data/Content
)
)
[webpath] => Array
(
[root] =>
[server] => //netmile.sk
[index] => index.php
[REQUEST_URI] => /index.php?rain=sk%2Fcontent%2Fzameranie&sessid9ce2254b389c90d246ed3597dbcc6df1=95bf41c1546e6330e0c1e6c7bb4cb3e1
[src] => /src
[tpl] => /tpl
[gfx] => /gfx
[data] => /data
[app] => /app
[lib] => /lib
[rain] => /lib/rain
[smarty] => /lib/smarty
[modules] => /modules
[page] => content/zameranie
[module] => Array
(
[root] => /modules/Content
[src] => /modules/Content/src
[tpl] => /modules/Content/tpl
[gfx] => /modules/Content/gfx
[data] => /data/Content
)
)
[arg] => Array
(
[0] => content
[1] => zameranie
)
[ref] => Array
(
[0] => sk
[1] => content
[2] => zameranie
)
)
RSmarty Object
(
[conf] => Array
(
[global] => Array
(
[email_name] => NetMile
[email_address] => triad@triad.sk
[rl_project] => simpleweb
[cms_table_width] => 480
[pager_otherPagesCount] => 3
[default_timezone] => Europe/Bratislava
[recaptcha_public_key] => 6Ld0NbsSAAAAAAGbLWejRkKk7mO5t2dvgJ2RF7LR
[recaptcha_private_key] => 6Ld0NbsSAAAAAGKtrjtaQMW2SYkTQ8EkIZsXfDKc
[watch_unload] => 0
)
[Blocks] => Array
(
[protected_blocks] =>
[positions] => left
[styles] =>
)
[Comments] => Array
(
[show_menu_item] => 0
)
[Content] => Array
(
[protected_content] =>
[default_article] => 1
[menu] => main,bottom
[menu_main_depth] => 0
[menu_bottom_depth] => 1
[revisions] => 8
[image_size] => 520
[thumb_size] => 120
)
[MediaLibrary] => Array
(
[jpg_quality] => 100
[upload_chunk_size] => 100000
[maximum_total_upload] => -1
[maximum_upload] => -1
[maximum_concurrent_upload] => 1
[maximum_number_to_upload] => -1
[filter_all] => All Files|*.*
[filter_jpeg] => JPEG|*.jpg;*.jpeg;*.JPG;*.JPEG
[filter_images] => JPEG, PNG, GIF|*.jpg;*.jpeg;*.JPG;*.JPEG;*.gif;*.GIF;*.png;*.PNG
[filter_pdf] => PDF|*.pdf;*.PDF
[filter_zip] => ZIP|*.zip;*.ZIP
[filter_doc] => Microsoft Word (DOC, DOCX)|*.doc;*.docx;*.DOC;*.DOCX
)
[User] => Array
(
[forgotten_password] => 1
[timeout] => 3600
[new_password_expiration] => 24
)
[Stats] => Array
(
[ua_code] => UA-25669540-1
[profile] =>
[login] => mbo
[password] => al€X@ndrA
)
)
[head] => Array
(
)
[breadcrumbs] => Array
(
)
[displayAlreadyCalled] =>
[templateAlreadyPrepared:RSmarty:private] =>
[auto_literal] => 1
[error_unassigned] =>
[template_dir] => Array
(
[0] => ./templates/
[1] => /data/e/3/e34e6df7-faa1-4dcb-b9b9-6d04a5b59048/netmile.sk/web/
)
[default_template_handler_func] =>
[compile_dir] => /data/e/3/e34e6df7-faa1-4dcb-b9b9-6d04a5b59048/netmile.sk/web/data/RSmarty/compiled/
[plugins_dir] => Array
(
[0] => /data/e/3/e34e6df7-faa1-4dcb-b9b9-6d04a5b59048/netmile.sk/web/lib/smarty/plugins/
[1] => /data/e/3/e34e6df7-faa1-4dcb-b9b9-6d04a5b59048/netmile.sk/web/modules/Blocks/tpl/plugins
[2] => /data/e/3/e34e6df7-faa1-4dcb-b9b9-6d04a5b59048/netmile.sk/web/modules/Comments/tpl/plugins
[3] => /data/e/3/e34e6df7-faa1-4dcb-b9b9-6d04a5b59048/netmile.sk/web/modules/Content/tpl/plugins
[4] => /data/e/3/e34e6df7-faa1-4dcb-b9b9-6d04a5b59048/netmile.sk/web/modules/MediaLibrary/tpl/plugins
[5] => /data/e/3/e34e6df7-faa1-4dcb-b9b9-6d04a5b59048/netmile.sk/web/modules/Tools/tpl/plugins
[6] => /data/e/3/e34e6df7-faa1-4dcb-b9b9-6d04a5b59048/netmile.sk/web/modules/User/tpl/plugins
[7] => /data/e/3/e34e6df7-faa1-4dcb-b9b9-6d04a5b59048/netmile.sk/web/modules/Stats/tpl/plugins
[8] => /data/e/3/e34e6df7-faa1-4dcb-b9b9-6d04a5b59048/netmile.sk/web/modules/Babel/tpl/plugins
[9] => /data/e/3/e34e6df7-faa1-4dcb-b9b9-6d04a5b59048/netmile.sk/web/modules/Setup/tpl/plugins
[10] => /data/e/3/e34e6df7-faa1-4dcb-b9b9-6d04a5b59048/netmile.sk/web/lib/smarty/rain_plugins
)
[cache_dir] => /data/e/3/e34e6df7-faa1-4dcb-b9b9-6d04a5b59048/netmile.sk/web/data/RSmarty/cached/
[config_dir] => /data/e/3/e34e6df7-faa1-4dcb-b9b9-6d04a5b59048/netmile.sk/web/
[force_compile] =>
[compile_check] => 1
[compile_locking] => 1
[use_sub_dirs] =>
[compile_error] =>
[caching] => 0
[merge_compiled_includes] =>
[cache_lifetime] => 3600
[force_cache] =>
[cache_id] =>
[compile_id] =>
[left_delimiter] => {
[right_delimiter] => }
[security_class] => Smarty_Security
[php_handling] => 0
[allow_php_tag] =>
[allow_php_templates] =>
[security] =>
[security_policy] =>
[security_handler] =>
[direct_access_security] => 1
[debugging] =>
[debugging_ctrl] => NONE
[smarty_debug_id] => SMARTY_DEBUG
[debug_tpl] => /data/e/3/e34e6df7-faa1-4dcb-b9b9-6d04a5b59048/netmile.sk/web/lib/smarty/debug.tpl
[error_reporting] =>
[config_overwrite] => 1
[config_booleanize] =>
[config_read_hidden] => 1
[config_vars] => Array
(
)
[global_tpl_vars] => Array
(
[SCRIPT_NAME] => Smarty_Variable Object
(
[value] => /index.php
[nocache] =>
[scope] => 0
)
)
[parent] =>
[template_functions] => Array
(
)
[default_resource_type] => file
[caching_type] => file
[cache_resource_types] => Array
(
[0] => file
)
[cache_resource_objects] => Array
(
)
[properties] => Array
(
[file_dependency] => Array
(
[a6ba80d61f347060d72f999f310861e0fd5145c8] => Array
(
[0] => /data/e/3/e34e6df7-faa1-4dcb-b9b9-6d04a5b59048/netmile.sk/web/conf/setup.php
[1] => 1311769247
)
[ad2224724003c2ed977598e8deb7bb59a0de0603] => Array
(
[0] => /data/e/3/e34e6df7-faa1-4dcb-b9b9-6d04a5b59048/netmile.sk/web/modules/Blocks/conf/setup.php
[1] => 1305026648
)
[41e651c9dbf5803c1207d1d742d3483bfad78171] => Array
(
[0] => /data/e/3/e34e6df7-faa1-4dcb-b9b9-6d04a5b59048/netmile.sk/web/modules/Comments/conf/setup.php
[1] => 1305026647
)
[852dad2ea3b62188a9bfa06cdf64f68949aca833] => Array
(
[0] => /data/e/3/e34e6df7-faa1-4dcb-b9b9-6d04a5b59048/netmile.sk/web/modules/Content/conf/setup.php
[1] => 1305026647
)
[ed11f0c04cd8041cf6e8f370f5dc1237e59f473e] => Array
(
[0] => /data/e/3/e34e6df7-faa1-4dcb-b9b9-6d04a5b59048/netmile.sk/web/modules/MediaLibrary/conf/setup.php
[1] => 1307966452
)
[714d0d0a3a797136e1ea901dfef8e32d7ae33da8] => Array
(
[0] => /data/e/3/e34e6df7-faa1-4dcb-b9b9-6d04a5b59048/netmile.sk/web/modules/User/conf/setup.php
[1] => 1305026649
)
[74c733a443645b7dd7e6bdf780c448fe0fea9266] => Array
(
[0] => /data/e/3/e34e6df7-faa1-4dcb-b9b9-6d04a5b59048/netmile.sk/web/modules/Stats/conf/setup.php
[1] => 1315828918
)
)
)
[default_config_type] => file
[exception_handler] =>
[cache_modified_check] =>
[registered_plugins] => Array
(
)
[plugin_search_order] => Array
(
[0] => function
[1] => block
[2] => compiler
[3] => class
)
[registered_objects] => Array
(
)
[registered_filters] => Array
(
)
[autoload_filters] => Array
(
)
[variable_filter] => 1
[default_modifiers] => Array
(
)
[_smarty_vars] => Array
(
)
[start_time] => 1733823393.59
[_file_perms] => 420
[_dir_perms] => 505
[smarty] => RSmarty Object
*RECURSION*
[block_data] => Array
(
)
[block_data_stack] => Array
(
)
[_tag_stack] => Array
(
)
[_plugins] => Array
(
)
[deprecation_notices] => 1
[template_class] => Smarty_Internal_Template
)
Array
(
[rain] => Array
(
[arg] => Array
(
[0] => content
[1] => zameranie
)
)
[user] => Array
(
[user_id] => 0
[user_group_id] => 1
[type] => anonym
)
)
Array
(
)
Array
(
[rain] => content/zameranie
[sessid9ce2254b389c90d246ed3597dbcc6df1] => 95bf41c1546e6330e0c1e6c7bb4cb3e1
)
Array
(
)
/lib/rain/RDB.php:781, RDB::getArray(...)Array
(
[0] =>
SELECT module, right_id FROM user_rights
WHERE type = 'group' AND id = 1
[1] =>
)
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
SELECT module, right_id FROM user_rights
WHERE type = 'group' AND id = 1
774
775
776 $this->queryType = "getArray:$associateBy:$groupBy";
777
778 if ($groupBy == null) $groups[0] = array();
779 else $groups = array();
780
781 if ($this->query($query, $showOnly)) {
782
783 if ($this->proxyRole == "client") {
784 return $this->response["data"];
785
786 } else {
787 if (is_array($pager)) {
788 // Pocet vsetkych zaznamov
/modules/User/src/User.php:450, User::loadAccessRights()
443 $where = "type = 'user' AND id = {$_SESSION["user"]["user_id"]}";
444 }
445 }
446
447 $modules = $db->getArray("
448 SELECT module, right_id FROM user_rights
449 WHERE $where
450 ", false, null, "module");
451
452 foreach ($modules as $module => $rights) {
453 foreach ($rights as $right) {
454 $_SESSION["user"]["rights"][$module][] = $right["right_id"];
455 }
456 }
457 }
/lib/rain/RModule.php:116, RModule::__construct()
109
110 if (!$_SESSION["user"]) {
111 $_SESSION["user"] = array(
112 "user_id" => 0,
113 "user_group_id" => 1,
114 "type" => "anonym"
115 );
116 User::loadAccessRights();
117 }
118 }
119 }
120
121
122 /**
123 * Hlavna obsluzna metoda - preberie beh aplikacie
/lib/rain/R.php:1520, R::run()
1513 global $db, $tpl;
1514
1515 date_default_timezone_set(RConf::get("global",'default_timezone'));
1516
1517 $activeModuleName = R::getModuleName();
1518
1519 if ($activeModuleName) {
1520 self::$moduleInstances[$activeModuleName] = new $activeModuleName();
1521 self::$moduleInstances[$activeModuleName]->show();
1522 }
1523
1524 RModule::raiseEvent('exit');
1525 }
1526
1527
/index.php:130
123 * objekt (triedy R::getModuleName()), ktory je dostupny cez R::getModuleInstance().
124 * Na zaver sa zavola jeho metoda show().
125 */
126
127 R::prepareArgs();
128 R::bindModule();
129
130 R::run();
131
132
133 /*
134 * Statistiky
135 *
136 * Cas generovania stranky, pocet dopytov, spotrebovana pamat
137 */