500 | Internal Server Error | Doctrine_Connection_Exception
PDO Connection Error: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
stack trace
- at ()
in SF_SYMFONY_LIB_DIR/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_SYMFONY_LIB_DIR/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_SYMFONY_LIB_DIR/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Connection.php line 910 ...
- */
- public function prepare($statement)
- {
- $this->connect();
- try {
- $event = new Doctrine_Event($this, Doctrine_Event::CONN_PREPARE, $statement);
- at Doctrine_Connection->prepare('SELECT s.name, t.value FROM dm_setting s LEFT JOIN dm_setting_translation t ON t.id=s.id AND t.lang = ?')
in /usr/src/diem-5.1.3/dmCorePlugin/lib/doctrine/database/dmDb.php line 56 ...
- {
- $conn = null === $conn ? Doctrine_Manager::getInstance()->getCurrentConnection() : $conn;
-
- $stmt = $conn->prepare($query)->getStatement();
- $stmt->execute($values);
-
- return $stmt;
- at dmDb::pdo('SELECT s.name, t.value FROM dm_setting s LEFT JOIN dm_setting_translation t ON t.id=s.id AND t.lang = ?', array('en'))
in /usr/src/diem-5.1.3/dmCorePlugin/lib/config/dmConfig.php line 148 ...
- if(self::$culture == sfConfig::get('sf_default_culture'))
- {
- $results = dmDb::pdo('SELECT s.name, t.value FROM dm_setting s LEFT JOIN dm_setting_translation t ON t.id=s.id AND t.lang = ?',
- array(self::$culture))->fetchAll(PDO::FETCH_NUM);
- }
- else
- {
- at dmConfig::load()
in /usr/src/diem-5.1.3/dmCorePlugin/lib/config/dmConfig.php line 125 ...
- if (self::$culture != $event['culture'])
- {
- self::$culture = $event['culture'];
- self::load();
- }
- }
- at dmConfig::listenToChangeCultureEvent(object('sfEvent'))
in n/a line n/a ...
- at call_user_func(array('dmConfig', 'listenToChangeCultureEvent'), object('sfEvent'))
in SF_SYMFONY_LIB_DIR/event_dispatcher/sfEventDispatcher.php line 79 ...
- {
- foreach ($this->getListeners($event->getName()) as $listener)
- {
- call_user_func($listener, $event);
- }
- return $event;
- at sfEventDispatcher->notify(object('sfEvent'))
in SF_SYMFONY_LIB_DIR/user/sfUser.class.php line 141 ...
- {
- $this->culture = $culture;
- $this->dispatcher->notify(new sfEvent($this, 'user.change_culture', array('culture' => $culture)));
- }
- }
- at sfUser->setCulture('en')
in SF_SYMFONY_LIB_DIR/user/sfUser.class.php line 103 ...
- // - use the culture defined in the user session
- // - use the default culture set in settings.yml
- $currentCulture = $storage->read(self::CULTURE_NAMESPACE);
- $this->setCulture(null !== $this->options['culture'] ? $this->options['culture'] : (null !== $currentCulture ? $currentCulture : $this->options['default_culture']));
- // flag current flash to be removed at shutdown
- if ($this->options['use_flash'] && $names = $this->attributeHolder->getNames('symfony/user/sfUser/flash'))
- at sfUser->initialize(object('sfEventDispatcher'), object('sfSessionStorage'), array('auto_shutdown' => , 'culture' => null, 'timeout' => 1800, 'logging' => '1', 'use_flash' => 1, 'default_culture' => 'en'))
in SF_SYMFONY_LIB_DIR/user/sfBasicSecurityUser.class.php line 247 ...
- public function initialize(sfEventDispatcher $dispatcher, sfStorage $storage, $options = array())
- {
- // initialize parent
- parent::initialize($dispatcher, $storage, $options);
- if (!array_key_exists('timeout', $this->options))
- {
- at sfBasicSecurityUser->initialize(object('sfEventDispatcher'), object('sfSessionStorage'), array('auto_shutdown' => , 'culture' => null, 'timeout' => 1800, 'logging' => '1', 'use_flash' => 1, 'default_culture' => 'en'))
in /usr/src/diem-5.1.3/dmCorePlugin/plugins/dmUserPlugin/lib/user/dmSecurityUser.class.php line 18 ...
- */
- public function initialize(sfEventDispatcher $dispatcher, sfStorage $storage, $options = array())
- {
- parent::initialize($dispatcher, $storage, $options);
- if (!$this->isAuthenticated())
- {
- at dmSecurityUser->initialize(object('sfEventDispatcher'), object('sfSessionStorage'), array('auto_shutdown' => , 'culture' => null, 'timeout' => 1800, 'logging' => '1', 'use_flash' => 1, 'default_culture' => 'en'))
in SF_SYMFONY_LIB_DIR/user/sfUser.class.php line 48 ...
- */
- public function __construct(sfEventDispatcher $dispatcher, sfStorage $storage, $options = array())
- {
- $this->initialize($dispatcher, $storage, $options);
- if ($this->options['auto_shutdown'])
- {
- at sfUser->__construct(object('sfEventDispatcher'), object('sfSessionStorage'), array('auto_shutdown' => , 'culture' => null, 'timeout' => 1800, 'logging' => '1', 'use_flash' => 1, 'default_culture' => 'en'))
in SF_ROOT_DIR/cache/front/dev/config/config_factories.yml.php line 129 ...
- 'logging' => '1',
- 'use_flash' => true,
- 'default_culture' => 'en',
- ))));
- if (sfConfig::get('sf_cache'))
- {
- at require('/home/techflex/diemSite/cache/front/dev/config/config_factories.yml.php')
in SF_SYMFONY_LIB_DIR/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 /usr/src/diem-5.1.3/dmCorePlugin/lib/context/dmContext.php line 100 ...
- {
- $this->reloadModuleManager();
- parent::loadFactories();
- $this->factories['response']->setIsHtmlForHuman(
- !dmConfig::isCli()
- at dmContext->loadFactories()
in SF_SYMFONY_LIB_DIR/util/sfContext.class.php line 77 ...
- try
- {
- $this->loadFactories();
- }
- catch (sfException $e)
- {
- at sfContext->initialize(object('frontConfiguration'))
in /usr/src/diem-5.1.3/dmCorePlugin/lib/context/dmContext.php line 33 ...
- {
- $this->checkProjectIsSetup();
- parent::initialize($configuration);
- sfConfig::set('dm_debug', $this->getRequest()->getParameter('dm_debug', false));
- at dmContext->initialize(object('frontConfiguration'))
in SF_SYMFONY_LIB_DIR/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('frontConfiguration'), null, 'dmContext')
in /usr/src/diem-5.1.3/dmCorePlugin/lib/context/dmContext.php line 21 ...
- */
- public static function createInstance(sfApplicationConfiguration $configuration, $name = null, $class = __CLASS__)
- {
- return parent::createInstance($configuration, $name, $class);
- }
- /**
- at dmContext::createInstance(object('frontConfiguration'), null, 'dmContext')
in /usr/src/diem-5.1.3/dmCorePlugin/lib/core/dmBase.php line 69 ...
- */
- public static function createContext(sfApplicationConfiguration $configuration, $name = null, $class = 'dmContext')
- {
- return dmContext::createInstance($configuration, $name, $class);
- }
-
- public static function checkServer()
- at dmBase::createContext(object('frontConfiguration'))
in /home/techflex/public_html/dev.php line 7 ...
- $configuration = ProjectConfiguration::getApplicationConfiguration('front', 'dev', true);
- dm::createContext($configuration)->dispatch();
symfony settings ...
app_dmTagPlugin_fcbkcomplete:
newel: true
filter_case: false
filter_hide: false
maxshownitems: 30
maxitems: null
firstselected: false
complete_text: 'Start to type...'
app_recaptcha_enabled: true
app_recaptcha_private_key: 6LfAegoAAAAAAKgRXQlmyk4yR-1V8RBD1xnwbBYW
app_recaptcha_public_key: 6LfAegoAAAAAAJlVYOQheLCs4fKuvY9w_SqQ0cpn
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: false
library: gd_mime_type
dm_accessibility_image_empty_alts: true
dm_admin_asset: dmAdminPlugin
dm_backup_enabled: true
dm_cache_apc: false
dm_cache_dir: /home/techflex/diemSite/cache/dm
dm_context_type: front
dm_core_asset: dmCorePlugin
dm_core_dir: /usr/src/diem-5.1.3/dmCorePlugin
dm_css_compress: false
dm_data_dir: /home/techflex/diemSite/data/dm
dm_front_asset: dmFrontPlugin
dm_front_dir: /usr/src/diem-5.1.3/dmFrontPlugin
dm_html_doctype:
name: html
version: 5
compliance: transitional
dm_i18n_catalogue: front
dm_i18n_cultures:
- en
dm_js_cdn:
enabled: false
lib.jquery: 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js'
dm_js_compress: true
dm_js_head_inclusion:
- lib.jquery
dm_locks_enabled: false
dm_locks_timeout: 10
dm_mediaBar_enabled: true
dm_media_default: false
dm_orm_cache_enabled: false
dm_orm_identifier_fields:
- name
- title
- subject
- author
- id
dm_pageBar_enabled: true
dm_performance_enable_mailer: false
dm_performance_page_cache:
enabled: false
life_time: 86400
dm_security_remember_cookie_name: null
dm_security_remember_key_expiration_age: null
dm_seo_truncate:
slug: 255
name: 255
title: 80
h1: 255
description: 160
keywords: 255
dm_seo_use_keywords: true
dm_service_container_base_class: dmFrontBaseServiceContainer
dm_string_transliteration:
¥: Y
µ: u
À: A
Á: A
Â: A
Ã: A
Ä: A
Å: A
Æ: A
Ç: C
È: E
É: E
Ê: E
Ë: E
Ì: I
Í: I
Î: I
Ï: I
Ð: D
Ñ: N
Ò: O
Ó: O
Ô: O
Õ: O
Ö: O
Ø: O
Ù: U
Ú: U
Û: U
Ü: U
Ý: Y
ß: ss
à: a
á: a
â: a
ã: a
ä: a
å: a
æ: a
ç: c
è: e
é: e
ê: e
ë: e
ì: i
í: i
î: i
ï: i
ð: o
ñ: n
ò: o
ó: o
ô: o
õ: o
ö: o
ø: o
ù: u
ú: u
û: u
ü: u
ý: y
ÿ: y
œ: oe
dm_talk_ajax_refresh_delay: 2000
dm_theming_themes:
coolwater: { name: 'Cool Water', dir: themeCoolWater, enabled: true }
dm_toolBar_flavour: blue
dm_web_debug_config_fast_dump: true
dm_web_debug_only_html_response: true
dm_web_services_report_anonymous_data: true
dm_web_services_version_check: true
doctrine_model_builder_options:
generateTableClasses: true
baseClassName: myDoctrineRecord
baseTableClassName: myDoctrineTable
suffix: .class.php
sf_admin_module_web_dir: /sfDoctrinePlugin
sf_admin_web_dir: /sf/sf_admin
sf_app: front
sf_app_base_cache_dir: /home/techflex/diemSite/cache/front
sf_app_cache_dir: /home/techflex/diemSite/cache/front/dev
sf_app_config_dir: /home/techflex/diemSite/apps/front/config
sf_app_dir: /home/techflex/diemSite/apps/front
sf_app_i18n_dir: /home/techflex/diemSite/apps/front/i18n
sf_app_lib_dir: /home/techflex/diemSite/apps/front/lib
sf_app_module_dir: /home/techflex/diemSite/apps/front/modules
sf_app_template_dir: /home/techflex/diemSite/apps/front/templates
sf_apps_dir: /home/techflex/diemSite/apps
sf_cache: false
sf_cache_dir: /home/techflex/diemSite/cache
sf_charset: utf-8
sf_check_lock: false
sf_compressed: false
sf_config_cache_dir: /home/techflex/diemSite/cache/front/dev/config
sf_config_dir: /home/techflex/diemSite/config
sf_csrf_secret: c72e74e674ceeec2ed027933f11b9f984e9be22d
sf_data_dir: /home/techflex/diemSite/data
sf_debug: true
sf_default_culture: en
sf_enabled_modules:
- dmCodeEditor
- dmFront
- dmInterface
- dmPage
- dmWidget
- dmZone
- dmComment
- dmContact
- dmTag
- dmTalkRoom
- dmWidgetGalleryGrid
- dmWidgetGallery
- dmUser
- dmCore
- dmAuth
sf_environment: dev
sf_error_404_action: error404
sf_error_404_module: dmFront
sf_error_reporting: 32767
sf_escaping_method: ESC_SPECIALCHARS
sf_escaping_strategy: false
sf_etag: false
sf_file_link_format: null
sf_i18n: true
sf_i18n_cache_dir: /home/techflex/diemSite/cache/front/dev/i18n
sf_lib_dir: /home/techflex/diemSite/lib
sf_log_dir: /home/techflex/diemSite/log
sf_logging_enabled: true
sf_login_action: signin
sf_login_module: dmUser
sf_module_cache_dir: /home/techflex/diemSite/cache/front/dev/modules
sf_module_disabled_action: disabled
sf_module_disabled_module: default
sf_no_script_name: false
sf_orm: doctrine
sf_plugins_dir: /home/techflex/diemSite/plugins
sf_root_dir: /home/techflex/diemSite
sf_secure_action: secure
sf_secure_module: dmUser
sf_standard_helpers:
0: Dm
1: DmFront
2: Partial
3: I18N
5: Cache
6: DmAlternative
sf_symfony_lib_dir: /usr/src/diem-5.1.3/symfony/lib
sf_template_cache_dir: /home/techflex/diemSite/cache/front/dev/template
sf_test_cache_dir: /home/techflex/diemSite/cache/front/dev/test
sf_test_dir: /home/techflex/diemSite/test
sf_upload_dir: /home/techflex/diemSite/public_html/uploads
sf_upload_dir_name: uploads
sf_use_database: true
sf_web_debug: true
sf_web_debug_web_dir: /sf/sf_web_debug
sf_web_dir: /home/techflex/diemSite/public_html
request ...
options:
path_info_key: PATH_INFO
path_info_array: SERVER
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: false
parameterHolder:
action: page
module: dmFront
slug: techflex-braided-sleeving-products/distributors
attributeHolder:
sf_route: 'sfRoute Object()'
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:
APACHE_LOCK_DIR: /var/lock/apache2
APACHE_LOG_DIR: /var/log/apache2
APACHE_PID_FILE: /var/run/apache2.pid
APACHE_RUN_DIR: /var/run/apache2
APACHE_RUN_GROUP: www-data
APACHE_RUN_USER: www-data
LANG: C
PATH: '/usr/local/bin:/usr/bin:/bin'
PWD: /root
files: { }
get: { }
post: { }
server:
DOCUMENT_ROOT: /home/techflex/public_html
GATEWAY_INTERFACE: CGI/1.1
HTTPS: on
HTTP_ACCEPT: '*/*'
HTTP_ACCEPT_ENCODING: 'gzip, br, zstd, deflate'
HTTP_HOST: techflex.com.au
HTTP_USER_AGENT: 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)'
PATH: '/usr/local/bin:/usr/bin:/bin'
PATH_INFO: /techflex-braided-sleeving-products/distributors
PATH_TRANSLATED: 'redirect:/index.php/distributors'
PHP_SELF: /dev.php/techflex-braided-sleeving-products/distributors
QUERY_STRING: ''
REMOTE_ADDR: 216.73.216.153
REMOTE_PORT: '21608'
REQUEST_METHOD: GET
REQUEST_TIME: 1767395287
REQUEST_TIME_FLOAT: 1767395287.6
REQUEST_URI: /dev.php/techflex-braided-sleeving-products/distributors
SCRIPT_FILENAME: /home/techflex/public_html/dev.php
SCRIPT_NAME: /dev.php
SERVER_ADDR: 202.1.118.247
SERVER_ADMIN: admin@atu.net.au
SERVER_NAME: techflex.com.au
SERVER_PORT: '443'
SERVER_PROTOCOL: HTTP/1.1
SERVER_SIGNATURE: "<address>Apache/2.2.22 (Debian) Server at techflex.com.au Port 443</address>\n"
SERVER_SOFTWARE: 'Apache/2.2.22 (Debian)'
SSL_TLS_SNI: techflex.com.au
argc: 0
argv: { }
session: { }