500 | Internal Server Error | PropelException
Unable to open PDO connection [wrapped: SQLSTATE[HY000] [2002] No such file or directory]
stack trace
- at ()
in SF_ROOT_DIR/lib/symfony1.2/plugins/sfPropelPlugin/lib/vendor/propel/Propel.php line 610 ...
- $con = new $classname($dsn, $user, $password, $driver_options);
- $con->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
- } catch (PDOException $e) {
- throw new PropelException("Unable to open PDO connection", $e);
- }
- // load any connection options from the config file
- at Propel::initConnection(array('dsn' => 'mysql:dbname=finconsul_db;host=localhost', 'user' => 'finconsul_user', 'password' => 'OYQLUYhk', 'classname' => 'PropelPDO', 'options' => array('ATTR_PERSISTENT' => 1), 'settings' => array('charset' => array('value' => 'utf8'), 'queries' => array())), 'propel')
in SF_ROOT_DIR/lib/symfony1.2/plugins/sfPropelPlugin/lib/vendor/propel/Propel.php line 523 ...
- throw new PropelException('No connection information in your runtime configuration file for datasource ['.$name.']');
- }
- // initialize master connection
- $con = Propel::initConnection($conparams, $name);
- self::$connectionMap[$name]['master'] = $con;
- }
- at Propel::getConnection('propel', 'write')
in SF_ROOT_DIR/lib/symfony1.2/plugins/sfPropelPlugin/lib/vendor/propel/Propel.php line 538 ...
- if (empty($slaveconfigs)) { // no slaves configured for this datasource
- self::$connectionMap[$name]['slave'] = false;
- return self::getConnection($name, Propel::CONNECTION_WRITE); // Recurse to get the WRITE connection
- } else { // Initialize a new slave
- if (isset($slaveconfigs['connection']['dsn'])) { // only one slave connection configured
- $conparams = $slaveconfigs['connection'];
- at Propel::getConnection('propel', 'read')
in SF_ROOT_DIR/lib/model/om/BaseArticlePeer.php line 838 ...
- }
- if ($con === null) {
- $con = Propel::getConnection(ArticlePeer::DATABASE_NAME, Propel::CONNECTION_READ);
- }
- $criteria = new Criteria(ArticlePeer::DATABASE_NAME);
- at BaseArticlePeer::retrieveByPK('142')
in SF_ROOT_DIR/apps/frontend/modules/article/actions/actions.class.php line 17 ...
- public function executeView($request)
- {
- $this->setLayout('dynamic_page');
- $this->article = ArticlePeer::retrieveByPk($request->getParameter('id'));
- $this->forward404Unless($this->article);
-
- $this->getResponse()->setTitle($this->article->getTitle());
- at articleActions->executeView(object('sfWebRequest'))
in SF_ROOT_DIR/lib/symfony1.2/action/sfActions.class.php line 60 ...
- }
- // run action
- return $this->$actionToRun($request);
- }
- }
-
- at sfActions->execute(object('sfWebRequest'))
in SF_ROOT_DIR/lib/symfony1.2/filter/sfExecutionFilter.class.php line 90 ...
- {
- // execute the action
- $actionInstance->preExecute();
- $viewName = $actionInstance->execute($this->context->getRequest());
- $actionInstance->postExecute();
- return is_null($viewName) ? sfView::SUCCESS : $viewName;
- at sfExecutionFilter->executeAction(object('articleActions'))
in SF_ROOT_DIR/lib/symfony1.2/filter/sfExecutionFilter.class.php line 76 ...
- return sfView::SUCCESS;
- }
- return $this->executeAction($actionInstance);
- }
- /**
- at sfExecutionFilter->handleAction(object('sfFilterChain'), object('articleActions'))
in SF_ROOT_DIR/lib/symfony1.2/filter/sfExecutionFilter.class.php line 53 ...
- }
- else
- {
- $viewName = $this->handleAction($filterChain, $actionInstance);
- $this->handleView($filterChain, $actionInstance, $viewName);
- }
- }
- at sfExecutionFilter->execute(object('sfFilterChain'))
in SF_ROOT_DIR/lib/symfony1.2/filter/sfFilterChain.class.php line 53 ...
- }
- // execute the next filter
- $this->chain[$this->index]->execute($this);
- }
- }
- at sfFilterChain->execute()
in SF_ROOT_DIR/lib/symfony1.2/filter/sfCommonFilter.class.php line 29 ...
- public function execute($filterChain)
- {
- // execute next filter
- $filterChain->execute();
- // execute this filter only once
- $response = $this->context->getResponse();
- at sfCommonFilter->execute(object('sfFilterChain'))
in SF_ROOT_DIR/lib/symfony1.2/filter/sfFilterChain.class.php line 53 ...
- }
- // execute the next filter
- $this->chain[$this->index]->execute($this);
- }
- }
- at sfFilterChain->execute()
in SF_ROOT_DIR/apps/frontend/lib/cultureFilter.php line 16 ...
- $user->setCulture('uk');
- }
- }
- $filterChain->execute();
- }
- }
- at cultureFilter->execute(object('sfFilterChain'))
in SF_ROOT_DIR/lib/symfony1.2/filter/sfFilterChain.class.php line 53 ...
- }
- // execute the next filter
- $this->chain[$this->index]->execute($this);
- }
- }
- at sfFilterChain->execute()
in SF_ROOT_DIR/lib/symfony1.2/filter/sfRenderingFilter.class.php line 33 ...
- public function execute($filterChain)
- {
- // execute next filter
- $filterChain->execute();
- // get response object
- $response = $this->context->getResponse();
- at sfRenderingFilter->execute(object('sfFilterChain'))
in SF_ROOT_DIR/lib/symfony1.2/filter/sfFilterChain.class.php line 53 ...
- }
- // execute the next filter
- $this->chain[$this->index]->execute($this);
- }
- }
- at sfFilterChain->execute()
in SF_ROOT_DIR/lib/symfony1.2/controller/sfController.class.php line 245 ...
- }
- // process the filter chain
- $filterChain->execute();
- }
- else
- {
- at sfController->forward('article', 'view')
in SF_ROOT_DIR/lib/symfony1.2/controller/sfFrontWebController.class.php line 48 ...
- }
- // make the first request
- $this->forward($moduleName, $actionName);
- }
- catch (sfException $e)
- {
- at sfFrontWebController->dispatch()
in SF_ROOT_DIR/lib/symfony1.2/util/sfContext.class.php line 159 ...
- */
- public function dispatch()
- {
- $this->getController()->dispatch();
- }
- /**
- at sfContext->dispatch()
in /mnt/mgfs/www/finconsul.net/data/www/finconsul.net/index.php line 15 ...
- //require_once('/home/financie/domains/investcentre.net/public_html/sf_projects/financier/config/ProjectConfiguration.class.php');
- $configuration = ProjectConfiguration::getApplicationConfiguration('frontend', 'prod', true);
- sfContext::createInstance($configuration)->dispatch();
-
symfony settings ...
app_adminmail: info@finconsul.net
app_password: log157
app_sitemail: info@finconsul.net
app_username: admin
mod_article_enabled: true
mod_article_is_internal: false
mod_article_view_class: sfPHP
sf_admin_module_web_dir: /sfPropelPlugin
sf_admin_web_dir: /sf/sf_admin
sf_app: frontend
sf_app_base_cache_dir: /mnt/mgfs/www/finconsul.net/data/www/finconsul.net/symfony_lib/cache/frontend
sf_app_cache_dir: /mnt/mgfs/www/finconsul.net/data/www/finconsul.net/symfony_lib/cache/frontend/prod
sf_app_config_dir: /mnt/mgfs/www/finconsul.net/data/www/finconsul.net/symfony_lib/apps/frontend/config
sf_app_dir: /mnt/mgfs/www/finconsul.net/data/www/finconsul.net/symfony_lib/apps/frontend
sf_app_i18n_dir: /mnt/mgfs/www/finconsul.net/data/www/finconsul.net/symfony_lib/apps/frontend/i18n
sf_app_lib_dir: /mnt/mgfs/www/finconsul.net/data/www/finconsul.net/symfony_lib/apps/frontend/lib
sf_app_module_dir: /mnt/mgfs/www/finconsul.net/data/www/finconsul.net/symfony_lib/apps/frontend/modules
sf_app_template_dir: /mnt/mgfs/www/finconsul.net/data/www/finconsul.net/symfony_lib/apps/frontend/templates
sf_apps_dir: /mnt/mgfs/www/finconsul.net/data/www/finconsul.net/symfony_lib/apps
sf_cache: false
sf_cache_dir: /mnt/mgfs/www/finconsul.net/data/www/finconsul.net/symfony_lib/cache
sf_calendar_web_dir: /sf/calendar
sf_charset: utf-8
sf_check_lock: false
sf_check_symfony_version: false
sf_compressed: false
sf_config_cache_dir: /mnt/mgfs/www/finconsul.net/data/www/finconsul.net/symfony_lib/cache/frontend/prod/config
sf_config_dir: /mnt/mgfs/www/finconsul.net/data/www/finconsul.net/symfony_lib/config
sf_csrf_secret: false
sf_data_dir: /mnt/mgfs/www/finconsul.net/data/www/finconsul.net/symfony_lib/data
sf_debug: true
sf_default_culture: uk
sf_doc_dir: /mnt/mgfs/www/finconsul.net/data/www/finconsul.net/symfony_lib/doc
sf_enabled_modules:
- default
sf_environment: prod
sf_error_404_action: error404
sf_error_404_module: page
sf_error_reporting: 341
sf_escaping_method: ESC_SPECIALCHARS
sf_escaping_strategy: false
sf_etag: true
sf_i18n: true
sf_i18n_cache_dir: /mnt/mgfs/www/finconsul.net/data/www/finconsul.net/symfony_lib/cache/frontend/prod/i18n
sf_lazy_cache_key: false
sf_lib_dir: /mnt/mgfs/www/finconsul.net/data/www/finconsul.net/symfony_lib/lib
sf_log_dir: /mnt/mgfs/www/finconsul.net/data/www/finconsul.net/symfony_lib/log
sf_logging_enabled: false
sf_login_action: login
sf_login_module: security
sf_max_forwards: 5
sf_module_cache_dir: /mnt/mgfs/www/finconsul.net/data/www/finconsul.net/symfony_lib/cache/frontend/prod/modules
sf_module_disabled_action: disabled
sf_module_disabled_module: default
sf_no_script_name: true
sf_orm: propel
sf_plugins_dir: /mnt/mgfs/www/finconsul.net/data/www/finconsul.net/symfony_lib/plugins
sf_prototype_web_dir: /sfProtoculousPlugin
sf_rich_text_js_dir: js/tiny_mce
sf_root_dir: /mnt/mgfs/www/finconsul.net/data/www/finconsul.net/symfony_lib
sf_secure_action: secure
sf_secure_module: default
sf_standard_helpers:
- Global
- I18N
- Partial
- Cache
- Form
sf_strip_comments: true
sf_symfony_lib_dir: /mnt/mgfs/www/finconsul.net/data/www/finconsul.net/symfony_lib/lib/symfony1.2
sf_template_cache_dir: /mnt/mgfs/www/finconsul.net/data/www/finconsul.net/symfony_lib/cache/frontend/prod/template
sf_test_cache_dir: /mnt/mgfs/www/finconsul.net/data/www/finconsul.net/symfony_lib/cache/frontend/prod/test
sf_test_dir: /mnt/mgfs/www/finconsul.net/data/www/finconsul.net/symfony_lib/test
sf_upload_dir: ./data/www/finconsul.net/uploads
sf_use_database: true
sf_validation_error_class: form_error
sf_validation_error_id_prefix: error_for_
sf_validation_error_prefix: ' ↓ '
sf_validation_error_suffix: ' ↓'
sf_web_debug: false
sf_web_debug_web_dir: /sf/sf_web_debug
sf_web_dir: ./data/www/finconsul.net
symfony.view.article_view_layout: dynamic_page
request ...
parameterHolder:
action: view
id: '142'
module: article
attributeHolder:
sf_route: 'sfRoute Object()'
response ...
options:
http_protocol: HTTP/1.1
logging: ''
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: { }
options:
auto_shutdown: false
culture: null
default_culture: uk
use_flash: true
logging: ''
timeout: 1800
attributeHolder: { }
culture: uk
global vars ...
cookie: { }
env: { }
files: { }
get: { }
post: { }
server:
DOCUMENT_ROOT: /mnt/mgfs/www/finconsul.net/data/www/finconsul.net/
GATEWAY_INTERFACE: CGI/1.1
HTTP_ACCEPT: '*/*'
HTTP_HOST: finconsul.net
HTTP_USER_AGENT: claudebot
PATH: '/usr/local/bin:/usr/bin:/bin'
PHP_SELF: /index.php
QUERY_STRING: ''
REDIRECT_STATUS: '200'
REDIRECT_URL: /analytics/142
REMOTE_ADDR: 192.168.0.1
REMOTE_PORT: '33102'
REQUEST_METHOD: GET
REQUEST_TIME: 1711666521
REQUEST_URI: /analytics/142
SCRIPT_FILENAME: /mnt/mgfs/www/finconsul.net/data/www/finconsul.net/index.php
SCRIPT_NAME: /index.php
SERVER_ADDR: 192.168.0.14
SERVER_ADMIN: mshvets@gmail.com
SERVER_NAME: finconsul.net
SERVER_PORT: '80'
SERVER_PROTOCOL: HTTP/1.1
SERVER_SIGNATURE: "<address>Apache/2.2.16 (Debian) Server at finconsul.net Port 80</address>\n"
SERVER_SOFTWARE: 'Apache/2.2.16 (Debian)'
session: { }