500 | Internal Server Error | Doctrine_Connection_Exception
PDO Connection Error: SQLSTATE[HY000] [2002] No such file or directory
stack trace
- at ()
in SF_ROOT_DIR/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Connection.php line 471 ...
- $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 1009 ...
- */
- public function execute($query, array $params = array())
- {
- $this->connect();
- try {
- if ( ! empty($params)) {
- at Doctrine_Connection->execute('SELECT t.id AS t__id, t.email AS t__email, t.password AS t__password, t.url_key AS t__url_key, t.is_public AS t__is_public, t.background AS t__background, t.icon AS t__icon, t.ticker_type AS t__ticker_type, t.ticker_unit AS t__ticker_unit, t.ticker_start_date AS t__ticker_start_date, t.waist_start AS t__waist_start, t.waist_target AS t__waist_target, t.waist_current AS t__waist_current, t.waist_start_float AS t__waist_start_float, t.waist_target_float AS t__waist_target_float, t.waist_current_float AS t__waist_current_float, t.weight_start AS t__weight_start, t.weight_target AS t__weight_target, t.weight_current AS t__weight_current, t.weight_start_float AS t__weight_start_float, t.weight_target_float AS t__weight_target_float, t.weight_current_float AS t__weight_current_float, t.height AS t__height, t.height_float AS t__height_float, t.height_unit AS t__height_unit, t.message AS t__message, t.created_at AS t__created_at, t.updated_at AS t__updated_at, t2.id AS t2__id, t2.ticker_id AS t2__ticker_id, t2.record_date AS t2__record_date, t2.ticker_unit AS t2__ticker_unit, t2.waist_current AS t2__waist_current, t2.waist_current_float AS t2__waist_current_float, t2.weight_current AS t2__weight_current, t2.weight_current_float AS t2__weight_current_float, t2.created_at AS t2__created_at, t2.updated_at AS t2__updated_at FROM ticker t LEFT JOIN ticker_read t2 ON t.id = t2.ticker_id WHERE t.id = ?', array('24982'))
in SF_ROOT_DIR/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Query/Abstract.php line 992 ...
- return $this->_conn->exec($query, $params);
- }
- $stmt = $this->_conn->execute($query, $params);
- return $stmt;
- }
- at Doctrine_Query_Abstract->_execute(array('24982'))
in SF_ROOT_DIR/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Query/Abstract.php line 1036 ...
- $result = $this->_constructQueryFromCache($cached);
- }
- } else {
- $stmt = $this->_execute($params);
- if (is_integer($stmt)) {
- $result = $stmt;
- at Doctrine_Query_Abstract->execute(array('24982'), 3)
in SF_ROOT_DIR/apps/frontend/modules/tickers/actions/actions.class.php line 148 ...
- public function executeIndex(sfWebRequest $request)
- {
- $ticker = Doctrine::getTable('Ticker')->createQuery('t')->leftJoin('t.TickerRead')->where('t.id = ?', $request->getParameter('id'))->execute(array(), Doctrine::HYDRATE_ARRAY);
- if (count($ticker) == 0)
- $this->redirect('tickers/new');
- at tickersActions->executeIndex(object('sfWebRequest'))
in SF_ROOT_DIR/lib/vendor/symfony/lib/action/sfActions.class.php line 60 ...
- }
- // run action
- return $this->$actionToRun($request);
- }
- }
-
- at sfActions->execute(object('sfWebRequest'))
in SF_ROOT_DIR/lib/vendor/symfony/lib/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('tickersActions'))
in SF_ROOT_DIR/lib/vendor/symfony/lib/filter/sfExecutionFilter.class.php line 76 ...
- return sfView::SUCCESS;
- }
- return $this->executeAction($actionInstance);
- }
- /**
- at sfExecutionFilter->handleAction(object('sfFilterChain'), object('tickersActions'))
in SF_ROOT_DIR/lib/vendor/symfony/lib/filter/sfExecutionFilter.class.php line 42 ...
- {
- $timer = sfTimerManager::getTimer(sprintf('Action "%s/%s"', $actionInstance->getModuleName(), $actionInstance->getActionName()));
- $viewName = $this->handleAction($filterChain, $actionInstance);
- $timer->addTime();
- $timer = sfTimerManager::getTimer(sprintf('View "%s" for "%s/%s"', $viewName, $actionInstance->getModuleName(), $actionInstance->getActionName()));
- at sfExecutionFilter->execute(object('sfFilterChain'))
in SF_ROOT_DIR/lib/vendor/symfony/lib/filter/sfFilterChain.class.php line 53 ...
- }
- // execute the next filter
- $this->chain[$this->index]->execute($this);
- }
- }
- at sfFilterChain->execute()
in SF_ROOT_DIR/lib/vendor/symfony/lib/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/vendor/symfony/lib/filter/sfFilterChain.class.php line 53 ...
- }
- // execute the next filter
- $this->chain[$this->index]->execute($this);
- }
- }
- at sfFilterChain->execute()
in SF_ROOT_DIR/lib/vendor/symfony/lib/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/vendor/symfony/lib/filter/sfFilterChain.class.php line 53 ...
- }
- // execute the next filter
- $this->chain[$this->index]->execute($this);
- }
- }
- at sfFilterChain->execute()
in SF_ROOT_DIR/lib/vendor/symfony/lib/controller/sfController.class.php line 245 ...
- }
- // process the filter chain
- $filterChain->execute();
- }
- else
- {
- at sfController->forward('tickers', 'index')
in SF_ROOT_DIR/lib/vendor/symfony/lib/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/vendor/symfony/lib/util/sfContext.class.php line 159 ...
- */
- public function dispatch()
- {
- $this->getController()->dispatch();
- }
- /**
- at sfContext->dispatch()
in SF_ROOT_DIR/index.php line 9 ...
- $configuration = ProjectConfiguration::getApplicationConfiguration('frontend', 'prod', true);
- sfContext::createInstance($configuration)->dispatch();
-
symfony settings ...
mod_tickers_enabled: true
mod_tickers_is_internal: false
mod_tickers_view_class: sfPHP
sf_admin_module_web_dir: /sfDoctrinePlugin
sf_admin_web_dir: /sf/sf_admin
sf_app: frontend
sf_app_base_cache_dir: /home/wlcweight/public_html/weight-loss-tickers/cache/frontend
sf_app_cache_dir: /home/wlcweight/public_html/weight-loss-tickers/cache/frontend/prod
sf_app_config_dir: /home/wlcweight/public_html/weight-loss-tickers/apps/frontend/config
sf_app_dir: /home/wlcweight/public_html/weight-loss-tickers/apps/frontend
sf_app_i18n_dir: /home/wlcweight/public_html/weight-loss-tickers/apps/frontend/i18n
sf_app_lib_dir: /home/wlcweight/public_html/weight-loss-tickers/apps/frontend/lib
sf_app_module_dir: /home/wlcweight/public_html/weight-loss-tickers/apps/frontend/modules
sf_app_template_dir: /home/wlcweight/public_html/weight-loss-tickers/apps/frontend/templates
sf_apps_dir: /home/wlcweight/public_html/weight-loss-tickers/apps
sf_cache: false
sf_cache_dir: /home/wlcweight/public_html/weight-loss-tickers/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: /home/wlcweight/public_html/weight-loss-tickers/cache/frontend/prod/config
sf_config_dir: /home/wlcweight/public_html/weight-loss-tickers/config
sf_csrf_secret: false
sf_data_dir: /home/wlcweight/public_html/weight-loss-tickers/data
sf_debug: true
sf_default_culture: en
sf_doc_dir: /home/wlcweight/public_html/weight-loss-tickers/doc
sf_enabled_modules:
- default
sf_environment: prod
sf_error_404_action: error404
sf_error_404_module: default
sf_error_reporting: 341
sf_escaping_method: ESC_SPECIALCHARS
sf_escaping_strategy: false
sf_etag: false
sf_i18n: false
sf_i18n_cache_dir: /home/wlcweight/public_html/weight-loss-tickers/cache/frontend/prod/i18n
sf_lazy_cache_key: false
sf_lib_dir: /home/wlcweight/public_html/weight-loss-tickers/lib
sf_log_dir: /home/wlcweight/public_html/weight-loss-tickers/log
sf_logging_enabled: true
sf_login_action: login
sf_login_module: tickers
sf_max_forwards: 5
sf_module_cache_dir: /home/wlcweight/public_html/weight-loss-tickers/cache/frontend/prod/modules
sf_module_disabled_action: disabled
sf_module_disabled_module: default
sf_no_script_name: false
sf_orm: doctrine
sf_plugins_dir: /home/wlcweight/public_html/weight-loss-tickers/plugins
sf_prototype_web_dir: /sfProtoculousPlugin
sf_rich_text_js_dir: js/tiny_mce
sf_root_dir: /home/wlcweight/public_html/weight-loss-tickers
sf_secure_action: secure
sf_secure_module: default
sf_standard_helpers:
- Partial
- Cache
- Form
sf_strip_comments: true
sf_symfony_lib_dir: /home/wlcweight/public_html/weight-loss-tickers/lib/vendor/symfony/lib
sf_template_cache_dir: /home/wlcweight/public_html/weight-loss-tickers/cache/frontend/prod/template
sf_test_cache_dir: /home/wlcweight/public_html/weight-loss-tickers/cache/frontend/prod/test
sf_test_dir: /home/wlcweight/public_html/weight-loss-tickers/test
sf_upload_dir: /home/wlcweight/public_html/weight-loss-tickers/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: true
sf_web_debug_web_dir: /sf/sf_web_debug
sf_web_dir: /home/wlcweight/public_html/weight-loss-tickers
request ...
parameterHolder:
action: index
id: '24982'
module: tickers
attributeHolder:
sf_route: 'sfRoute Object()'
response ...
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: { }
options:
auto_shutdown: false
culture: null
default_culture: en
use_flash: true
logging: '1'
timeout: 1800
attributeHolder: { }
culture: en
global vars ...
cookie: { }
env: { }
files: { }
get:
id: '24982'
post: { }
server:
CONTEXT_DOCUMENT_ROOT: /home/wlcweight/public_html
CONTEXT_PREFIX: ''
DOCUMENT_ROOT: /home/wlcweight/public_html
GATEWAY_INTERFACE: CGI/1.1
HTTP_ACCEPT: '*/*'
HTTP_HOST: www.weight-loss-center.net
HTTP_USER_AGENT: claudebot
PATH: '/bin:/usr/bin'
PHP_INI_SCAN_DIR: '/opt/cpanel/ea-php72/root/etc:/opt/cpanel/ea-php72/root/etc/php.d:.'
PHP_SELF: /weight-loss-tickers/index.php
QUERY_STRING: id=24982
REDIRECT_STATUS: '200'
REMOTE_ADDR: 50.17.63.57
REMOTE_PORT: '40992'
REQUEST_METHOD: GET
REQUEST_SCHEME: http
REQUEST_TIME: 1711714809
REQUEST_TIME_FLOAT: 1711714809.5919
REQUEST_URI: /weight-loss-tickers/?id=24982
SCRIPT_FILENAME: /home/wlcweight/public_html/weight-loss-tickers/index.php
SCRIPT_NAME: /weight-loss-tickers/index.php
SCRIPT_URI: 'http://www.weight-loss-center.net/weight-loss-tickers/'
SCRIPT_URL: /weight-loss-tickers/
SERVER_ADDR: 23.235.218.8
SERVER_ADMIN: webmaster@weight-loss-center.net
SERVER_NAME: www.weight-loss-center.net
SERVER_PORT: '80'
SERVER_PROTOCOL: HTTP/1.1
SERVER_SIGNATURE: ''
SERVER_SOFTWARE: Apache
UNIQUE_ID: Zgax-V_Da2aKNzjrZpGL3wAAABA
argc: 1
argv: [id=24982]
session: { }