1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312
| 500 | Internal Server Error | InvalidArgumentException
Widget schema does not include the following field(s): field1, field2, field3
stack trace
1.at ()
in SF_ROOT_DIR\lib\vendor\symfony\lib\widget\sfWidgetFormSchema.class.php line 761 ...
758.
759. if ($diff = array_diff($positions, $current))
1. {
2. throw new InvalidArgumentException('Widget schema does not include the following field(s): '.implode(', ', $diff));
1. }
2.
3. if ($diff = array_diff($current, $positions))1.at sfWidgetFormSchema->setPositions(array('field1', 'field2', 'field3'))in SF_ROOT_DIR\lib\vendor\symfony\lib\form\sfForm.class.php line 1133 ...
if ($ordered)
{
$this->widgetSchema->setPositions(array_merge($fields, $hidden));
}
}
1.at sfForm->useFields(array('field1', 'field2', 'field3'))in SF_ROOT_DIR\lib\filter\doctrine\myForm.class.php line 4 ...
<?php
class JobeetJobForm extends BaseTRANSACTIONSFormFilter {
public function configure() {
$this->useFields(array('field1', 'field2', 'field3'));
$this->widgetSchema->setLabels(array(
'field1' => 'toto',
1.at JobeetJobForm->configure()in SF_ROOT_DIR\lib\vendor\symfony\lib\form\sfForm.class.php line 70 ... $this->errorSchema = new sfValidatorErrorSchema($this->validatorSchema);
$this->setup();
$this->configure();
$this->addCSRFProtection($this->localCSRFSecret);
$this->resetFormFields();1.at sfForm->__construct(array(), array(), null)in SF_ROOT_DIR\lib\vendor\symfony\lib\form\addon\sfFormSymfony.class.php line 33 ... */
public function __construct($defaults = array(), $options = array(), $CSRFSecret = null)
{
parent::__construct($defaults, $options, $CSRFSecret);
if (self::$dispatcher)
{1.at sfFormSymfony->__construct()in SF_ROOT_DIR\apps\backend\modules\transactions\actions\actions.class.php line 35 ... }
public function executeTest(sfWebrequest $request) {
$this->form = new JobeetJobForm();
}
public function executeIndex(sfWebRequest $request)1.at transactionsActions->executeTest(object('sfWebRequest'))in SF_ROOT_DIR\lib\vendor\symfony\lib\action\sfActions.class.php line 60 ... }
// run action
return $this->$actionToRun($request);
}
}
8.at sfActions->execute(object('sfWebRequest'))in SF_ROOT_DIR\lib\vendor\symfony\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;1.at sfExecutionFilter->executeAction(object('transactionsActions'))in SF_ROOT_DIR\lib\vendor\symfony\lib\filter\sfExecutionFilter.class.php line 78 ... }
}
return $this->executeAction($actionInstance);
}
/**1.at sfExecutionFilter->handleAction(object('sfFilterChain'), object('transactionsActions'))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()));1.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);
}
}
1.at sfFilterChain->execute()in SF_ROOT_DIR\lib\sfCASRequiredFilter.class.php line 22 ... $this->getContext()->getLogger()->debug('{sfCASRequiredFilter} escaped CAS authentification');
$this->getContext()->getUser()->setCasId(sfConfig::get('app_cas_user_casId'));
$this->getContext()->getUser()->setAuthenticated(true);
$filterChain->execute();
return;
}
1.at sfCASRequiredFilter->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);
}
}
1.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();1.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);
}
}
1.at sfFilterChain->execute()in SF_ROOT_DIR\lib\vendor\symfony\lib\controller\sfController.class.php line 238 ... }
// process the filter chain
$filterChain->execute();
}
else
{1.at sfController->forward('transactions', 'Test')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)
{1.at sfFrontWebController->dispatch()in SF_ROOT_DIR\lib\vendor\symfony\lib\util\sfContext.class.php line 170 ... */
public function dispatch()
{
$this->getController()->dispatch();
}
/**1.at sfContext->dispatch()in SF_ROOT_DIR\web\backend_dev.php line 9 ...require_once(dirname(__FILE__).'/../config/ProjectConfiguration.class.php');
$configuration = ProjectConfiguration::getApplicationConfiguration('backend', 'dev', true);
sfContext::createInstance($configuration)->dispatch();
symfony settings ...
app_cas_log_file: 'C:\developpement\sfprojects\Frontal2\log/phpCAS.log'
app_cas_mode_fake_enabled: true
app_cas_pear_path: '.:/usr/share/pear'
app_cas_server_domain: cas-dev1.interne.fr
app_cas_server_path: cas
app_cas_server_port: 443
app_cas_user_casId: CT_TEST_85
app_cid_codeapp: 6B3BFFB6412FCBADCA189A57C30811BD22E828A2
app_cid_sf_upload_dir: /web/uploads/fichier_horodate
app_cid_soapwsdl: 'https://ioapp-dev1.interne.fr/services/FonctionApplicationAPI?wsdl'
app_default_texte_ok: 'Authentification réussie.'
app_formatdate: 'Y-m-d H:i:s'
app_hashcodesms: sha1
app_log_entreprise_file: 'C:\developpement\sfprojects\Frontal2\log/entreprise.log'
app_log_transactions_file: 'C:\developpement\sfprojects\Frontal2\log/transactions.log'
app_logger_maxlenght: 2
app_longueur_minimum_code: 6
app_path_to_webforoot: 'D:/DEV3/CertiSMS/trunk/web_FO/'
app_url_frontoffice: 'http://10.10.1.20:777/'
mod_transactions_enabled: true
mod_transactions_view_class: sfPHP
sf_admin_module_web_dir: /sfDoctrinePlugin
sf_admin_web_dir: /sf/sf_admin
sf_app: backend
sf_app_base_cache_dir: 'C:\developpement\sfprojects\Frontal2\cache\backend'
sf_app_cache_dir: 'C:\developpement\sfprojects\Frontal2\cache\backend\dev'
sf_app_config_dir: 'C:\developpement\sfprojects\Frontal2\apps\backend\config'
sf_app_dir: 'C:\developpement\sfprojects\Frontal2\apps\backend'
sf_app_i18n_dir: 'C:\developpement\sfprojects\Frontal2\apps\backend\i18n'
sf_app_lib_dir: 'C:\developpement\sfprojects\Frontal2\apps\backend\lib'
sf_app_module_dir: 'C:\developpement\sfprojects\Frontal2\apps\backend\modules'
sf_app_template_dir: 'C:\developpement\sfprojects\Frontal2\apps\backend\templates'
sf_apps_dir: 'C:\developpement\sfprojects\Frontal2\apps'
sf_cache: false
sf_cache_dir: 'C:\developpement\sfprojects\Frontal2\cache'
sf_charset: utf-8
sf_check_lock: false
sf_compressed: false
sf_config_cache_dir: 'C:\developpement\sfprojects\Frontal2\cache\backend\dev\config'
sf_config_dir: 'C:\developpement\sfprojects\Frontal2\config'
sf_csrf_secret: 8ec96004d5ab9ae502716960a8b43194b851a85e
sf_data_dir: 'C:\developpement\sfprojects\Frontal2\data'
sf_debug: true
sf_default_culture: fr_FR
sf_enabled_modules:
- default
sf_environment: dev
sf_error_404_action: error404
sf_error_404_module: default
sf_error_reporting: 32767
sf_escaping_method: ESC_SPECIALCHARS
sf_escaping_strategy: true
sf_etag: false
sf_file_link_format: null
sf_i18n: true
sf_i18n_cache_dir: 'C:\developpement\sfprojects\Frontal2\cache\backend\dev\i18n'
sf_lib_dir: 'C:\developpement\sfprojects\Frontal2\lib'
sf_log_dir: 'C:\developpement\sfprojects\Frontal2\log'
sf_logging_enabled: true
sf_login_action: login
sf_login_module: default
sf_module_cache_dir: 'C:\developpement\sfprojects\Frontal2\cache\backend\dev\modules'
sf_module_disabled_action: disabled
sf_module_disabled_module: default
sf_no_script_name: false
sf_orm: doctrine
sf_plugins_dir: 'C:\developpement\sfprojects\Frontal2\plugins'
sf_root_dir: 'C:\developpement\sfprojects\Frontal2'
sf_secure_action: secure
sf_secure_module: default
sf_standard_helpers:
- Partial
- Cache
- I18N
sf_symfony_lib_dir: 'C:\developpement\sfprojects\Frontal2\lib\vendor\symfony\lib'
sf_template_cache_dir: 'C:\developpement\sfprojects\Frontal2\cache\backend\dev\template'
sf_test_cache_dir: 'C:\developpement\sfprojects\Frontal2\cache\backend\dev\test'
sf_test_dir: 'C:\developpement\sfprojects\Frontal2\test'
sf_upload_dir: 'C:\developpement\sfprojects\Frontal2\web\uploads'
sf_use_database: true
sf_web_debug: true
sf_web_debug_web_dir: /sf/sf_web_debug
sf_web_dir: 'C:\developpement\sfprojects\Frontal2\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: false
parameterHolder:
action: Test
module: transactions
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: { }
user ...
options:
auto_shutdown: false
culture: null
default_culture: fr_FR
use_flash: true
logging: '1'
timeout: 1800
attributeHolder:
admin_module: { application.sort: [null, null], evenement.sort: [null, null], transactions.filters: { serial: Array, hash: { text: A3C618F942B015E100FB68750D537EAACFC4DF90 }, algo: SHA1, date_creation: { from: null, to: null }, file: null }, transactions.page: 1, transactions.sort: [null, null] }
culture: fr
authenticated: true
credentials:
- admin
- client
lastRequest: 1325782992
global vars ...
cookie:
symfony: 3div01dbhb9s5h5rp5603413k5
env: { }
files: { }
get: { }
post: { }
server:
COMSPEC: 'C:\WINDOWS\system32\cmd.exe'
DOCUMENT_ROOT: 'C:/developpement/sfprojects/Frontal2/web'
GATEWAY_INTERFACE: CGI/1.1
HTTP_ACCEPT: '*/*'
HTTP_ACCEPT_ENCODING: 'gzip, deflate'
HTTP_ACCEPT_LANGUAGE: fr
HTTP_CONNECTION: Keep-Alive
HTTP_COOKIE: symfony=3div01dbhb9s5h5rp5603413k5
HTTP_HOST: www.frontal2.com
HTTP_REFERER: 'http://www.frontal2.com/backend_dev.php/transactions'
HTTP_USER_AGENT: 'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E)'
PATH: 'C:\instantcleint;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Java\jdk1.6.0_12\bin;D:\Apps.dev\apache-ant-1.7.1\bin;C:\Program Files\WinSCP\;d:\Apps.dev\OpenSSL\bin\;C:\Program Files\UnxUtils\usr\local\wbin\;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;D:\0_leech\instantclient_11_2;C:\Program Files\Gemalto\Classic Client\BIN;C:\Program Files\Gemalto\IAS Middleware\BIN;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;C:\Program Files\TortoiseSVN\bin;C:\apache-ant-1.7.1\bin;"C:\Apache Software Foundation\apache-tomcat-5.5.33\bin";"C:\Apache Software Foundation\Test\apache-tomcat-6.0.33\bin";C:\wamp\bin\php\php5.3.8;C:\axis2-1.5.1\bin;;C:\WINDOWS\system32\WindowsPowerShell\v1.0'
PATHEXT: .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.PSC1
PATH_INFO: /transactions/test/
PATH_TRANSLATED: 'redirect:\index.php\test\'
PHP_SELF: /backend_dev.php/transactions/test/
QUERY_STRING: ''
REMOTE_ADDR: 127.0.0.1
REMOTE_PORT: '3373'
REQUEST_METHOD: GET
REQUEST_TIME: 1325782992
REQUEST_URI: /backend_dev.php/transactions/test/
SCRIPT_FILENAME: 'C:/developpement/sfprojects/Frontal2/web/backend_dev.php'
SCRIPT_NAME: /backend_dev.php
SERVER_ADDR: 127.0.0.1
SERVER_ADMIN: admin@localhost
SERVER_NAME: www.frontal2.com
SERVER_PORT: '80'
SERVER_PROTOCOL: HTTP/1.1
SERVER_SIGNATURE: ''
SERVER_SOFTWARE: 'Apache/2.2.21 (Win32) PHP/5.3.8'
SystemRoot: 'C:\WINDOWS'
WINDIR: 'C:\WINDOWS'
session:
symfony/user/sfUser/attributes: { admin_module: { transactions.sort: [null, null], transactions.page: 1, transactions.filters: { serial: Array, hash: { text: A3C618F942B015E100FB68750D537EAACFC4DF90 }, algo: SHA1, date_creation: { from: null, to: null }, file: null }, evenement.sort: [null, null], application.sort: [null, null] } }
symfony/user/sfUser/authenticated: true
symfony/user/sfUser/credentials: [admin, client]
symfony/user/sfUser/culture: fr
symfony/user/sfUser/lastRequest: 1325782969
symfony v.1.4.11 - php 5.3.8
for help resolving this issue, please visit http://www.symfony-project.org/. |