Guest User

Untitled

a guest
May 25th, 2018
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.18 KB | None | 0 0
  1. AgaviParseException
  2. This is an internal Agavi exception. Please consult the documentation for assistance with solving this issue.
  3.  
  4. An exception of type AgaviParseException was thrown, but did not get caught during the execution of the request. You will find information provided by the exception along with a stack trace below.
  5.  
  6. RELAX NG validation of configuration file "file:///C:/Documents%20and%20Settings/btiernay/workspace/smn/app/modules/Default/validate/Progress.xml" failed:
  7.  
  8. RELAX NG validation with "C:\Documents and Settings\btiernay\workspace\smn\libs\agavi/config/rng/validators.rng" failed due to the following errors:
  9.  
  10. Line 0: Extra element validators in interleave
  11.  
  12. Line 3: Invalid sequence in interleave
  13.  
  14. Line 3: Element configuration failed to validate content
  15.  
  16. Line 0: Extra element configuration in interleave
  17.  
  18. Line 3: Element configurations failed to validate content
  19.  
  20.  
  21. Stack Trace
  22. at exception origin
  23. in core.agavi_dir\config\AgaviXmlConfigParser.class.php line 836
  24. try {
  25.  
  26. @$document->relaxNGValidate($validationFile);
  27.  
  28. } catch(DOMException $dome) {
  29.  
  30. throw new AgaviParseException(sprintf('RELAX NG validation of configuration file "%s" failed: ' . "\n\n%s", $document->documentURI, $dome->getMessage()));
  31.  
  32. }
  33.  
  34. }
  35.  
  36. }
  37.  
  38. at AgaviXmlConfigParser::validateRelaxng([object AgaviXmlConfigDomDocument], array('C:\\Documents and Settings … config/rng/validators.rng'))
  39. in core.agavi_dir\config\AgaviXmlConfigParser.class.php line 697
  40. self::validateXmlschema($document, (array) $files);
  41.  
  42. break;
  43.  
  44. case self::VALIDATION_TYPE_RELAXNG:
  45.  
  46. self::validateRelaxng($document, (array) $files);
  47.  
  48. break;
  49.  
  50. case self::VALIDATION_TYPE_SCHEMATRON:
  51.  
  52. self::validateSchematron($document, $environment, $context, (array) $files);
  53.  
  54. at AgaviXmlConfigParser::validate([object AgaviXmlConfigDomDocument], 'development', 'web', array('relax_ng' => array('C:\\Documents and Settings … config/rng/validators.rng'), 'schematron' => array(), 'xml_schema' => array()))
  55. in core.agavi_dir\config\AgaviXmlConfigParser.class.php line 431
  56. }
  57.  
  58.  
  59.  
  60. // validate post-transformation
  61.  
  62. self::validate($this->doc, $this->environment, $this->context, $validationInfo[AgaviXmlConfigParser::STEP_TRANSFORMATIONS_AFTER]);
  63.  
  64.  
  65.  
  66. // clean up the document
  67.  
  68. self::cleanup($this->doc);
  69.  
  70. at AgaviXmlConfigParser->execute(array('C:\\Documents and Settings … config/xsl/validators.xsl'), array('transformations_before' => array('relax_ng' => array(), 'schematron' => array(), 'xml_schema' => array()), 'transformations_after' => array('relax_ng' => array('C:\\Documents and Settings … config/rng/validators.rng'), 'schematron' => array(), 'xml_schema' => array())))
  71. in core.agavi_dir\config\AgaviXmlConfigParser.class.php line 214
  72. while($nextPath !== null) {
  73.  
  74. // run the single stage parser
  75.  
  76. $parser = new AgaviXmlConfigParser($nextPath, $environment, $context);
  77.  
  78. $doc = $parser->execute($transformationInfo[self::STAGE_SINGLE], $validationInfo[self::STAGE_SINGLE]);
  79.  
  80.  
  81.  
  82. // put the new document in the list
  83.  
  84. $docs[] = $doc;
  85.  
  86. at AgaviXmlConfigParser::run('C:/Documents and Settings … ult/validate/Progress.xml', 'development', 'web', array('single' => array('C:\\Documents and Settings … config/xsl/validators.xsl'), 'compilation' => array()), array('single' => array('transformations_before' => array('relax_ng' => array(), 'schematron' => array(), 'xml_schema' => array()), 'transformations_after' => array('relax_ng' => array('C:\\Documents and Settings … config/rng/validators.rng'), 'schematron' => array(), 'xml_schema' => array())), 'compilation' => array('transformations_before' => array('relax_ng' => array(), 'schematron' => array(), 'xml_schema' => array()), 'transformations_after' => array('relax_ng' => array(), 'schematron' => array(), 'xml_schema' => array()))))
  87. in core.agavi_dir\config\AgaviConfigCache.class.php line 124
  88. if($handler instanceof AgaviIXmlConfigHandler) {
  89.  
  90. // a new-style config handler
  91.  
  92. // it does not parse the config itself; instead, it is given a complete and merged DOM document
  93.  
  94. $doc = AgaviXmlConfigParser::run($config, AgaviConfig::get('core.environment'), $context, $handlerInfo['transformations'], $handlerInfo['validations']);
  95.  
  96.  
  97.  
  98. if($context !== null) {
  99.  
  100. $context = AgaviContext::getInstance($context);
  101.  
  102. at AgaviConfigCache::callHandler('C:/Documents and Settings … ult/validate/Progress.xml', 'C:/Documents and Settings … ult/validate/Progress.xml', 'C:\\Documents and Settings … s.xml_development_web.php', 'web')
  103. in core.agavi_dir\config\AgaviConfigCache.class.php line 184
  104.  
  105.  
  106. if(self::isModified($filename, $cache)) {
  107.  
  108. // configuration file has changed so we need to reparse it
  109.  
  110. self::callHandler($config, $filename, $cache, $context);
  111.  
  112. }
  113.  
  114.  
  115.  
  116. return $cache;
  117.  
  118. at AgaviConfigCache::checkConfig('C:\\Documents and Settings … ult/validate/Progress.xml', 'web')
  119. in core.app_dir\cache\config\Documents and Settings_btiernay_workspace_smn_app_config_compile.xml_development_.php line 1112
  120. )
  121.  
  122. );
  123.  
  124. if(is_readable($validationConfig)) {
  125.  
  126. require(AgaviConfigCache::checkConfig($validationConfig, $this->context->getName()));
  127.  
  128. }
  129.  
  130. $registerValidatorsMethod = 'register' . $method . 'Validators';
  131.  
  132. if(!method_exists($actionInstance, $registerValidatorsMethod)) {
  133.  
  134. at AgaviExecutionContainer->registerValidators()
  135. in core.app_dir\cache\config\Documents and Settings_btiernay_workspace_smn_app_config_compile.xml_development_.php line 1088
  136. $method = $this->getRequestMethod();
  137.  
  138. $requestData = $this->getRequestData();
  139.  
  140. $validated = true;
  141.  
  142. $this->registerValidators();
  143.  
  144. $validated = $validationManager->execute($requestData);
  145.  
  146. $validateMethod = 'validate' . $method;
  147.  
  148. if(!method_exists($actionInstance, $validateMethod)) {
  149.  
  150. at AgaviExecutionContainer->performValidation()
  151. in core.app_dir\cache\config\Documents and Settings_btiernay_workspace_smn_app_config_compile.xml_development_.php line 1038
  152. if($actionInstance->isSimple() || ($useGenericMethods && !method_exists($actionInstance, $executeMethod))) {
  153.  
  154. $viewName = $actionInstance->getDefaultViewName();
  155.  
  156. } else {
  157.  
  158. if($this->performValidation()) {
  159.  
  160. $key = $request->toggleLock();
  161.  
  162. try {
  163.  
  164. $viewName = $actionInstance->$executeMethod($requestData);
  165.  
  166. at AgaviExecutionContainer->runAction()
  167. in core.app_dir\cache\config\Documents and Settings_btiernay_workspace_smn_app_config_compile.xml_development_.php line 1523
  168. while(true) {
  169.  
  170. if(!$isActionCached) {
  171.  
  172. $actionCache = array();
  173.  
  174. list($actionCache['view_module'], $actionCache['view_name']) = $container->runAction();
  175.  
  176. if(isset($rememberTheView) && $actionCache != $rememberTheView) {
  177.  
  178. $ourClass = get_class($this);
  179.  
  180. call_user_func(array($ourClass, 'clearCache'), $groups);
  181.  
  182. at AgaviExecutionFilter->execute([object AgaviFilterChain], [object AgaviExecutionContainer])
  183. in core.app_dir\cache\config\Documents and Settings_btiernay_workspace_smn_app_config_compile.xml_development_.php line 1345
  184. }
  185.  
  186. public function executeOnce(AgaviFilterChain $filterChain, AgaviExecutionContainer $container)
  187.  
  188. {
  189.  
  190. $this->execute($filterChain, $container);
  191.  
  192. }
  193.  
  194. public function execute(AgaviFilterChain $filterChain, AgaviExecutionContainer $container)
  195.  
  196. {
  197.  
  198. at AgaviFilter->executeOnce([object AgaviFilterChain], [object AgaviExecutionContainer])
  199. in core.app_dir\cache\config\Documents and Settings_btiernay_workspace_smn_app_config_compile.xml_development_.php line 1750
  200. $filter = $this->chain[$this->index];
  201.  
  202. $count = ++self::$filterLog[$this->filterLogKey][get_class($filter)];
  203.  
  204. if($count == 1) {
  205.  
  206. $filter->executeOnce($this, $container);
  207.  
  208. } else {
  209.  
  210. $filter->execute($this, $container);
  211.  
  212. }
  213.  
  214. at AgaviFilterChain->execute([object AgaviExecutionContainer])
  215. in core.agavi_dir\filter\AgaviExecutionTimeFilter.class.php line 64
  216. $replace = $this->getParameter('replace', false);
  217.  
  218.  
  219.  
  220. $start = microtime(true);
  221.  
  222. $filterChain->execute($container);
  223.  
  224.  
  225.  
  226. $response = $container->getResponse();
  227.  
  228.  
  229.  
  230. at AgaviExecutionTimeFilter->execute([object AgaviFilterChain], [object AgaviExecutionContainer])
  231. in core.app_dir\cache\config\Documents and Settings_btiernay_workspace_smn_app_config_compile.xml_development_.php line 1345
  232. }
  233.  
  234. public function executeOnce(AgaviFilterChain $filterChain, AgaviExecutionContainer $container)
  235.  
  236. {
  237.  
  238. $this->execute($filterChain, $container);
  239.  
  240. }
  241.  
  242. public function execute(AgaviFilterChain $filterChain, AgaviExecutionContainer $container)
  243.  
  244. {
  245.  
  246. at AgaviFilter->executeOnce([object AgaviFilterChain], [object AgaviExecutionContainer])
  247. in core.app_dir\cache\config\Documents and Settings_btiernay_workspace_smn_app_config_compile.xml_development_.php line 1750
  248. $filter = $this->chain[$this->index];
  249.  
  250. $count = ++self::$filterLog[$this->filterLogKey][get_class($filter)];
  251.  
  252. if($count == 1) {
  253.  
  254. $filter->executeOnce($this, $container);
  255.  
  256. } else {
  257.  
  258. $filter->execute($this, $container);
  259.  
  260. }
  261.  
  262. at AgaviFilterChain->execute([object AgaviExecutionContainer])
  263. in core.agavi_dir\filter\AgaviSecurityFilter.class.php line 73
  264. // used to retrieve such data and should never have to be altered
  265.  
  266. if($user->isAuthenticated() && ($credential === null || $user->hasCredentials($credential))) {
  267.  
  268. // the user has access, continue
  269.  
  270. $filterChain->execute($container);
  271.  
  272. } else {
  273.  
  274. if($user->isAuthenticated()) {
  275.  
  276. // the user doesn't have access
  277.  
  278. at AgaviSecurityFilter->execute([object AgaviFilterChain], [object AgaviExecutionContainer])
  279. in core.app_dir\cache\config\Documents and Settings_btiernay_workspace_smn_app_config_compile.xml_development_.php line 1345
  280. }
  281.  
  282. public function executeOnce(AgaviFilterChain $filterChain, AgaviExecutionContainer $container)
  283.  
  284. {
  285.  
  286. $this->execute($filterChain, $container);
  287.  
  288. }
  289.  
  290. public function execute(AgaviFilterChain $filterChain, AgaviExecutionContainer $container)
  291.  
  292. {
  293.  
  294. at AgaviFilter->executeOnce([object AgaviFilterChain], [object AgaviExecutionContainer])
  295. in core.app_dir\cache\config\Documents and Settings_btiernay_workspace_smn_app_config_compile.xml_development_.php line 1750
  296. $filter = $this->chain[$this->index];
  297.  
  298. $count = ++self::$filterLog[$this->filterLogKey][get_class($filter)];
  299.  
  300. if($count == 1) {
  301.  
  302. $filter->executeOnce($this, $container);
  303.  
  304. } else {
  305.  
  306. $filter->execute($this, $container);
  307.  
  308. }
  309.  
  310. at AgaviFilterChain->execute([object AgaviExecutionContainer])
  311. in core.app_dir\cache\config\Documents and Settings_btiernay_workspace_smn_app_config_compile.xml_development_.php line 972
  312. $controller->loadFilters($filterChain, 'action', $moduleName);
  313.  
  314. }
  315.  
  316. $filterChain->register($controller->getFilter('execution'));
  317.  
  318. $filterChain->execute($this);
  319.  
  320. }
  321.  
  322. return $this->proceed();
  323.  
  324. }
  325.  
  326. at AgaviExecutionContainer->execute()
  327. in core.app_dir\cache\config\Documents and Settings_btiernay_workspace_smn_app_config_compile.xml_development_.php line 1356
  328. {
  329.  
  330. public function execute(AgaviFilterChain $filterChain, AgaviExecutionContainer $container)
  331.  
  332. {
  333.  
  334. $container->setResponse($container->execute());
  335.  
  336. }
  337.  
  338. }
  339.  
  340. class AgaviExecutionFilter extends AgaviFilter implements AgaviIActionFilter
  341.  
  342. at AgaviDispatchFilter->execute([object AgaviFilterChain], [object AgaviExecutionContainer])
  343. in core.app_dir\cache\config\Documents and Settings_btiernay_workspace_smn_app_config_compile.xml_development_.php line 1345
  344. }
  345.  
  346. public function executeOnce(AgaviFilterChain $filterChain, AgaviExecutionContainer $container)
  347.  
  348. {
  349.  
  350. $this->execute($filterChain, $container);
  351.  
  352. }
  353.  
  354. public function execute(AgaviFilterChain $filterChain, AgaviExecutionContainer $container)
  355.  
  356. {
  357.  
  358. at AgaviFilter->executeOnce([object AgaviFilterChain], [object AgaviExecutionContainer])
  359. in core.app_dir\cache\config\Documents and Settings_btiernay_workspace_smn_app_config_compile.xml_development_.php line 1750
  360. $filter = $this->chain[$this->index];
  361.  
  362. $count = ++self::$filterLog[$this->filterLogKey][get_class($filter)];
  363.  
  364. if($count == 1) {
  365.  
  366. $filter->executeOnce($this, $container);
  367.  
  368. } else {
  369.  
  370. $filter->execute($this, $container);
  371.  
  372. }
  373.  
  374. at AgaviFilterChain->execute([object AgaviExecutionContainer])
  375. in core.agavi_dir\filter\AgaviFormPopulationFilter.class.php line 78
  376. */
  377.  
  378. public function executeOnce(AgaviFilterChain $filterChain, AgaviExecutionContainer $container)
  379.  
  380. {
  381.  
  382. $filterChain->execute($container);
  383.  
  384. $response = $container->getResponse();
  385.  
  386.  
  387.  
  388. if(!$response->isContentMutable() || !($output = $response->getContent())) {
  389.  
  390. at AgaviFormPopulationFilter->executeOnce([object AgaviFilterChain], [object AgaviExecutionContainer])
  391. in core.app_dir\cache\config\Documents and Settings_btiernay_workspace_smn_app_config_compile.xml_development_.php line 1750
  392. $filter = $this->chain[$this->index];
  393.  
  394. $count = ++self::$filterLog[$this->filterLogKey][get_class($filter)];
  395.  
  396. if($count == 1) {
  397.  
  398. $filter->executeOnce($this, $container);
  399.  
  400. } else {
  401.  
  402. $filter->execute($this, $container);
  403.  
  404. }
  405.  
  406. at AgaviFilterChain->execute([object AgaviExecutionContainer])
  407. in core.app_dir\cache\config\Documents and Settings_btiernay_workspace_smn_app_config_compile.xml_development_.php line 687
  408. $filterChain = $this->context->createInstanceFor('filter_chain');
  409.  
  410. $this->loadFilters($filterChain, 'global');
  411.  
  412. $filterChain->register($this->filters['dispatch']);
  413.  
  414. $filterChain->execute($container);
  415.  
  416. $response = $container->getResponse();
  417.  
  418. $response->merge($this->response);
  419.  
  420. if($this->getParameter('send_response')) {
  421.  
  422. at AgaviController->dispatch()
  423. in _C:\Documents and Settings\btiernay\workspace\smn\pub\index.php line 34
  424. // +---------------------------------------------------------------------------+
  425.  
  426. // | Call the controller's dispatch method on the default context |
  427.  
  428. // +---------------------------------------------------------------------------+
  429.  
  430. AgaviContext::getInstance('web')->getController()->dispatch();
  431.  
  432.  
  433.  
  434. ?>
  435.  
  436. Version Information
  437. Agavi:
  438. 1.0.0-dev
  439. PHP:
  440. 5.2.6
  441. System:
  442. Windows NT WS20 5.1 build 2600
  443. Timestamp:
  444. 2008-11-01T13:31:37+0000
Add Comment
Please, Sign In to add comment