Code: Select all
[PropelException]
[wrapped: connect failed [Native Error: Too many connections] [User Info: Array]]
stack trace
* at ()
in SF_SYMFONY_LIB_DIR/vendor/propel/Propel.php line 489 ...
486. try {
487. $con = Creole::getConnection($dsn);
488. } catch (SQLException $e) {
489. throw new PropelException($e);
490. }
491. self::$connectionMap[$name] = $con;
492. }
* at Propel::getConnection('propel')
in SF_SYMFONY_LIB_DIR/vendor/propel/util/BasePeer.php line 432 ...
429. $dbMap = Propel::getDatabaseMap($criteria->getDbName());
430.
431. if ($con === null)
432. $con = Propel::getConnection($criteria->getDbName());
433.
434. $stmt = null;
435.
* at BasePeer::doSelect(object('Criteria'))
in SF_ROOT_DIR/lib/model/Citizens.php line 186 ...
183. $next_startcol = $next_startcol + CitizenBannedStatusPeer::NUM_COLUMNS - CitizenBannedStatusPeer::NUM_LAZY_LOAD_COLUMNS ;
184. }
185.
186. $rs = BasePeer::doSelect($c);
187.
188. while ($rs->next()) {
189. $citizen = new Citizens();
* at Citizens::find(object('Criteria'), array('country', 'attributes', 'number of messages', 'number of alerts', 'organization_items', 'citizen_items', 'number_of_friends', 'banned_status'))
in SF_ROOT_DIR/apps/frontend/lib/myUser.class.php line 127 ...
124. $hash = $this->getAttribute("hash", "", "citizen");
125. $c = new Criteria();
126. $c->add(CitizensPeer::PASSWORD_HASH, $hash);
127. $this->citizen_db_cache = Citizens::find($c, array("country", "attributes", "number of messages", "number of alerts","organization_items","citizen_items","number_of_friends", "banned_status"));
128. if (!$this->citizen_db_cache || empty($this->citizen_db_cache)) {
129. $this->signOut();
130. } else {
* at myUser->getCitizen()
in SF_ROOT_DIR/apps/frontend/modules/home/actions/actions.class.php line 36 ...
33. $this->getResponse()->setTitle('Your Erepublik Home | Check your To-Do list');
34.
35. // shout stuff
36. $this->max_shout_limit = MaximumNumberOfShoutsPeer::getShoutLimit($this->getUser()->getCitizen()->getId())->getMaxNumber();
37. $this->published_shouts = DailyNumberOfShoutsPeer::getPublishedShouts($this->getUser()->getCitizen()->getId())->getNumber();
38.
39. $citizen = $this->getUser()->getCitizen();
* at homeActions->executeIndex()
in SF_SYMFONY_LIB_DIR/action/sfActions.class.php line 53 ...
50. }
51.
52. // run action
53. $ret = $this->$actionToRun();
54.
55. return $ret;
56. }
* at sfActions->execute()
in SF_SYMFONY_LIB_DIR/filter/sfExecutionFilter.class.php line 129 ...
126.
127. // execute the action
128. $actionInstance->preExecute();
129. $viewName = $actionInstance->execute();
130. if ($viewName == '')
131. {
132. $viewName = sfView::SUCCESS;
* at sfExecutionFilter->execute(object('sfFilterChain'))
in SF_SYMFONY_LIB_DIR/filter/sfFilterChain.class.php line 43 ...
40. }
41.
42. // execute the next filter
43. $this->chain[$this->index]->execute($this);
44. }
45. }
46.
* at sfFilterChain->execute()
in SF_SYMFONY_LIB_DIR/filter/sfFlashFilter.class.php line 50 ...
47. }
48.
49. // execute next filter
50. $filterChain->execute();
51.
52. // remove flash that are tagged to be removed
53. $names = $userAttributeHolder->getNames('symfony/flash/remove');
* at sfFlashFilter->execute(object('sfFilterChain'))
in SF_SYMFONY_LIB_DIR/filter/sfFilterChain.class.php line 43 ...
40. }
41.
42. // execute the next filter
43. $this->chain[$this->index]->execute($this);
44. }
45. }
46.
* at sfFilterChain->execute()
in SF_SYMFONY_LIB_DIR/filter/sfCommonFilter.class.php line 29 ...
26. public function execute($filterChain)
27. {
28. // execute next filter
29. $filterChain->execute();
30.
31. // execute this filter only once
32. $response = $this->getContext()->getResponse();
* at sfCommonFilter->execute(object('sfFilterChain'))
in SF_SYMFONY_LIB_DIR/filter/sfFilterChain.class.php line 43 ...
40. }
41.
42. // execute the next filter
43. $this->chain[$this->index]->execute($this);
44. }
45. }
46.
* at sfFilterChain->execute()
in SF_SYMFONY_LIB_DIR/filter/sfRenderingFilter.class.php line 33 ...
30. public function execute($filterChain)
31. {
32. // execute next filter
33. $filterChain->execute();
34.
35. if (sfConfig::get('sf_logging_enabled'))
36. {
* at sfRenderingFilter->execute(object('sfFilterChain'))
in SF_SYMFONY_LIB_DIR/filter/sfFilterChain.class.php line 43 ...
40. }
41.
42. // execute the next filter
43. $this->chain[$this->index]->execute($this);
44. }
45. }
46.
* at sfFilterChain->execute()
in SF_SYMFONY_LIB_DIR/controller/sfController.class.php line 276 ...
273. }
274.
275. // process the filter chain
276. $filterChain->execute();
277. }
278. else
279. {
* at sfController->forward('home', 'index')
in SF_SYMFONY_LIB_DIR/controller/sfFrontWebController.class.php line 48 ...
45. $actionName = $request->getParameter('action');
46.
47. // make the first request
48. $this->forward($moduleName, $actionName);
49. }
50. catch (sfException $e)
51. {
* at sfFrontWebController->dispatch()
in SF_ROOT_DIR/web/index.php line 9 ...
6. define('SF_DEBUG', true);
7.
8. require_once(SF_ROOT_DIR.DIRECTORY_SEPARATOR.'apps'.DIRECTORY_SEPARATOR.SF_APP.DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'config.php');
9. sfContext::getInstance()->getController()->dispatch();
10.
11.
12.
symfony settings ...
---
app_pager_articles_comments_max: 15
app_pager_articles_max: 5
app_pokayoke_debug:
app_pokayoke_display_global_onblur:
app_pokayoke_display_global_onsubmit:
app_pokayoke_display_inline_onblur: 1
app_pokayoke_display_inline_onsubmit:
app_pokayoke_global_class: form_error
app_pokayoke_global_onclick_focus: true;
app_pokayoke_global_title: The following form information has been completed but it contains errors:
app_pokayoke_global_titleclass: pkyk_global_title
app_pokayoke_inline_class: form_error
app_pokayoke_inline_id_prefix: error_for_
app_pokayoke_on: true
app_pokayoke_validate_onblur: 1
app_pokayoke_validateon_submit: 1
app_recaptcha_incorrect-captcha-sol: The challenge solution was incorrect.
app_recaptcha_privatekey: 6LfEGgIAAAAAAByJ6OCst1yen_O1TPe6vE4LtQ6t
app_recaptcha_publickey: 6LfEGgIAAAAAABSqQ0rzMd3t-rOU_XrZlC2C9WG2
app_sfSimpleForumPlugin_allow_new_topic_outside_forum:
app_sfSimpleForumPlugin_breadcrumb_separator: -
app_sfSimpleForumPlugin_count_views: 1
app_sfSimpleForumPlugin_display_categories: 1
app_sfSimpleForumPlugin_feed_max: 10
app_sfSimpleForumPlugin_forum_name: Erepublik Forum
app_sfSimpleForumPlugin_include_breadcrumb: 1
app_sfSimpleForumPlugin_max_per_block: 10
app_sfSimpleForumPlugin_max_per_page: 10
app_sfSimpleForumPlugin_pages_displayed: 7
app_sfSimpleForumPlugin_retrieve_by_name_method: retrieveByName
app_sfSimpleForumPlugin_show_author_details: 1
app_sfSimpleForumPlugin_use_feeds: 1
app_sfSimpleForumPlugin_user_class: Citizens
mod_home_enabled: 1
mod_home_is_internal:
mod_home_view_class: sfPHP
sf_admin_web_dir: /sf/sf_admin
sf_app: frontend
sf_app_config_dir: /var/www/production/releases/20081016154724/apps/frontend/config
sf_app_config_dir_name: config
sf_app_dir: /var/www/production/releases/20081016154724/apps/frontend
sf_app_i18n_dir: /var/www/production/releases/20081016154724/apps/frontend/i18n
sf_app_i18n_dir_name: i18n
sf_app_lib_dir: /var/www/production/releases/20081016154724/apps/frontend/lib
sf_app_lib_dir_name: lib
sf_app_module_action_dir_name: actions
sf_app_module_config_dir_name: config
sf_app_module_dir: /var/www/production/releases/20081016154724/apps/frontend/modules
sf_app_module_dir_name: modules
sf_app_module_i18n_dir_name: i18n
sf_app_module_lib_dir_name: lib
sf_app_module_template_dir_name: templates
sf_app_module_validate_dir_name: validate
sf_app_module_view_dir_name: views
sf_app_template_dir: /var/www/production/releases/20081016154724/apps/frontend/templates
sf_app_template_dir_name: templates
sf_apps_dir_name: apps
sf_autoloading_functions:
sf_available: 1
sf_base_cache_dir: /var/www/production/releases/20081016154724/cache/frontend
sf_bin_dir: /var/www/production/releases/20081016154724/batch
sf_bin_dir_name: batch
sf_cache:
sf_cache_dir: /var/www/production/releases/20081016154724/cache/frontend/prod
sf_cache_dir_name: cache
sf_calendar_web_dir: /sf/calendar
sf_charset: utf-8
sf_check_lock:
sf_check_symfony_version:
sf_compressed:
sf_config_cache_dir: /var/www/production/releases/20081016154724/cache/frontend/prod/config
sf_config_dir: /var/www/production/releases/20081016154724/config
sf_config_dir_name: config
sf_data_dir: /var/www/production/releases/20081016154724/data
sf_data_dir_name: data
sf_debug: 1
sf_default_action: index
sf_default_module: default
sf_doc_dir: /var/www/production/releases/20081016154724/data/doc
sf_doc_dir_name: doc
sf_enabled_modules:
- default
- recaptcha
- sfSimpleForum
sf_environment: prod
sf_error_404_action: error404
sf_error_404_module: error
sf_error_reporting: 341
sf_escaping_method: ESC_ENTITIES
sf_escaping_strategy: bc
sf_etag: 1
sf_i18n: on
sf_i18n_cache: 1
sf_i18n_cache_dir: /var/www/production/releases/20081016154724/cache/frontend/prod/i18n
sf_i18n_debug:
sf_i18n_default_culture: en
sf_i18n_source: XLIFF
sf_i18n_untranslated_prefix: [T]
sf_i18n_untranslated_suffix: [/T]
sf_lib_dir: /var/www/production/releases/20081016154724/lib
sf_lib_dir_name: lib
sf_log_dir: /var/www/production/releases/20081016154724/log
sf_log_dir_name: log
sf_logging_enabled:
sf_logging_history: 10
sf_logging_level: err
sf_logging_period: 7
sf_logging_purge:
sf_logging_rotate: 1
sf_login_action: login
sf_login_module: default
sf_max_forwards: 5
sf_model_dir_name: model
sf_model_lib_dir: /var/www/production/releases/20081016154724/lib/model
sf_module_cache_dir: /var/www/production/releases/20081016154724/cache/frontend/prod/modules
sf_module_disabled_action: disabled
sf_module_disabled_module: default
sf_no_script_name: 1
sf_orm: propel
sf_path_info_array: SERVER
sf_path_info_key: PATH_INFO
sf_plugins_dir: /var/www/production/releases/20081016154724/plugins
sf_plugins_dir_name: plugins
sf_prototype_web_dir: /sf/prototype
sf_rich_text_js_dir: js/tiny_mce
sf_root_cache_dir: /var/www/production/releases/20081016154724/cache
sf_root_dir: /var/www/production/releases/20081016154724
sf_routing_defaults:
sf_culture: en
sf_secure_action: secure
sf_secure_module: default
sf_standard_helpers:
- Partial
- I18N
- h
- countryFlag
- avatar
- textTools
sf_strip_comments: 1
sf_suffix: .
sf_symfony_data_dir: /usr/share/php/data/symfony
sf_symfony_lib_dir: /usr/share/php/symfony
sf_template_cache_dir: /var/www/production/releases/20081016154724/cache/frontend/prod/template
sf_test:
sf_test_cache_dir: /var/www/production/releases/20081016154724/cache/frontend/prod/test
sf_test_dir: /var/www/production/releases/20081016154724/test
sf_test_dir_name: test
sf_timeout: 1800
sf_timer_start: 1224201127.28
sf_unavailable_action: unavailable
sf_unavailable_module: default
sf_upload_dir: /var/www/production/releases/20081016154724/web/uploads
sf_upload_dir_name: uploads
sf_url_format: PATH
sf_use_database: 1
sf_use_flash: 1
sf_use_process_cache: 1
sf_use_security: 1
sf_validation_error_class: form_error
sf_validation_error_id_prefix: error_for_
sf_validation_error_prefix:
sf_validation_error_suffix:
sf_web_debug:
sf_web_debug_web_dir: /sf/sf_web_debug
sf_web_dir: /var/www/production/releases/20081016154724/web
sf_web_dir_name: web
request ...
---
parameterHolder:
symfony/default:
action: index
module: home
sf_culture: en
attributeHolder:
symfony/default:
response ...
---
cookies:
httpHeaders:
parameterHolder:
helper/asset/auto/meta:
title: Your Erepublik Home | Check your To-Do list
global vars ...
---
cookie:
PHPSESSID: imilkskcaij6slep0pqvflsgq4
__utma: 234733898.1496474531315247400.1221443587.1224192776.1224195280.125
__utmb: 234733898.68.10.1224195280
__utmc: 234733898
__utmz: 234733898.1221443587.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)
erpk: 2257d9f26092a1d6f7ce78b9ffe42fea
erpk_mid: ea2cbf59ffe4a63a1222490bd3275435
erpk_rm: fc667e394a628efca36d2f6654834a22
lfrc: 0
logerep: c2792f2660df3f50bf820706293bfd73
env:
LANG: C
PATH: /usr/local/bin:/usr/bin:/bin
PWD: /root
SHLVL: 1
_: /usr/sbin/apache2
files:
get:
post:
server:
DOCUMENT_ROOT: /var/www/web22/web
GATEWAY_INTERFACE: CGI/1.1
HTTP_ACCEPT: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
HTTP_ACCEPT_CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_ACCEPT_ENCODING: gzip,deflate
HTTP_ACCEPT_LANGUAGE: en-us,en;q=0.5
HTTP_COOKIE: __utmz=234733898.1221443587.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=234733898.1496474531315247400.1221443587.1224192776.1224195280.125; logerep=c2792f2660df3f50bf820706293bfd73; PHPSESSID=imilkskcaij6slep0pqvflsgq4; __utmc=234733898; erpk=2257d9f26092a1d6f7ce78b9ffe42fea; lfrc=0; erpk_rm=fc667e394a628efca36d2f6654834a22; erpk_mid=ea2cbf59ffe4a63a1222490bd3275435; __utmb=234733898.68.10.1224195280
HTTP_HOST: www.erepublik.com
HTTP_KEEP_ALIVE: 300
HTTP_REFERER: http://www.erepublik.com/en/wars/1
HTTP_USER_AGENT: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.17) Gecko/20080829 Firefox/2.0.0.17
HTTP_X_FORWARDED_FOR: 69.148.182.245
HTTP_X_FORWARDED_PROTO: http
HTTP_X_HOST: www.erepublik.com
PATH: /usr/local/bin:/usr/bin:/bin
PHP_SELF: /index.php
QUERY_STRING:
REDIRECT_SCRIPT_URI: http://www.erepublik.com/en
REDIRECT_SCRIPT_URL: /en
REDIRECT_STATUS: 200
REDIRECT_URL: /en
REMOTE_ADDR: 127.0.0.1
REMOTE_PORT: 52115
REQUEST_METHOD: GET
REQUEST_TIME: 1224201127
REQUEST_URI: /en
SCRIPT_FILENAME: /var/www/web22/web/index.php
SCRIPT_NAME: /index.php
SCRIPT_URI: http://www.erepublik.com/en
SCRIPT_URL: /en
SERVER_ADDR: 127.0.0.1
SERVER_ADMIN: webmaster@erepublik.com
SERVER_NAME: www.erepublik.com
SERVER_PORT: 80
SERVER_PROTOCOL: HTTP/1.0
SERVER_SIGNATURE: |
Apache/2.2.3 (Debian) PHP/5.2.0-8+etch11 mod_ssl/2.2.3 OpenSSL/0.9.8c Server at www.erepublik.com Port 80
SERVER_SOFTWARE: Apache/2.2.3 (Debian) PHP/5.2.0-8+etch11 mod_ssl/2.2.3 OpenSSL/0.9.8c
argc: 0
argv:
session:
captcha_value: 49987fad7afe50ab348958c349daba49
last_seen_battle_log:
- 2737
symfony/user/sfUser/attributes:
symfony/user/sfUser/attributes:
donated:
donate_to_citizen_id: 1130912
daily_tasks_exp_level: 6
daily_tasks:
-
url: @wars_list
url_title: Fight in a war
text: Congratulations, you reached level 5.
-
url: @create_company
url_title: Create your company!
text: Congratulations, you reached level 9.
sf_simple_forum_latest_viewed_topic: 79517
receiver_id: 586221
citizen:
hash: 169e77f8b1566b4b628b2b37832a6653096266cf
symfony/user/sfUser/authenticated: 1
symfony/user/sfUser/credentials:
- citizen
symfony/user/sfUser/culture: en
symfony/user/sfUser/lastRequest: 1224201109
symfony v.1.0.17 - php 5.2.0-8+etch11
for help resolving this issue, please visit http://www.symfony-project.org/.