500 | Internal Server Error | Doctrine_Connection_Exception
PDO Connection Error: SQLSTATE[HY000] [1040] Too many connections
stack trace
- at ()
in SF_ROOT_DIR/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Connection.php line 474 ...
- $this->dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
- } catch (PDOException $e) {
- throw new Doctrine_Connection_Exception('PDO Connection Error: ' . $e->getMessage());
- }
- $found = true;
- }
- at Doctrine_Connection->connect()
in SF_ROOT_DIR/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Connection/Mysql.php line 101 ...
- */
- public function connect()
- {
- $connected = parent::connect();
- $this->setAttribute(PDO::ATTR_EMULATE_PREPARES, true);
- return $connected;
- at Doctrine_Connection_Mysql->connect()
in SF_ROOT_DIR/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Connection.php line 1001 ...
- */
- public function execute($query, array $params = array())
- {
- $this->connect();
- try {
- if ( ! empty($params)) {
- at Doctrine_Connection->execute('SELECT a.id AS a__id, a.slug AS a__slug, a.template AS a__template, a.view_is_secure AS a__view_is_secure, a.archived AS a__archived, a.admin AS a__admin, a.author_id AS a__author_id, a.deleter_id AS a__deleter_id, a.engine AS a__engine, a.created_at AS a__created_at, a.updated_at AS a__updated_at, a.lft AS a__lft, a.rgt AS a__rgt, a.level AS a__level, LENGTH(a.slug) AS a__0 FROM a_page a WHERE (a.slug IN (?, ?, ?, ?, ?) AND a.engine IS NOT NULL) ORDER BY a__0 desc LIMIT 1', array('/company/team/show/5', '/company/team/show', '/company/team', '/company', '/'))
in SF_ROOT_DIR/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Query/Abstract.php line 983 ...
- return $this->_conn->exec($query, $params);
- }
- $stmt = $this->_conn->execute($query, $params);
- $this->_params['exec'] = array();
- at Doctrine_Query_Abstract->_execute(array())
in SF_ROOT_DIR/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Query/Abstract.php line 1033 ...
- $result = $this->_constructQueryFromCache($cached);
- }
- } else {
- $stmt = $this->_execute($params);
- if (is_integer($stmt)) {
- $result = $stmt;
- at Doctrine_Query_Abstract->execute(array(), null)
in SF_ROOT_DIR/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Query.php line 281 ...
- */
- public function fetchOne($params = array(), $hydrationMode = null)
- {
- $collection = $this->execute($params, $hydrationMode);
- if (is_scalar($collection)) {
- return $collection;
- at Doctrine_Query->fetchOne()
in SF_ROOT_DIR/plugins/apostrophePlugin/lib/model/doctrine/PluginaPageTable.class.php line 338 ...
- andWhere('p.engine IS NOT NULL')->
- orderBy('len desc')->
- limit(1)->
- fetchOne();
- self::$engineCachePage = $page;
- self::$engineCacheUrl = $url;
- self::$engineCacheRemainder = false;
- at PluginaPageTable::getMatchingEnginePage('/company/team/show/5', )
in SF_ROOT_DIR/plugins/apostrophePlugin/lib/toolkit/aRouteTools.php line 39 ...
- }
- $remainder = false;
- $page = aPageTable::getMatchingEnginePage($url, $remainder);
- if (!$page)
- {
- return false;
- at aRouteTools::removePageFromUrl(object('aRoute'), '/company/team/show/5')
in SF_ROOT_DIR/plugins/apostrophePlugin/lib/toolkit/aRoute.php line 22 ...
- */
- public function matchesUrl($url, $context = array())
- {
- $url = aRouteTools::removePageFromUrl($this, $url);
- return parent::matchesUrl($url, $context);
- }
- at aRoute->matchesUrl('/company/team/show/5', array('path_info' => '/company/team/show/5', 'prefix' => '', 'method' => 'GET', 'format' => null, 'host' => 'shell-moh.com', 'is_secure' => 1, 'request_uri' => 'https://shell-moh.com/company/team/show/5'))
in SF_ROOT_DIR/lib/vendor/symfony/lib/routing/sfPatternRouting.class.php line 474 ...
- $this->ensureDefaultParametersAreSet();
- foreach ($this->routes as $name => $route)
- {
- if (false === $parameters = $route->matchesUrl($url, $this->options['context']))
- {
- continue;
- }
- at sfPatternRouting->getRouteThatMatchesUrl('/company/team/show/5')
in SF_ROOT_DIR/lib/vendor/symfony/lib/routing/sfPatternRouting.class.php line 432 ...
- }
- }
- $info = $this->getRouteThatMatchesUrl($url);
- // store in cache
- if (null !== $this->cache)
- at sfPatternRouting->findRoute('/company/team/show/5')
in SF_ROOT_DIR/lib/vendor/symfony/lib/routing/sfPatternRouting.class.php line 351 ...
- */
- public function parse($url)
- {
- if (false === $info = $this->findRoute($url))
- {
- $this->currentRouteName = null;
- $this->currentInternalUri = array();
- at sfPatternRouting->parse('/company/team/show/5')
in SF_ROOT_DIR/cache/frontend/prod/config/config_factories.yml.php line 96 ...
- 'extra_parameters_as_query_string' => true,
- 'cache' => NULL,
- ))));
- if ($parameters = $this->factories['routing']->parse($this->factories['request']->getPathInfo()))
- {
- $this->factories['request']->addRequestParameters($parameters);
- }
- at require('/home/shell/a15/releases/quick/cache/frontend/prod/config/config_factories.yml.php')
in SF_ROOT_DIR/lib/vendor/symfony/lib/util/sfContext.class.php line 155 ...
- }
- // include the factories configuration
- require($this->configuration->getConfigCache()->checkConfig('config/factories.yml'));
- $this->dispatcher->notify(new sfEvent($this, 'context.load_factories'));
- at sfContext->loadFactories()
in SF_ROOT_DIR/lib/vendor/symfony/lib/util/sfContext.class.php line 77 ...
- try
- {
- $this->loadFactories();
- }
- catch (sfException $e)
- {
- at sfContext->initialize(object('frontendConfiguration'))
in SF_ROOT_DIR/lib/vendor/symfony/lib/util/sfContext.class.php line 60 ...
- throw new sfFactoryException(sprintf('Class "%s" is not of the type sfContext.', $class));
- }
- self::$instances[$name]->initialize($configuration);
- return self::$instances[$name];
- }
- at sfContext::createInstance(object('frontendConfiguration'))
in SF_ROOT_DIR/web/index.php line 16 ...
- // which we're trying to stick with here to help folks see what they expect to see.
- $configuration = ProjectConfiguration::getApplicationConfiguration('frontend', 'prod', true);
- sfContext::createInstance($configuration)->dispatch();
-
symfony settings ...
app_aAdmin_web_dir: /apostrophePlugin
app_aMedia_admin_credential: media_admin
app_aMedia_apikeys:
- dummy
app_aMedia_apipublic: false
app_aMedia_client_apikey: dummy
app_aMedia_embed_codes: true
app_aMedia_upload_credential: media_upload
app_aMedia_use_bundled_layout: false
app_aToolkit_allowed_tags:
- h3
- h4
- h5
- h6
- blockquote
- p
- a
- ul
- ol
- nl
- li
- b
- i
- strong
- em
- strike
- code
- hr
- br
- div
- table
- thead
- caption
- tbody
- tr
- th
- td
- pre
- sub
- sup
app_aToolkit_indexes:
- aPage
- aMediaItem
app_a_addslot_button_style: big
app_a_allowed_slot_variants: null
app_a_default_on: true
app_a_delete_button_style: no-label
app_a_edit_candidate_group: editor
app_a_edit_sufficient_group: admin
app_a_engines:
'': Template-Based
aBlog: Blog
aEvent: Events
aMedia: Media
shellLocation: 'Shell Locations'
people: 'People List'
aContactUs: 'Contact Us'
app_a_extra_admin_buttons:
users: { label: Users, action: aUserAdmin/index, class: a-users }
reorganize: { label: Reorganize, action: a/reorganize, class: a-reorganize }
locations: { label: Locations, action: shellLocationBackend/index, class: shellLocation }
people: { label: People, action: peopleBackend/index, class: People }
app_a_global_button_order:
- media
- users
- reorganize
- locations
- people
app_a_history_button_style: 'no-label big'
app_a_home_as_tab: false
app_a_i18n_languages:
- en
- el
app_a_i18n_switch: true
app_a_login_link: false
app_a_manage_candidate_group: editor
app_a_manage_sufficient_group: admin
app_a_new_slots_top: false
app_a_pretty_english_dates: true
app_a_routes_register: false
app_a_slot_types:
aExImageWithText: 'Image And Text'
aBlog: 'Blog Posts'
aBlogSingle: 'Blog Post'
aEvent: Events
aEventSingle: Event
PageTools: 'Page Tools'
aExShellConverter: 'Shell Converter'
aExGoogleMap: 'Google Map'
shellLocations: 'Locations List'
shellPresentation: 'Shell Presentation'
app_a_slot_variants:
aButton: { normal: { label: Normal }, useTitleAsButtonText: { label: 'Text Over' } }
aSlideshow: { normal: { label: Normal, options: { interval: 0, title: false, arrows: true } }, compact: { label: Compact, options: { interval: 0, title: true, arrows: true, itemTemplate: slideshowItemCompact } }, autoplay: { label: 'Auto Play', options: { interval: 4, title: true, arrows: false, itemTemplate: slideshowItemCompact } } }
app_a_templates:
home: 'Home Page'
default: 'Default Page'
gallery: 'Gallery Page'
converter: 'Converter Page'
title: 'Custom Title Page'
app_a_title_prefix: 'Shell-MOH.com - '
app_a_use_bundled_layout: false
app_a_use_bundled_stylesheet: true
app_a_view_locked_sufficient_credentials: view_locked
app_aimageconverter_path: /opt/local/bin
app_contact_us_email: Angeliki.Filippou@ceg.gr
app_google_maps_api_keys:
default: ABQIAAAAP035srhpMYaZgTkEjaK87xQjp7goUpxtO2Dgh1DcmrhzzheqdxS8qgafhuEimZyYO4ILxfBFCEpHPw
app_sfImageTransformPlugin_default_adapter: GD
app_sfImageTransformPlugin_default_image:
mime_type: image/png
filename: Untitled.png
width: 100
height: 100
color: '#FFFFFF'
app_sfImageTransformPlugin_font_dir: /usr/share/fonts/truetype/msttcorefonts
app_sfImageTransformPlugin_mime_type:
auto_detect: true
library: gd_mime_type
app_sfSyncContent_content:
- web/uploads
- data/a_writable
app_sf_guard_plugin_remember_cookie_name: shellMohRememberMe
sf_admin_module_web_dir: /sfDoctrinePlugin
sf_admin_web_dir: /sf/sf_admin
sf_app: frontend
sf_app_base_cache_dir: /home/shell/a15/releases/quick/cache/frontend
sf_app_cache_dir: /home/shell/a15/releases/quick/cache/frontend/prod
sf_app_config_dir: /home/shell/a15/releases/quick/apps/frontend/config
sf_app_dir: /home/shell/a15/releases/quick/apps/frontend
sf_app_i18n_dir: /home/shell/a15/releases/quick/apps/frontend/i18n
sf_app_lib_dir: /home/shell/a15/releases/quick/apps/frontend/lib
sf_app_module_dir: /home/shell/a15/releases/quick/apps/frontend/modules
sf_app_template_dir: /home/shell/a15/releases/quick/apps/frontend/templates
sf_apps_dir: /home/shell/a15/releases/quick/apps
sf_cache: false
sf_cache_dir: /home/shell/a15/releases/quick/cache
sf_charset: utf-8
sf_check_lock: false
sf_compressed: false
sf_config_cache_dir: /home/shell/a15/releases/quick/cache/frontend/prod/config
sf_config_dir: /home/shell/a15/releases/quick/config
sf_csrf_secret: CHANGEME
sf_data_dir: /home/shell/a15/releases/quick/data
sf_debug: true
sf_default_culture: en
sf_enabled_modules:
- a
- aSync
- aNavigation
- aMedia
- aMediaBackend
- aRichTextSlot
- aTextSlot
- aRawHTMLSlot
- aSlideshowSlot
- aVideoSlot
- aImageSlot
- aButtonSlot
- aPDFSlot
- aFeedSlot
- sfGuardAuth
- aUserAdmin
- aGroupAdmin
- aPermissionAdmin
- sfGuardPermission
- taggableComplete
- aNavigation
- default
- aBlog
- aBlogAdmin
- aBlogCategoryAdmin
- aBlogSingleSlot
- aBlogSlot
- aEvent
- aEventAdmin
- aEventCategoryAdmin
- aEventSingleSlot
- aEventSlot
- aAdmin
- aExPageTools
- srPageChooser
- PageToolsSlot
- aExShellConverterSlot
- sfEasyGMapPlugin
- aExGoogleMapSlot
- aExImageWithTextSlot
- aContactUs
- shellLocationsSlot
sf_environment: prod
sf_error_404_action: error404
sf_error_404_module: a
sf_error_reporting: 341
sf_escaping_method: ESC_SPECIALCHARS
sf_escaping_strategy: false
sf_etag: true
sf_file_link_format: null
sf_i18n: on
sf_i18n_cache_dir: /home/shell/a15/releases/quick/cache/frontend/prod/i18n
sf_jquery_autocomplete: jquery.autocomplete.min.js
sf_jquery_core: jquery-1.3.2.min.js
sf_jquery_path: null
sf_jquery_plugin_paths: null
sf_jquery_ui: jquery-ui-1.7.3.custom.min.js
sf_jquery_ui_css: ui-apostrophe/jquery-ui-1.7.3.custom.css
sf_jquery_web_dir: /apostrophePlugin
sf_lib_dir: /home/shell/a15/releases/quick/lib
sf_log_dir: /home/shell/a15/releases/quick/log
sf_logging_enabled: true
sf_login_action: signin
sf_login_module: sfGuardAuth
sf_module_cache_dir: /home/shell/a15/releases/quick/cache/frontend/prod/modules
sf_module_disabled_action: disabled
sf_module_disabled_module: default
sf_no_script_name: true
sf_orm: doctrine
sf_phplist_admin_auth_module: phplist_auth_symfony.inc
sf_phplist_adminpages: /lists/admin
sf_phplist_bounce_mailbox_host: cpanel.existanze.gr
sf_phplist_bounce_mailbox_password: '!gt-41+$'
sf_phplist_bounce_mailbox_port: 110/pop3/notls
sf_phplist_bounce_mailbox_user: gtsouk@existanze.com
sf_phplist_bounce_protocol: pop
sf_phplist_db_host: localhost
sf_phplist_db_name: shell_dev
sf_phplist_db_password: 1234
sf_phplist_db_user: shell_dev
sf_phplist_pageroot: /lists
sf_phplist_smtp_host: cpanel.existanze.gr
sf_phplist_smtp_password: '!gt-41+$'
sf_phplist_smtp_user: gtsouk@existanze.com
sf_plugins_dir: /home/shell/a15/releases/quick/plugins
sf_rich_text_fck_js_dir: js/fckeditor
sf_root_dir: /home/shell/a15/releases/quick
sf_secure_action: secure
sf_secure_module: a
sf_standard_helpers:
- Partial
- Cache
- I18N
sf_symfony_lib_dir: /home/shell/a15/releases/quick/lib/vendor/symfony/lib
sf_template_cache_dir: /home/shell/a15/releases/quick/cache/frontend/prod/template
sf_test_cache_dir: /home/shell/a15/releases/quick/cache/frontend/prod/test
sf_test_dir: /home/shell/a15/releases/quick/test
sf_upload_dir: /home/shell/a15/releases/quick/web/uploads
sf_use_database: true
sf_web_debug: false
sf_web_debug_web_dir: /sf/sf_web_debug
sf_web_dir: /home/shell/a15/releases/quick/web
request ...
options:
path_info_key: PATH_INFO
path_info_array: SERVER
http_port: null
https_port: null
default_format: null
logging: '1'
relative_url_root: null
formats: { txt: text/plain, js: [application/javascript, application/x-javascript, text/javascript], css: text/css, json: [application/json, application/x-json], xml: [text/xml, application/xml, application/x-xml], rdf: application/rdf+xml, atom: application/atom+xml }
no_script_name: true
parameterHolder: { }
attributeHolder: { }
response ...
status:
code: 500
text: 'Internal Server Error'
options:
http_protocol: HTTP/1.1
logging: '1'
charset: utf-8
send_http_headers: true
content_type: 'text/html; charset=utf-8'
cookies: { }
httpHeaders:
Content-Type: 'text/html; charset=utf-8'
javascripts: { }
stylesheets: { }
metas: { }
httpMetas: { }
global vars ...
cookie: { }
env: { }
files: { }
get: { }
post: { }
server:
CONTEXT_DOCUMENT_ROOT: /usr/local/cpanel/cgi-sys/
CONTEXT_PREFIX: /cgi-sys
DOCUMENT_ROOT: /home/shell/public_html
GATEWAY_INTERFACE: CGI/1.1
HTTPS: on
HTTP_ACCEPT: '*/*'
HTTP_HOST: shell-moh.com
HTTP_USER_AGENT: claudebot
HTTP_X_HTTPS: '1'
ORIG_PATH_INFO: /index.php
ORIG_PATH_TRANSLATED: /home/shell/public_html/index.php
ORIG_SCRIPT_FILENAME: /usr/local/cpanel/cgi-sys/ea-php56
ORIG_SCRIPT_NAME: /cgi-sys/ea-php56
PATH: '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin'
PHP_SELF: /index.php
QUERY_STRING: ''
REDIRECT_HANDLER: application/x-httpd-ea-php56
REDIRECT_HTTPS: on
REDIRECT_REDIRECT_HTTPS: on
REDIRECT_REDIRECT_SCRIPT_URI: 'https://shell-moh.com/company/team/show/5'
REDIRECT_REDIRECT_SCRIPT_URL: /company/team/show/5
REDIRECT_REDIRECT_SSL_TLS_SNI: shell-moh.com
REDIRECT_REDIRECT_STATUS: '200'
REDIRECT_REDIRECT_UNIQUE_ID: ZgZNAFg0eOn3yAgMZjCwrwAAAFE
REDIRECT_SCRIPT_URI: 'https://shell-moh.com/company/team/show/5'
REDIRECT_SCRIPT_URL: /company/team/show/5
REDIRECT_SSL_TLS_SNI: shell-moh.com
REDIRECT_STATUS: '200'
REDIRECT_UNIQUE_ID: ZgZNAFg0eOn3yAgMZjCwrwAAAFE
REDIRECT_URL: /index.php
REMOTE_ADDR: 3.238.86.122
REMOTE_PORT: '55274'
REQUEST_METHOD: GET
REQUEST_SCHEME: https
REQUEST_TIME: 1711688960
REQUEST_TIME_FLOAT: 1711688960.5808
REQUEST_URI: /company/team/show/5
SCRIPT_FILENAME: /home/shell/public_html/index.php
SCRIPT_NAME: /index.php
SCRIPT_URI: 'https://shell-moh.com/company/team/show/5'
SCRIPT_URL: /company/team/show/5
SERVER_ADDR: 88.99.0.70
SERVER_ADMIN: webmaster@shell-moh.com
SERVER_NAME: shell-moh.com
SERVER_PORT: '443'
SERVER_PROTOCOL: HTTP/1.1
SERVER_SIGNATURE: ''
SERVER_SOFTWARE: Apache
SSL_TLS_SNI: shell-moh.com
TZ: Europe/Athens
UNIQUE_ID: ZgZNAFg0eOn3yAgMZjCwrwAAAFE
argc: 0
argv: { }