Warning: unlink(C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\cache/frontend/test/config/conF50D.tmp) [function.unlink]: Permission denied in C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\lib\util\sfToolkit.class.php on line 87
Warning: rmdir(C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\cache/frontend/test/config) [function.rmdir]: Directory not empty in C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\lib\util\sfToolkit.class.php on line 82
Warning: rmdir(C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\cache/frontend/test) [function.rmdir]: Directory not empty in C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\lib\util\sfToolkit.class.php on line 82
Warning: rmdir(C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\cache/frontend) [function.rmdir]: Directory not empty in C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\lib\util\sfToolkit.class.php on line 82
# get /
ok 1 - request parameter module is default
ok 2 - request parameter action is index
ok 3 - status code is 200
ok 4 - response selector body matches regex /congratulations/i
ok 5 - response selector link[href=/sf/sf_default/css/screen.css] exists
ok 6 - response selector link[href=/css/main.css] exists
ok 7 - response content matches regex #\<\!--\[if lte IE 6\]\>\\<\!\[endif\]--\>#
# get /nonexistant
ok 8 - status code is 404
# get /notfound
ok 9 - request parameter module is notfound
ok 10 - request parameter action is index
ok 11 - status code is 404
ok 12 - response selector body matches regex /404/
# get /notfound
ok 13 - request parameter module is notfound
ok 14 - request parameter action is index
ok 15 - status code is 404
ok 16 - response selector body matches regex /404/
# get /default/nonexistantaction
ok 17 - status code is 404
# get /configModuleDisabled
ok 18 - request is forwarded to the default module (last)
ok 19 - request is forwarded to the disabled action (last)
ok 20 - status code is 200
ok 21 - response selector body matches regex /module is unavailable/i
ok 22 - response selector body does not match regex /congratulations/i
ok 23 - response selector link[href=/sf/sf_default/css/screen.css] exists
# get /configViewHasLayout/withoutLayout
ok 24 - status code is 200
ok 25 - response selector body matches regex /no layout/i
ok 26 - response selector head title does not exist
# get /configSecurityIsSecure
not ok 27 - request is forwarded to the default module (last)
# Failed test (C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\lib\test\sfTestFunctional.class.php at line 62)
# got: 'configSecurityIsSecure'
# expected: 'default'
not ok 28 - request is forwarded to the login action (last)
# Failed test (C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\lib\test\sfTestFunctional.class.php at line 63)
# got: 'index'
# expected: 'login'
not ok 29 - status code is 200
# Failed test (C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\lib\test\sfTesterResponse.class.php at line 398)
# got: 404
# expected: 200
not ok 30 - response selector body matches regex /Login Required/i
# Failed test (C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\lib\test\sfTesterResponse.class.php at line 104)
# '
404 | Not Found | sfError404Exception
Action "login/index" does not exist.
stack trace
at ()in SF_SYMFONY_LIB_DIR\controller\sfController.class.php line 192 ... $this->dispatcher->notify(new sfEvent($this, 'application.log', array(sprintf('Action "%s/%s" does not exist', $moduleName, $actionName))));
}
throw new sfError404Exception(sprintf('Action "%s/%s" does not exist.', $moduleName, $actionName));
}
// create an instance of the actionat sfController->forward('login', 'index')in SF_SYMFONY_LIB_DIR\filter\sfBasicSecurityFilter.class.php line 94 ... */
protected function forwardToLoginAction()
{
$this->context->getController()->forward(sfConfig::get('sf_login_module'), sfConfig::get('sf_login_action'));
throw new sfStopException();
}at sfBasicSecurityFilter->forwardToLoginAction()in SF_SYMFONY_LIB_DIR\filter\sfBasicSecurityFilter.class.php line 55 ... }
// the user is not authenticated
$this->forwardToLoginAction();
}
// the user is authenticatedat sfBasicSecurityFilter->execute(object('sfFilterChain'))in SF_SYMFONY_LIB_DIR\filter\sfFilterChain.class.php line 53 ... }
// execute the next filter
$this->chain[$this->index]->execute($this);
}
}
at sfFilterChain->execute()in SF_SYMFONY_LIB_DIR\util\sfBrowser.class.php line 165 ...{
public function execute($filterChain)
{
$filterChain->execute();
$this->context->getResponse()->sendContent();
}at sfFakeRenderingFilter->execute(object('sfFilterChain'))in SF_SYMFONY_LIB_DIR\filter\sfFilterChain.class.php line 53 ... }
// execute the next filter
$this->chain[$this->index]->execute($this);
}
}
at sfFilterChain->execute()in SF_SYMFONY_LIB_DIR\controller\sfController.class.php line 229 ... }
// process the filter chain
$filterChain->execute();
}
else
{at sfController->forward('configSecurityIsSecure', 'index')in SF_SYMFONY_LIB_DIR\controller\sfFrontWebController.class.php line 48 ... }
// make the first request
$this->forward($moduleName, $actionName);
}
catch (sfException $e)
{at sfFrontWebController->dispatch()in SF_SYMFONY_LIB_DIR\util\sfBrowser.class.php line 43 ...
// dispatch our request
ob_start();
$this->context->getController()->dispatch();
$retval = ob_get_clean();
// append retval to the response contentat sfBrowser->doCall()in SF_SYMFONY_LIB_DIR\util\sfBrowserBase.class.php line 323 ... $_COOKIE[$name] = $cookie['value'];
}
$this->doCall();
$response = $this->getResponse();
at sfBrowserBase->call('/configSecurityIsSecure', 'get', array(), 1)in SF_SYMFONY_LIB_DIR\test\sfTestFunctionalBase.class.php line 246 ... $tester->prepare();
}
$this->browser->call($uri, $method, $parameters, $changeStack);
return $this;
}at sfTestFunctionalBase->call('/configSecurityIsSecure', 'get', array(), 1)in SF_SYMFONY_LIB_DIR\test\sfTestFunctionalBase.class.php line 184 ... */
public function get($uri, $parameters = array(), $changeStack = true)
{
return $this->call($uri, 'get', $parameters, $changeStack);
}
/**at sfTestFunctionalBase->get('/configSecurityIsSecure')in C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\genericTest.php line 100 ...
// security.yml: is_secure
$b->
get('/configSecurityIsSecure')->
with('request')->begin()->
isForwardedTo('default', 'login')->
end()->
symfony settings ...
mod_configsecurityissecure_enabled: true
mod_configsecurityissecure_view_class: sfPHP
sf_admin_module_web_dir: /sfPropelPlugin
sf_admin_web_dir: /sf/sf_admin
sf_app: frontend
sf_app_base_cache_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\cache\frontend'
sf_app_cache_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\cache\frontend\test'
sf_app_config_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\apps\frontend\config'
sf_app_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\apps\frontend'
sf_app_i18n_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\apps\frontend\i18n'
sf_app_lib_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\apps\frontend\lib'
sf_app_module_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\apps\frontend\modules'
sf_app_template_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\apps\frontend\templates'
sf_apps_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\apps'
sf_autoloading_functions:
- [myAutoload, autoload]
sf_cache: false
sf_cache_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\cache'
sf_charset: utf-8
sf_check_lock: false
sf_compressed: false
sf_config_cache_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\cache\frontend\test\config'
sf_config_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\config'
sf_csrf_secret: false
sf_data_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\data'
sf_debug: true
sf_default_culture: en
sf_enabled_modules:
- default
- autoloadPlugin
sf_environment: test
sf_error_404_action: error404
sf_error_404_module: default
sf_error_reporting: 8183
sf_escaping_method: ESC_SPECIALCHARS
sf_escaping_strategy: false
sf_etag: false
sf_file_link_format: null
sf_i18n: false
sf_i18n_cache_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\cache\frontend\test\i18n'
sf_lib_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\lib'
sf_log_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\log'
sf_logging_enabled: true
sf_login_action: index
sf_login_module: login
sf_module_cache_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\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: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\plugins'
sf_rendering_filter:
- sfFakeRenderingFilter
- null
sf_root_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures'
sf_secure_action: index
sf_secure_module: login
sf_standard_helpers:
- Partial
- Cache
sf_symfony_lib_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\lib'
sf_template_cache_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\cache\frontend\test\template'
sf_test: true
sf_test_cache_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\cache\frontend\test\test'
sf_test_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\test'
sf_upload_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\web\uploads'
sf_use_database: true
sf_web_debug: false
sf_web_debug_web_dir: /sf/sf_web_debug
sf_web_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\web'
request ...
options:
path_info_key: PATH_INFO
path_info_array: SERVER
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: false
parameterHolder:
action: index
module: configSecurityIsSecure
attributeHolder:
sf_route: 'sfRoute Object()'
response ...
status:
code: 404
text: 'Not Found'
options:
http_protocol: HTTP/1.1
logging: '1'
charset: utf-8
send_http_headers: false
content_type: 'text/html; charset=utf-8'
cookies: { }
httpHeaders:
Content-Type: 'text/html; charset=utf-8'
javascripts: { }
stylesheets: { }
metas: { }
httpMetas: { }
user ...
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: { }
post: { }
server:
COMSPEC: 'C:\WINDOWS\system32\cmd.exe'
DOCUMENT_ROOT: 'C:/wamp/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: localhost
HTTP_REFERER: 'http://localhost/configViewHasLayout/withoutLayout'
HTTP_USER_AGENT: PHP5/CLI
HTTP_VIA: '1.1 squid-proxy-5b5d847c96-srpnh (squid/6.13)'
HTTP_X_FORWARDED_FOR: 10.1.130.43
PATH: 'C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Dell\SysMgt\RAC5;C:\Program Files\Dell\SysMgt\oma\bin;C:\Program Files\Dell\SysMgt\oma\oldiags\bin;C:\wamp\bin\php\php5.2.9-2'
PATHEXT: .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PATH_INFO: /configSecurityIsSecure
PHP_SELF: /projet_symfony/sysmed/lib/vendor/symfony-1.4.0/test/functional/genericTest.php
QUERY_STRING: ''
REMOTE_ADDR: 127.0.0.1
REMOTE_PORT: '8866'
REQUEST_METHOD: GET
REQUEST_TIME: 1775663782
REQUEST_URI: /index.php/configSecurityIsSecure
SCRIPT_FILENAME: /index.php
SCRIPT_NAME: /index.php
SERVER_ADDR: 192.168.21.252
SERVER_ADMIN: admin@localhost
SERVER_NAME: localhost
SERVER_PORT: 80
SERVER_PROTOCOL: HTTP/1.1
SERVER_SIGNATURE: ''
SERVER_SOFTWARE: 'Apache/2.2.11 (Win32) PHP/5.2.9-2'
SystemRoot: 'C:\WINDOWS'
WINDIR: 'C:\WINDOWS'
session_id: 94ccfc57d79a7f6174f797eb40cba361
symfony v.1.4.0 - php 5.2.9-2
for help resolving this issue, please visit http://www.symfony-project.org/.
'
# doesn't match '/Login Required/i'
ok 31 - response selector body matches 1 times
not ok 32 - response selector link[href=/sf/sf_default/css/screen.css] exists
# Failed test (C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\lib\test\sfTesterResponse.class.php at line 89)
# 0
# >
# 0
# get /configSecurityIsSecureAction/index
not ok 33 - request is forwarded to the default module (last)
# Failed test (C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\lib\test\sfTestFunctional.class.php at line 62)
# got: 'configSecurityIsSecureAction'
# expected: 'default'
not ok 34 - request is forwarded to the login action (last)
# Failed test (C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\lib\test\sfTestFunctional.class.php at line 63)
# got: 'index'
# expected: 'login'
not ok 35 - status code is 200
# Failed test (C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\lib\test\sfTesterResponse.class.php at line 398)
# got: 404
# expected: 200
not ok 36 - response selector body matches regex /Login Required/i
# Failed test (C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\lib\test\sfTesterResponse.class.php at line 104)
# '
404 | Not Found | sfError404Exception
Action "login/index" does not exist.
stack trace
at ()in SF_SYMFONY_LIB_DIR\controller\sfController.class.php line 192 ... $this->dispatcher->notify(new sfEvent($this, 'application.log', array(sprintf('Action "%s/%s" does not exist', $moduleName, $actionName))));
}
throw new sfError404Exception(sprintf('Action "%s/%s" does not exist.', $moduleName, $actionName));
}
// create an instance of the actionat sfController->forward('login', 'index')in SF_SYMFONY_LIB_DIR\filter\sfBasicSecurityFilter.class.php line 94 ... */
protected function forwardToLoginAction()
{
$this->context->getController()->forward(sfConfig::get('sf_login_module'), sfConfig::get('sf_login_action'));
throw new sfStopException();
}at sfBasicSecurityFilter->forwardToLoginAction()in SF_SYMFONY_LIB_DIR\filter\sfBasicSecurityFilter.class.php line 55 ... }
// the user is not authenticated
$this->forwardToLoginAction();
}
// the user is authenticatedat sfBasicSecurityFilter->execute(object('sfFilterChain'))in SF_SYMFONY_LIB_DIR\filter\sfFilterChain.class.php line 53 ... }
// execute the next filter
$this->chain[$this->index]->execute($this);
}
}
at sfFilterChain->execute()in SF_SYMFONY_LIB_DIR\util\sfBrowser.class.php line 165 ...{
public function execute($filterChain)
{
$filterChain->execute();
$this->context->getResponse()->sendContent();
}at sfFakeRenderingFilter->execute(object('sfFilterChain'))in SF_SYMFONY_LIB_DIR\filter\sfFilterChain.class.php line 53 ... }
// execute the next filter
$this->chain[$this->index]->execute($this);
}
}
at sfFilterChain->execute()in SF_SYMFONY_LIB_DIR\controller\sfController.class.php line 229 ... }
// process the filter chain
$filterChain->execute();
}
else
{at sfController->forward('configSecurityIsSecureAction', 'index')in SF_SYMFONY_LIB_DIR\controller\sfFrontWebController.class.php line 48 ... }
// make the first request
$this->forward($moduleName, $actionName);
}
catch (sfException $e)
{at sfFrontWebController->dispatch()in SF_SYMFONY_LIB_DIR\util\sfBrowser.class.php line 43 ...
// dispatch our request
ob_start();
$this->context->getController()->dispatch();
$retval = ob_get_clean();
// append retval to the response contentat sfBrowser->doCall()in SF_SYMFONY_LIB_DIR\util\sfBrowserBase.class.php line 323 ... $_COOKIE[$name] = $cookie['value'];
}
$this->doCall();
$response = $this->getResponse();
at sfBrowserBase->call('/configSecurityIsSecureAction/index', 'get', array(), 1)in SF_SYMFONY_LIB_DIR\test\sfTestFunctionalBase.class.php line 246 ... $tester->prepare();
}
$this->browser->call($uri, $method, $parameters, $changeStack);
return $this;
}at sfTestFunctionalBase->call('/configSecurityIsSecureAction/index', 'get', array(), 1)in SF_SYMFONY_LIB_DIR\test\sfTestFunctionalBase.class.php line 184 ... */
public function get($uri, $parameters = array(), $changeStack = true)
{
return $this->call($uri, 'get', $parameters, $changeStack);
}
/**at sfTestFunctionalBase->get('/configSecurityIsSecureAction/index')in C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\genericTest.php line 116 ...
// security.yml: case sensitivity
$b->
get('/configSecurityIsSecureAction/index')->
with('request')->begin()->
isForwardedTo('default', 'login')->
end()->
symfony settings ...
mod_configsecurityissecureaction_enabled: true
mod_configsecurityissecureaction_view_class: sfPHP
sf_admin_module_web_dir: /sfPropelPlugin
sf_admin_web_dir: /sf/sf_admin
sf_app: frontend
sf_app_base_cache_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\cache\frontend'
sf_app_cache_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\cache\frontend\test'
sf_app_config_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\apps\frontend\config'
sf_app_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\apps\frontend'
sf_app_i18n_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\apps\frontend\i18n'
sf_app_lib_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\apps\frontend\lib'
sf_app_module_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\apps\frontend\modules'
sf_app_template_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\apps\frontend\templates'
sf_apps_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\apps'
sf_autoloading_functions:
- [myAutoload, autoload]
sf_cache: false
sf_cache_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\cache'
sf_charset: utf-8
sf_check_lock: false
sf_compressed: false
sf_config_cache_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\cache\frontend\test\config'
sf_config_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\config'
sf_csrf_secret: false
sf_data_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\data'
sf_debug: true
sf_default_culture: en
sf_enabled_modules:
- default
- autoloadPlugin
sf_environment: test
sf_error_404_action: error404
sf_error_404_module: default
sf_error_reporting: 8183
sf_escaping_method: ESC_SPECIALCHARS
sf_escaping_strategy: false
sf_etag: false
sf_file_link_format: null
sf_i18n: false
sf_i18n_cache_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\cache\frontend\test\i18n'
sf_lib_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\lib'
sf_log_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\log'
sf_logging_enabled: true
sf_login_action: index
sf_login_module: login
sf_module_cache_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\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: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\plugins'
sf_rendering_filter:
- sfFakeRenderingFilter
- null
sf_root_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures'
sf_secure_action: index
sf_secure_module: login
sf_standard_helpers:
- Partial
- Cache
sf_symfony_lib_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\lib'
sf_template_cache_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\cache\frontend\test\template'
sf_test: true
sf_test_cache_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\cache\frontend\test\test'
sf_test_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\test'
sf_upload_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\web\uploads'
sf_use_database: true
sf_web_debug: false
sf_web_debug_web_dir: /sf/sf_web_debug
sf_web_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\web'
request ...
options:
path_info_key: PATH_INFO
path_info_array: SERVER
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: false
parameterHolder:
action: index
module: configSecurityIsSecureAction
attributeHolder:
sf_route: 'sfRoute Object()'
response ...
status:
code: 404
text: 'Not Found'
options:
http_protocol: HTTP/1.1
logging: '1'
charset: utf-8
send_http_headers: false
content_type: 'text/html; charset=utf-8'
cookies: { }
httpHeaders:
Content-Type: 'text/html; charset=utf-8'
javascripts: { }
stylesheets: { }
metas: { }
httpMetas: { }
user ...
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: { }
post: { }
server:
COMSPEC: 'C:\WINDOWS\system32\cmd.exe'
DOCUMENT_ROOT: 'C:/wamp/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: localhost
HTTP_REFERER: 'http://localhost/configSecurityIsSecure'
HTTP_USER_AGENT: PHP5/CLI
HTTP_VIA: '1.1 squid-proxy-5b5d847c96-srpnh (squid/6.13)'
HTTP_X_FORWARDED_FOR: 10.1.130.43
PATH: 'C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Dell\SysMgt\RAC5;C:\Program Files\Dell\SysMgt\oma\bin;C:\Program Files\Dell\SysMgt\oma\oldiags\bin;C:\wamp\bin\php\php5.2.9-2'
PATHEXT: .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PATH_INFO: /configSecurityIsSecureAction/index
PHP_SELF: /projet_symfony/sysmed/lib/vendor/symfony-1.4.0/test/functional/genericTest.php
QUERY_STRING: ''
REMOTE_ADDR: 127.0.0.1
REMOTE_PORT: '8866'
REQUEST_METHOD: GET
REQUEST_TIME: 1775663782
REQUEST_URI: /index.php/configSecurityIsSecureAction/index
SCRIPT_FILENAME: /index.php
SCRIPT_NAME: /index.php
SERVER_ADDR: 192.168.21.252
SERVER_ADMIN: admin@localhost
SERVER_NAME: localhost
SERVER_PORT: 80
SERVER_PROTOCOL: HTTP/1.1
SERVER_SIGNATURE: ''
SERVER_SOFTWARE: 'Apache/2.2.11 (Win32) PHP/5.2.9-2'
SystemRoot: 'C:\WINDOWS'
WINDIR: 'C:\WINDOWS'
session_id: 94ccfc57d79a7f6174f797eb40cba361
symfony v.1.4.0 - php 5.2.9-2
for help resolving this issue, please visit http://www.symfony-project.org/.
'
# doesn't match '/Login Required/i'
# get /configSecurityIsSecureAction/Index
not ok 37 - request is forwarded to the default module (last)
# Failed test (C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\lib\test\sfTestFunctional.class.php at line 62)
# got: 'configSecurityIsSecureAction'
# expected: 'default'
not ok 38 - request is forwarded to the login action (last)
# Failed test (C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\lib\test\sfTestFunctional.class.php at line 63)
# got: 'Index'
# expected: 'login'
not ok 39 - status code is 200
# Failed test (C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\lib\test\sfTesterResponse.class.php at line 398)
# got: 404
# expected: 200
not ok 40 - response selector body matches regex /Login Required/i
# Failed test (C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\lib\test\sfTesterResponse.class.php at line 104)
# '
404 | Not Found | sfError404Exception
Action "login/index" does not exist.
stack trace
at ()in SF_SYMFONY_LIB_DIR\controller\sfController.class.php line 192 ... $this->dispatcher->notify(new sfEvent($this, 'application.log', array(sprintf('Action "%s/%s" does not exist', $moduleName, $actionName))));
}
throw new sfError404Exception(sprintf('Action "%s/%s" does not exist.', $moduleName, $actionName));
}
// create an instance of the actionat sfController->forward('login', 'index')in SF_SYMFONY_LIB_DIR\filter\sfBasicSecurityFilter.class.php line 94 ... */
protected function forwardToLoginAction()
{
$this->context->getController()->forward(sfConfig::get('sf_login_module'), sfConfig::get('sf_login_action'));
throw new sfStopException();
}at sfBasicSecurityFilter->forwardToLoginAction()in SF_SYMFONY_LIB_DIR\filter\sfBasicSecurityFilter.class.php line 55 ... }
// the user is not authenticated
$this->forwardToLoginAction();
}
// the user is authenticatedat sfBasicSecurityFilter->execute(object('sfFilterChain'))in SF_SYMFONY_LIB_DIR\filter\sfFilterChain.class.php line 53 ... }
// execute the next filter
$this->chain[$this->index]->execute($this);
}
}
at sfFilterChain->execute()in SF_SYMFONY_LIB_DIR\util\sfBrowser.class.php line 165 ...{
public function execute($filterChain)
{
$filterChain->execute();
$this->context->getResponse()->sendContent();
}at sfFakeRenderingFilter->execute(object('sfFilterChain'))in SF_SYMFONY_LIB_DIR\filter\sfFilterChain.class.php line 53 ... }
// execute the next filter
$this->chain[$this->index]->execute($this);
}
}
at sfFilterChain->execute()in SF_SYMFONY_LIB_DIR\controller\sfController.class.php line 229 ... }
// process the filter chain
$filterChain->execute();
}
else
{at sfController->forward('configSecurityIsSecureAction', 'Index')in SF_SYMFONY_LIB_DIR\controller\sfFrontWebController.class.php line 48 ... }
// make the first request
$this->forward($moduleName, $actionName);
}
catch (sfException $e)
{at sfFrontWebController->dispatch()in SF_SYMFONY_LIB_DIR\util\sfBrowser.class.php line 43 ...
// dispatch our request
ob_start();
$this->context->getController()->dispatch();
$retval = ob_get_clean();
// append retval to the response contentat sfBrowser->doCall()in SF_SYMFONY_LIB_DIR\util\sfBrowserBase.class.php line 323 ... $_COOKIE[$name] = $cookie['value'];
}
$this->doCall();
$response = $this->getResponse();
at sfBrowserBase->call('/configSecurityIsSecureAction/Index', 'get', array(), 1)in SF_SYMFONY_LIB_DIR\test\sfTestFunctionalBase.class.php line 246 ... $tester->prepare();
}
$this->browser->call($uri, $method, $parameters, $changeStack);
return $this;
}at sfTestFunctionalBase->call('/configSecurityIsSecureAction/Index', 'get', array(), 1)in SF_SYMFONY_LIB_DIR\test\sfTestFunctionalBase.class.php line 184 ... */
public function get($uri, $parameters = array(), $changeStack = true)
{
return $this->call($uri, 'get', $parameters, $changeStack);
}
/**at sfTestFunctionalBase->get('/configSecurityIsSecureAction/Index')in C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\genericTest.php line 127 ...;
$b->
get('/configSecurityIsSecureAction/Index')->
with('request')->begin()->
isForwardedTo('default', 'login')->
end()->
symfony settings ...
mod_configsecurityissecureaction_enabled: true
mod_configsecurityissecureaction_view_class: sfPHP
sf_admin_module_web_dir: /sfPropelPlugin
sf_admin_web_dir: /sf/sf_admin
sf_app: frontend
sf_app_base_cache_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\cache\frontend'
sf_app_cache_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\cache\frontend\test'
sf_app_config_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\apps\frontend\config'
sf_app_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\apps\frontend'
sf_app_i18n_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\apps\frontend\i18n'
sf_app_lib_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\apps\frontend\lib'
sf_app_module_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\apps\frontend\modules'
sf_app_template_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\apps\frontend\templates'
sf_apps_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\apps'
sf_autoloading_functions:
- [myAutoload, autoload]
sf_cache: false
sf_cache_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\cache'
sf_charset: utf-8
sf_check_lock: false
sf_compressed: false
sf_config_cache_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\cache\frontend\test\config'
sf_config_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\config'
sf_csrf_secret: false
sf_data_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\data'
sf_debug: true
sf_default_culture: en
sf_enabled_modules:
- default
- autoloadPlugin
sf_environment: test
sf_error_404_action: error404
sf_error_404_module: default
sf_error_reporting: 8183
sf_escaping_method: ESC_SPECIALCHARS
sf_escaping_strategy: false
sf_etag: false
sf_file_link_format: null
sf_i18n: false
sf_i18n_cache_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\cache\frontend\test\i18n'
sf_lib_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\lib'
sf_log_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\log'
sf_logging_enabled: true
sf_login_action: index
sf_login_module: login
sf_module_cache_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\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: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\plugins'
sf_rendering_filter:
- sfFakeRenderingFilter
- null
sf_root_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures'
sf_secure_action: index
sf_secure_module: login
sf_standard_helpers:
- Partial
- Cache
sf_symfony_lib_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\lib'
sf_template_cache_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\cache\frontend\test\template'
sf_test: true
sf_test_cache_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\cache\frontend\test\test'
sf_test_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\test'
sf_upload_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\web\uploads'
sf_use_database: true
sf_web_debug: false
sf_web_debug_web_dir: /sf/sf_web_debug
sf_web_dir: 'C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\web'
request ...
options:
path_info_key: PATH_INFO
path_info_array: SERVER
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: false
parameterHolder:
action: Index
module: configSecurityIsSecureAction
attributeHolder:
sf_route: 'sfRoute Object()'
response ...
status:
code: 404
text: 'Not Found'
options:
http_protocol: HTTP/1.1
logging: '1'
charset: utf-8
send_http_headers: false
content_type: 'text/html; charset=utf-8'
cookies: { }
httpHeaders:
Content-Type: 'text/html; charset=utf-8'
javascripts: { }
stylesheets: { }
metas: { }
httpMetas: { }
user ...
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: { }
post: { }
server:
COMSPEC: 'C:\WINDOWS\system32\cmd.exe'
DOCUMENT_ROOT: 'C:/wamp/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: localhost
HTTP_REFERER: 'http://localhost/configSecurityIsSecureAction/index'
HTTP_USER_AGENT: PHP5/CLI
HTTP_VIA: '1.1 squid-proxy-5b5d847c96-srpnh (squid/6.13)'
HTTP_X_FORWARDED_FOR: 10.1.130.43
PATH: 'C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Dell\SysMgt\RAC5;C:\Program Files\Dell\SysMgt\oma\bin;C:\Program Files\Dell\SysMgt\oma\oldiags\bin;C:\wamp\bin\php\php5.2.9-2'
PATHEXT: .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PATH_INFO: /configSecurityIsSecureAction/Index
PHP_SELF: /projet_symfony/sysmed/lib/vendor/symfony-1.4.0/test/functional/genericTest.php
QUERY_STRING: ''
REMOTE_ADDR: 127.0.0.1
REMOTE_PORT: '8866'
REQUEST_METHOD: GET
REQUEST_TIME: 1775663782
REQUEST_URI: /index.php/configSecurityIsSecureAction/Index
SCRIPT_FILENAME: /index.php
SCRIPT_NAME: /index.php
SERVER_ADDR: 192.168.21.252
SERVER_ADMIN: admin@localhost
SERVER_NAME: localhost
SERVER_PORT: 80
SERVER_PROTOCOL: HTTP/1.1
SERVER_SIGNATURE: ''
SERVER_SOFTWARE: 'Apache/2.2.11 (Win32) PHP/5.2.9-2'
SystemRoot: 'C:\WINDOWS'
WINDIR: 'C:\WINDOWS'
session_id: 94ccfc57d79a7f6174f797eb40cba361
symfony v.1.4.0 - php 5.2.9-2
for help resolving this issue, please visit http://www.symfony-project.org/.
'
# doesn't match '/Login Required/i'
# get /configSettingsMaxForwards/selfForward
ok 41 - status code is 500
ok 42 - response exception message matches regex /Too many forwards have been detected for this request/i
# get /configFiltersSimpleFilter
ok 43 - status code is 200
ok 44 - response selector body matches regex /in a filter/i
ok 45 - response selector body does not match regex /congratulation/i
# get /assetInclusion/index
ok 46 - status code is 200
ok 47 - response selector head link[rel=stylesheet] does not exist
ok 48 - response selector head script[type=text/javascript] does not exist
# get /autoload/index
ok 49 - status code is 200
ok 50 - response selector #lib1 matches pong
ok 51 - response selector #lib2 matches pong
ok 52 - response selector #lib3 matches pong
ok 53 - response selector #lib4 matches nopong
# get /autoloadPlugin/index
ok 54 - status code is 200
ok 55 - response selector #lib1 matches pong
ok 56 - response selector #lib2 matches pong
ok 57 - response selector #lib3 matches pong
# get /renderText
ok 58 - status code is 200
ok 59 - response content matches regex /foo/
# get /view
ok 60 - status code is 200
ok 61 - response header Content-Type is text/html; charset=utf-8 (text/html; charset=utf-8)
ok 62 - response selector head title matches foo title
# get /view/plain
ok 63 - response header Content-Type is text/plain; charset=utf-8 (text/plain; charset=utf-8)
ok 64 - status code is 200
ok 65 - response content matches regex //
ok 66 - response content matches regex /plaintext/
# get /view/image
ok 67 - status code is 200
ok 68 - response header Content-Type is image/jpg (image/jpg)
ok 69 - response content matches regex /image/
# get /presentation
ok 70 - status code is 200
ok 71 - response selector #foo matches foo
ok 72 - response selector #foo_bis matches foo
exception 'RuntimeException' with message 'PHP sent a "warning" error at C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\lib\util\sfToolkit.class.php line 87 (unlink(C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\functional\fixtures\log/frontend_test.log) [function.unlink]: Permission denied)' in C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\lib\test\sfTestFunctionalBase.class.php:459
Stack trace:
#0 [internal function]: sfTestFunctionalBase->handlePhpError(2, 'unlink(C:\wamp\...', 'C:\wamp\www\pro...', 87, Array)
#1 C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\lib\util\sfToolkit.class.php(87): unlink('C:\wamp\www\pro...')
#2 C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\bootstrap\functional.php(34): sfToolkit::clearDirectory('C:\wamp\www\pro...')
#3 C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\test\bootstrap\functional.php(65): sf_functional_test_shutdown_cleanup()
#4 [internal function]: sf_functional_test_shutdown()
#5 {main}
1..72
# Looks like you failed 13 tests of 72.