500 | Internal Server Error | Doctrine_Manager_Exception
Empty data source name given.
stack trace
- at ()
in SF_ROOT_DIR/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Manager.php line 290 ...
- $driverName = $adapter->getAttribute(Doctrine_Core::ATTR_DRIVER_NAME);
- } else if (is_array($adapter)) {
- if ( ! isset($adapter[0])) {
- throw new Doctrine_Manager_Exception('Empty data source name given.');
- }
- $e = explode(':', $adapter[0]);
- at Doctrine_Manager->openConnection(array(null, null, null), 'doctrine')
in SF_ROOT_DIR/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/database/sfDoctrineDatabase.class.php line 73 ...
- $dispatcher = $configuration->getEventDispatcher();
- $manager = Doctrine_Manager::getInstance();
- $this->_doctrineConnection = $manager->openConnection($dsn, $name);
- $attributes = $this->getParameter('attributes', array());
- foreach ($attributes as $name => $value)
- at sfDoctrineDatabase->initialize(array('encoding' => 'UTF8', 'attributes' => array('quote_identifier' => 1, 'validate' => 'all', 'idxname_format' => 'tf_%s_idx', 'seqname_format' => 'tf_%s_seq', 'tblname_format' => 'tf_%s', 'default_table_charset' => 'utf8', 'default_table_collate' => 'utf8_general_ci'), 'name' => 'doctrine'))
in SF_ROOT_DIR/lib/vendor/symfony/lib/database/sfDatabase.class.php line 36 ...
- */
- public function __construct($parameters = array())
- {
- $this->initialize($parameters);
- }
- /**
- at sfDatabase->__construct(array('encoding' => 'UTF8', 'attributes' => array('quote_identifier' => 1, 'validate' => 'all', 'idxname_format' => 'tf_%s_idx', 'seqname_format' => 'tf_%s_seq', 'tblname_format' => 'tf_%s', 'default_table_charset' => 'utf8', 'default_table_collate' => 'utf8_general_ci'), 'name' => 'doctrine'))
in SF_ROOT_DIR/cache/backend/test/config/config_databases.yml.php line 19 ...
- 'default_table_collate' => 'utf8_general_ci',
- ),
- 'name' => 'doctrine',
- )),);
-
- at include('/home/automobi/cache/backend/test/config/config_databases.yml.php')
in SF_ROOT_DIR/lib/vendor/symfony/lib/database/sfDatabaseManager.class.php line 67 ...
- {
- if ($this->configuration instanceof sfApplicationConfiguration)
- {
- $databases = include($this->configuration->getConfigCache()->checkConfig('config/databases.yml'));
- }
- else
- {
- at sfDatabaseManager->loadConfiguration()
in SF_ROOT_DIR/lib/vendor/symfony/lib/database/sfDatabaseManager.class.php line 57 ...
- {
- $this->configuration = $configuration;
- $this->loadConfiguration();
- }
- /**
- at sfDatabaseManager->initialize(object('backendConfiguration'))
in SF_ROOT_DIR/lib/vendor/symfony/lib/database/sfDatabaseManager.class.php line 36 ...
- */
- public function __construct(sfProjectConfiguration $configuration, $options = array())
- {
- $this->initialize($configuration);
- if (!isset($options['auto_shutdown']) || $options['auto_shutdown'])
- {
- at sfDatabaseManager->__construct(object('backendConfiguration'), array('auto_shutdown' => ))
in SF_ROOT_DIR/lib/vendor/symfony/lib/util/sfContext.class.php line 143 ...
- if (sfConfig::get('sf_use_database'))
- {
- // setup our database connections
- $this->factories['databaseManager'] = new sfDatabaseManager($this->configuration, array('auto_shutdown' => false));
- }
- // create a new action stack
- 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('backendConfiguration'))
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('backendConfiguration'))
in SF_ROOT_DIR/test/bootstrap/functional.php line 23 ...
- require_once dirname(__FILE__).'/../../config/ProjectConfiguration.class.php';
- $configuration = ProjectConfiguration::getApplicationConfiguration($app, 'test', isset($debug) ? $debug : true);
- sfContext::createInstance($configuration);
- // remove all cache
- sfToolkit::clearDirectory(sfConfig::get('sf_app_cache_dir'));
- at include('/home/automobi/test/bootstrap/functional.php')
in SF_ROOT_DIR/test/functional/backend/statsActionsTest.php line 3 ...
<?php
- include(dirname(__FILE__).'/../../bootstrap/functional.php');
- $browser = new sfTestFunctional(new sfBrowser());
symfony settings ...
sf_admin_module_web_dir: /sfDoctrinePlugin
sf_admin_web_dir: /sf/sf_admin
sf_app: backend
sf_app_base_cache_dir: /home/automobi/cache/backend
sf_app_cache_dir: /home/automobi/cache/backend/test
sf_app_config_dir: /home/automobi/apps/backend/config
sf_app_dir: /home/automobi/apps/backend
sf_app_i18n_dir: /home/automobi/apps/backend/i18n
sf_app_lib_dir: /home/automobi/apps/backend/lib
sf_app_module_dir: /home/automobi/apps/backend/modules
sf_app_template_dir: /home/automobi/apps/backend/templates
sf_apps_dir: /home/automobi/apps
sf_cache: false
sf_cache_dir: /home/automobi/cache
sf_charset: utf-8
sf_check_lock: false
sf_compressed: false
sf_config_cache_dir: /home/automobi/cache/backend/test/config
sf_config_dir: /home/automobi/config
sf_csrf_secret: b7b625f032a99fa899ae80c32dad122a3c1e6b21
sf_data_dir: /home/automobi/data
sf_debug: true
sf_default_culture: en
sf_enabled_modules:
- default
- sfGuardGroup
- sfGuardUser
- sfGuardPermission
- sfGuardAuth
sf_environment: test
sf_error_404_action: error404
sf_error_404_module: default
sf_error_reporting: 32759
sf_escaping_method: ESC_SPECIALCHARS
sf_escaping_strategy: true
sf_etag: false
sf_file_link_format: null
sf_i18n: false
sf_i18n_cache_dir: /home/automobi/cache/backend/test/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_web_dir: /sfJqueryReloadedPlugin
sf_lib_dir: /home/automobi/lib
sf_log_dir: /home/automobi/log
sf_logging_enabled: true
sf_login_action: signin
sf_login_module: sfGuardAuth
sf_module_cache_dir: /home/automobi/cache/backend/test/modules
sf_module_disabled_action: disabled
sf_module_disabled_module: default
sf_no_script_name: false
sf_orm: doctrine
sf_plugins_dir: /home/automobi/plugins
sf_root_dir: /home/automobi
sf_secure_action: secure
sf_secure_module: sfGuardAuth
sf_standard_helpers:
- Partial
- Cache
sf_symfony_lib_dir: /home/automobi/lib/vendor/symfony/lib
sf_template_cache_dir: /home/automobi/cache/backend/test/template
sf_test_cache_dir: /home/automobi/cache/backend/test/test
sf_test_dir: /home/automobi/test
sf_upload_dir: /home/automobi/web/uploads
sf_use_database: true
sf_web_debug: false
sf_web_debug_web_dir: /sf/sf_web_debug
sf_web_dir: /home/automobi/web
request ...
response ...
global vars ...
cookie: { }
env:
APP_ENGINE: php
APP_ENGINE_VERSION: '5.4'
CFG_CLUSTER: cluster105
DOCUMENT_ROOT: /home/automobi/test
ENVIRONMENT: production
FCGI_ROLE: RESPONDER
GATEWAY_INTERFACE: CGI/1.1
GEOIP_AREA_CODE: '805'
GEOIP_CITY: 'Santa Paula'
GEOIP_COUNTRY_CODE: US
GEOIP_COUNTRY_NAME: 'United States'
GEOIP_DMA_CODE: '803'
GEOIP_LATITUDE: '34.355598'
GEOIP_LONGITUDE: '-119.070099'
GEOIP_REGION: CA
HTTPS: on
HTTP_ACCEPT: '*/*'
HTTP_ACCEPT_ENCODING: 'gzip, br, zstd, deflate'
HTTP_HOST: test.tripfriender.com
HTTP_REMOTE_IP: 216.73.216.211
HTTP_USER_AGENT: 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)'
HTTP_X_FORWARDED_FOR: 216.73.216.211
HTTP_X_FORWARDED_PROTO: https
HTTP_X_OVHREQUEST_ID: 60871056e2a0ccfa624adde0d0c013cd
HTTP_X_PREDICTOR: '1'
PHP_SELF: /functional/backend/statsActionsTest.php
QUERY_STRING: ''
REMOTE_ADDR: 216.73.216.211
REMOTE_PORT: '12808'
REQUEST_METHOD: GET
REQUEST_TIME: 1765172170
REQUEST_TIME_FLOAT: 1765172170.0285
REQUEST_URI: /functional/backend/statsActionsTest.php
SCRIPT_FILENAME: /home/automobi/test/functional/backend/statsActionsTest.php
SCRIPT_NAME: /functional/backend/statsActionsTest.php
SCRIPT_URI: 'https://test.tripfriender.com:443/functional/backend/statsActionsTest.php'
SCRIPT_URL: /functional/backend/statsActionsTest.php
SERVER_ADDR: 10.105.40.4
SERVER_ADMIN: postmaster@test.tripfriender.com
SERVER_NAME: test.tripfriender.com
SERVER_PORT: '443'
SERVER_PROTOCOL: HTTP/1.1
SERVER_SIGNATURE: ''
SERVER_SOFTWARE: Apache
UNIQUE_ID: aTZjyg-WL8bnVW30F0z-ygAABH4
USER: automobi
argc: 0
argv: { }
files: { }
get: { }
post: { }
server:
APP_ENGINE: php
APP_ENGINE_VERSION: '5.4'
CFG_CLUSTER: cluster105
DOCUMENT_ROOT: /home/automobi/test
ENVIRONMENT: production
FCGI_ROLE: RESPONDER
GATEWAY_INTERFACE: CGI/1.1
GEOIP_AREA_CODE: '805'
GEOIP_CITY: 'Santa Paula'
GEOIP_COUNTRY_CODE: US
GEOIP_COUNTRY_NAME: 'United States'
GEOIP_DMA_CODE: '803'
GEOIP_LATITUDE: '34.355598'
GEOIP_LONGITUDE: '-119.070099'
GEOIP_REGION: CA
HTTPS: on
HTTP_ACCEPT: '*/*'
HTTP_ACCEPT_ENCODING: 'gzip, br, zstd, deflate'
HTTP_HOST: test.tripfriender.com
HTTP_REMOTE_IP: 216.73.216.211
HTTP_USER_AGENT: 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)'
HTTP_X_FORWARDED_FOR: 216.73.216.211
HTTP_X_FORWARDED_PROTO: https
HTTP_X_OVHREQUEST_ID: 60871056e2a0ccfa624adde0d0c013cd
HTTP_X_PREDICTOR: '1'
PHP_SELF: /functional/backend/statsActionsTest.php
QUERY_STRING: ''
REMOTE_ADDR: 216.73.216.211
REMOTE_PORT: '12808'
REQUEST_METHOD: GET
REQUEST_TIME: 1765172170
REQUEST_TIME_FLOAT: 1765172170.0285
REQUEST_URI: /functional/backend/statsActionsTest.php
SCRIPT_FILENAME: /home/automobi/test/functional/backend/statsActionsTest.php
SCRIPT_NAME: /functional/backend/statsActionsTest.php
SCRIPT_URI: 'https://test.tripfriender.com:443/functional/backend/statsActionsTest.php'
SCRIPT_URL: /functional/backend/statsActionsTest.php
SERVER_ADDR: 10.105.40.4
SERVER_ADMIN: postmaster@test.tripfriender.com
SERVER_NAME: test.tripfriender.com
SERVER_PORT: '443'
SERVER_PROTOCOL: HTTP/1.1
SERVER_SIGNATURE: ''
SERVER_SOFTWARE: Apache
UNIQUE_ID: aTZjyg-WL8bnVW30F0z-ygAABH4
USER: automobi
argc: 0
argv: { }