500 | Internal Server Error | Doctrine_Table_Exception
You must specify the value to findOneBy
stack trace
- at ()
in SF_ROOT_DIR/lib/vendor/symfony-1.4.11/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Table.php line 2824 ...
- if (isset($by)) {
- if ( ! isset($arguments[0])) {
- throw new Doctrine_Table_Exception('You must specify the value to ' . $method);
- }
- $fieldName = $this->_resolveFindByFieldName($by);
- at Doctrine_Table->__call('findOneById', array(null))
in SF_ROOT_DIR/apps/web/modules/competiciones/actions/actions.class.php line 42 ...
- $this->compe_dia = Doctrine::getTable('CompeticionDia')->getFechasCompeticion($this->id_compe);
- $this->cat=$this->compe->id_categoria;
- $this->nombre_cat = Doctrine::getTable('CompeticionesCategorias')->findOneById($this->cat);
- //$this->cat_nombre=$this->compe->getCategoria();
- $this->cat_nombre= $this->nombre_cat->nombre;
- }else{
- at CompeticionesCategoriasTable->findOneById(null)
in SF_ROOT_DIR/apps/web/modules/competiciones/actions/actions.class.php line 42 ...
- $this->compe_dia = Doctrine::getTable('CompeticionDia')->getFechasCompeticion($this->id_compe);
- $this->cat=$this->compe->id_categoria;
- $this->nombre_cat = Doctrine::getTable('CompeticionesCategorias')->findOneById($this->cat);
- //$this->cat_nombre=$this->compe->getCategoria();
- $this->cat_nombre= $this->nombre_cat->nombre;
- }else{
- at competicionesActions->executeIndex(object('sfWebRequest'))
in SF_ROOT_DIR/lib/vendor/symfony-1.4.11/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-1.4.11/lib/filter/sfExecutionFilter.class.php line 92 ...
- {
- // execute the action
- $actionInstance->preExecute();
- $viewName = $actionInstance->execute($this->context->getRequest());
- $actionInstance->postExecute();
- return null === $viewName ? sfView::SUCCESS : $viewName;
- at sfExecutionFilter->executeAction(object('competicionesActions'))
in SF_ROOT_DIR/lib/vendor/symfony-1.4.11/lib/filter/sfExecutionFilter.class.php line 78 ...
- }
- }
- return $this->executeAction($actionInstance);
- }
- /**
- at sfExecutionFilter->handleAction(object('sfFilterChain'), object('competicionesActions'))
in SF_ROOT_DIR/lib/vendor/symfony-1.4.11/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-1.4.11/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-1.4.11/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-1.4.11/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-1.4.11/lib/controller/sfController.class.php line 238 ...
- }
- // process the filter chain
- $filterChain->execute();
- }
- else
- {
- at sfController->forward('competiciones', 'index')
in SF_ROOT_DIR/lib/vendor/symfony-1.4.11/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-1.4.11/lib/util/sfContext.class.php line 170 ...
- */
- public function dispatch()
- {
- $this->getController()->dispatch();
- }
- /**
- at sfContext->dispatch()
in SF_ROOT_DIR/web/index.php line 7 ...
- require_once(dirname(__FILE__).'/../config/ProjectConfiguration.class.php');
- $configuration = ProjectConfiguration::getApplicationConfiguration('web', 'prod', true);
- sfContext::createInstance($configuration)->dispatch();
-
symfony settings ...
app_email_contacto: info@larrabea.com
app_email_envios: web@larrabea.com
app_email_envios_correspondencias: correspondencias@larrabea.com
app_web_url: 'http://www.larrabea.com/'
mod_competiciones_enabled: true
mod_competiciones_view_class: sfPHP
sf_admin_module_web_dir: /sfDoctrinePlugin
sf_admin_web_dir: /sf/sf_admin
sf_app: web
sf_app_base_cache_dir: /var/www/vhosts/larrabea.com/httpdocs/cache/web
sf_app_cache_dir: /var/www/vhosts/larrabea.com/httpdocs/cache/web/prod
sf_app_config_dir: /var/www/vhosts/larrabea.com/httpdocs/apps/web/config
sf_app_dir: /var/www/vhosts/larrabea.com/httpdocs/apps/web
sf_app_i18n_dir: /var/www/vhosts/larrabea.com/httpdocs/apps/web/i18n
sf_app_lib_dir: /var/www/vhosts/larrabea.com/httpdocs/apps/web/lib
sf_app_module_dir: /var/www/vhosts/larrabea.com/httpdocs/apps/web/modules
sf_app_template_dir: /var/www/vhosts/larrabea.com/httpdocs/apps/web/templates
sf_apps_dir: /var/www/vhosts/larrabea.com/httpdocs/apps
sf_cache: false
sf_cache_dir: /var/www/vhosts/larrabea.com/httpdocs/cache
sf_charset: utf-8
sf_check_lock: false
sf_compressed: false
sf_config_cache_dir: /var/www/vhosts/larrabea.com/httpdocs/cache/web/prod/config
sf_config_dir: /var/www/vhosts/larrabea.com/httpdocs/config
sf_csrf_secret: cfb7bb080362c0ccee146ece1a0813bf39d7b3df
sf_data_dir: /var/www/vhosts/larrabea.com/httpdocs/data
sf_debug: true
sf_default_culture: es_ES
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: true
sf_etag: true
sf_file_link_format: null
sf_i18n: on
sf_i18n_cache_dir: /var/www/vhosts/larrabea.com/httpdocs/cache/web/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_web_dir: /sfJqueryReloadedPlugin
sf_lib_dir: /var/www/vhosts/larrabea.com/httpdocs/lib
sf_log_dir: /var/www/vhosts/larrabea.com/httpdocs/log
sf_logging_enabled: true
sf_login_action: login
sf_login_module: default
sf_module_cache_dir: /var/www/vhosts/larrabea.com/httpdocs/cache/web/prod/modules
sf_module_disabled_action: disabled
sf_module_disabled_module: default
sf_no_script_name: true
sf_orm: doctrine
sf_plugins_dir: /var/www/vhosts/larrabea.com/httpdocs/plugins
sf_root_dir: /var/www/vhosts/larrabea.com/httpdocs
sf_secure_action: secure
sf_secure_module: default
sf_standard_helpers:
- Partial
- Cache
sf_symfony_lib_dir: /var/www/vhosts/larrabea.com/httpdocs/lib/vendor/symfony-1.4.11/lib
sf_template_cache_dir: /var/www/vhosts/larrabea.com/httpdocs/cache/web/prod/template
sf_test_cache_dir: /var/www/vhosts/larrabea.com/httpdocs/cache/web/prod/test
sf_test_dir: /var/www/vhosts/larrabea.com/httpdocs/test
sf_upload_dir: /var/www/vhosts/larrabea.com/httpdocs/web/uploads
sf_use_database: true
sf_web_debug: false
sf_web_debug_web_dir: /sf/sf_web_debug
sf_web_dir: /var/www/vhosts/larrabea.com/httpdocs/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:
action: index
id: '623'
module: competiciones
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: { }
options:
auto_shutdown: false
culture: null
default_culture: es_ES
use_flash: true
logging: '1'
timeout: 1800
attributeHolder: { }
culture: es_ES
authenticated: false
credentials: { }
lastRequest: 1711657355
global vars ...
cookie: { }
env: { }
files: { }
get:
id: '623'
post: { }
server:
DOCUMENT_ROOT: /var/www/vhosts/larrabea.com/httpdocs/web
GATEWAY_INTERFACE: CGI/1.1
GEOIP_ADDR: 54.163.62.42
GEOIP_CONTINENT_CODE: NA
GEOIP_COUNTRY_CODE: US
GEOIP_COUNTRY_NAME: 'United States'
HTTPS: on
HTTP_ACCEPT: '*/*'
HTTP_GEOIP_ADDR: 54.163.62.42
HTTP_GEOIP_CONTINENT_CODE: NA
HTTP_GEOIP_COUNTRY_CODE: US
HTTP_GEOIP_COUNTRY_NAME: 'United States'
HTTP_HOST: www.larrabea.com
HTTP_REFERER: 'http://larrabea.com/competiciones?id=623'
HTTP_USER_AGENT: claudebot
PATH: '/sbin:/usr/sbin:/bin:/usr/bin'
PHP_SELF: /index.php
QUERY_STRING: id=623
REDIRECT_GEOIP_ADDR: 54.163.62.42
REDIRECT_GEOIP_CONTINENT_CODE: NA
REDIRECT_GEOIP_COUNTRY_CODE: US
REDIRECT_GEOIP_COUNTRY_NAME: 'United States'
REDIRECT_HTTPS: on
REDIRECT_QUERY_STRING: id=623
REDIRECT_SSL_TLS_SNI: www.larrabea.com
REDIRECT_STATUS: '200'
REDIRECT_URL: /competiciones
REMOTE_ADDR: 54.163.62.42
REMOTE_PORT: '43218'
REQUEST_METHOD: GET
REQUEST_TIME: 1711657355
REQUEST_URI: '/competiciones?id=623'
SCRIPT_FILENAME: /var/www/vhosts/larrabea.com/httpdocs/web/index.php
SCRIPT_NAME: /index.php
SERVER_ADDR: 192.162.12.40
SERVER_ADMIN: root@localhost
SERVER_NAME: www.larrabea.com
SERVER_PORT: '443'
SERVER_PROTOCOL: HTTP/1.1
SERVER_SIGNATURE: "<address>Apache Server at www.larrabea.com Port 443</address>\n"
SERVER_SOFTWARE: Apache
SSL_TLS_SNI: www.larrabea.com
session: { }