500 | Internal Server Error | sfFileException
Unable to open the log file "/var/www/beergamevalladolid/log/frontend_test.log" for writing.
stack trace
- at ()
in SF_SYMFONY_LIB_DIR/log/sfFileLogger.class.php line 75 ...
- $fileExists = file_exists($options['file']);
- if (!is_writable($dir) || ($fileExists && !is_writable($options['file'])))
- {
- throw new sfFileException(sprintf('Unable to open the log file "%s" for writing.', $options['file']));
- }
- $this->fp = fopen($options['file'], 'a');
- at sfFileLogger->initialize(object('sfEventDispatcher'), array('auto_shutdown' => , 'level' => 'debug', 'file' => '/var/www/beergamevalladolid/log/frontend_test.log'))
in SF_SYMFONY_LIB_DIR/log/sfLogger.class.php line 52 ...
- */
- public function __construct(sfEventDispatcher $dispatcher, $options = array())
- {
- $this->initialize($dispatcher, $options);
- if (!isset($options['auto_shutdown']) || $options['auto_shutdown'])
- {
- at sfLogger->__construct(object('sfEventDispatcher'), array('auto_shutdown' => , 'level' => 'debug', 'file' => '/var/www/beergamevalladolid/log/frontend_test.log'))
in SF_ROOT_DIR/cache/frontend/test/config/config_factories.yml.php line 13 ...
- $logger = new sfFileLogger($this->dispatcher, array_merge(array('auto_shutdown' => false), array (
- 'level' => 'debug',
- 'file' => '/var/www/beergamevalladolid/log/frontend_test.log',
- )));
- $this->factories['logger']->addLogger($logger);
- at require('/var/www/beergamevalladolid/cache/frontend/test/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 SF_SYMFONY_LIB_DIR/util/sfContext.class.php line 77 ...
- try
- {
- $this->loadFactories();
- }
- catch (sfException $e)
- {
- at sfContext->initialize(object('frontendConfiguration'))
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('frontendConfiguration'))
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('/var/www/beergamevalladolid/test/bootstrap/functional.php')
in SF_ROOT_DIR/test/functional/frontend/estaticosActionsTest.php line 3 ...
<?php
- include(dirname(__FILE__).'/../../bootstrap/functional.php');
- $browser = new sfTestFunctional(new sfBrowser());
symfony settings ...
app_max_pag: 20
app_sf_guard_plugin_profile_class: sfGuardUserProfile
app_sf_guard_plugin_profile_field_name: user_id
app_sf_guard_plugin_remember_cookie_name: 'BeergameValladolid # tu nombre para la cookie'
app_sf_guard_plugin_remember_key_expiration_age: 2592000
app_sf_guard_plugin_success_signin_url: software/descarga
app_sf_guard_plugin_success_signout_url: estaticos/static0
app_site_title: BeergameValladolid
app_systemmail_Password: null
app_systemmail_SMTPAuth: true
app_systemmail_SMTPSecure: ssl
app_systemmail_Username: administrador@vsmod.org
app_systemmail_host: smtp.gmail.com
app_systemmail_port: 465
app_usermail_admin: administrador@vsmod.org
app_usermail_contact: contacto@vsmod.org
app_usermail_jm: rios@uva.es
app_usermail_webmaster: ivan.velasco@uva.es
sf_admin_module_web_dir: /sfPropelPlugin
sf_admin_web_dir: /sf/sf_admin
sf_app: frontend
sf_app_base_cache_dir: /var/www/beergamevalladolid/cache/frontend
sf_app_cache_dir: /var/www/beergamevalladolid/cache/frontend/test
sf_app_config_dir: /var/www/beergamevalladolid/apps/frontend/config
sf_app_dir: /var/www/beergamevalladolid/apps/frontend
sf_app_i18n_dir: /var/www/beergamevalladolid/apps/frontend/i18n
sf_app_lib_dir: /var/www/beergamevalladolid/apps/frontend/lib
sf_app_module_dir: /var/www/beergamevalladolid/apps/frontend/modules
sf_app_template_dir: /var/www/beergamevalladolid/apps/frontend/templates
sf_apps_dir: /var/www/beergamevalladolid/apps
sf_cache: false
sf_cache_dir: /var/www/beergamevalladolid/cache
sf_charset: utf-8
sf_check_lock: false
sf_compressed: false
sf_config_cache_dir: /var/www/beergamevalladolid/cache/frontend/test/config
sf_config_dir: /var/www/beergamevalladolid/config
sf_csrf_secret: UniqueBeergame
sf_data_dir: /var/www/beergamevalladolid/data
sf_debug: true
sf_default_culture: es
sf_enabled_modules:
- default
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: true
sf_i18n_cache_dir: /var/www/beergamevalladolid/cache/frontend/test/i18n
sf_lazy_cache_key: true
sf_lib_dir: /var/www/beergamevalladolid/lib
sf_log_dir: /var/www/beergamevalladolid/log
sf_logging_enabled: true
sf_login_action: login
sf_login_module: default
sf_module_cache_dir: /var/www/beergamevalladolid/cache/frontend/test/modules
sf_module_disabled_action: disabled
sf_module_disabled_module: default
sf_no_script_name: false
sf_orm: propel
sf_plugins_dir: /var/www/beergamevalladolid/plugins
sf_root_dir: /var/www/beergamevalladolid
sf_secure_action: secure
sf_secure_module: default
sf_standard_helpers:
- Partial
- Cache
sf_symfony_lib_dir: /var/www/includes/symfony-1.4.11/lib
sf_template_cache_dir: /var/www/beergamevalladolid/cache/frontend/test/template
sf_test_cache_dir: /var/www/beergamevalladolid/cache/frontend/test/test
sf_test_dir: /var/www/beergamevalladolid/test
sf_upload_dir: /var/www/beergamevalladolid/web/uploads
sf_use_database: true
sf_web_debug: false
sf_web_debug_web_dir: /sf/sf_web_debug
sf_web_dir: /var/www/beergamevalladolid/web
request ...
response ...
global vars ...
cookie: { }
env: { }
files: { }
get: { }
post: { }
server:
CONTEXT_DOCUMENT_ROOT: /var/www
CONTEXT_PREFIX: ''
DOCUMENT_ROOT: /var/www
GATEWAY_INTERFACE: CGI/1.1
HTTP_ACCEPT: '*/*'
HTTP_ACCEPT_ENCODING: 'gzip, br, zstd, deflate'
HTTP_CACHE_CONTROL: max-age=259200
HTTP_CONNECTION: keep-alive
HTTP_HOST: '157.88.109.97:443'
HTTP_USER_AGENT: 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)'
HTTP_VIA: '1.1 squid-proxy-5b5d847c96-7zjws (squid/6.10)'
HTTP_X_FORWARDED_FOR: 10.3.247.6
PATH: '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
PHP_SELF: /beergamevalladolid/test/functional/frontend/estaticosActionsTest.php
QUERY_STRING: ''
REMOTE_ADDR: 216.73.216.169
REMOTE_PORT: '20104'
REQUEST_METHOD: GET
REQUEST_SCHEME: http
REQUEST_TIME: 1765390492
REQUEST_TIME_FLOAT: 1765390492.435
REQUEST_URI: /beergamevalladolid/test/functional/frontend/estaticosActionsTest.php
SCRIPT_FILENAME: /var/www/beergamevalladolid/test/functional/frontend/estaticosActionsTest.php
SCRIPT_NAME: /beergamevalladolid/test/functional/frontend/estaticosActionsTest.php
SERVER_ADDR: 157.88.109.97
SERVER_ADMIN: '[no address given]'
SERVER_NAME: 157.88.109.97
SERVER_PORT: '443'
SERVER_PROTOCOL: HTTP/1.1
SERVER_SIGNATURE: "<address>Apache/2 Server at 157.88.109.97 Port 443</address>\n"
SERVER_SOFTWARE: Apache/2