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
| stack trace
* at ()
in SF_SYMFONY_LIB_DIR\form\sfForm.class.php line 1049 ...
1046. {
1047. if (!$widget = $this->widgetSchema[$name])
1048. {
1049. throw new
InvalidArgumentException(sprintf('Widget "%s" does not exist.',
$name));
1050. }
1051.
1052. if ($this->isBound)
* at sfForm->offsetGet('maj')
in SF_ROOT_DIR\apps\frontend\modules\clients\templates\_form.php
line 73 ...
70. </td>
71. </tr>
72. <tr>
73. <th><?php echo $form['maj']->renderLabel() ?
></th>
74. <td>
75. <?php echo $form['maj']->renderError() ?>
76. <?php echo $form['maj'] ?>
* at require('C:\xampplite\htdocs\test-symfony\apps\frontend
\modules\clients\templates\_form.php')
in SF_SYMFONY_LIB_DIR\view\sfPHPView.class.php line 75 ...
72.
73. try
74. {
75. require($_sfFile);
76. }
77. catch (Exception $e)
78. {
* at sfPHPView->renderFile('C:\xampplite\htdocs\test-symfony\apps
\frontend\modules/clients/templates/_form.php')
in SF_SYMFONY_LIB_DIR\view\sfPartialView.class.php line 110 ...
107. $this->getAttributeHolder()->set('sf_type',
'partial');
108.
109. // render template
110. $retval = $this->renderFile($this-
>getDirectory().'/'.$this->getTemplate());
111. }
112. catch (Exception $e)
113. {
* at sfPartialView->render()
in SF_SYMFONY_LIB_DIR\helper\PartialHelper.php line 218 ...
215. $view = new $class($context, $moduleName,
$actionName, '');
216. $view->setPartialVars(true ===
sfConfig::get('sf_escaping_strategy') ?
sfOutputEscaper::unescape($vars) : $vars);
217.
218. return $view->render();
219. }
220.
221. /**
* at get_partial('form', array('form' => object('ClientsForm')))
in SF_SYMFONY_LIB_DIR\helper\PartialHelper.php line 180 ...
177. */
178. function include_partial($templateName, $vars =
array())
179. {
180. echo get_partial($templateName, $vars);
181. }
182.
183. /**
* at include_partial('form', array('form' =>
object('ClientsForm')))
in SF_ROOT_DIR\apps\frontend\modules\clients\templates
\newSuccess.php line 3 ...
1. <h1>New Clients</h1>
2.
3. <?php include_partial('form', array('form' =>
$form)) ?>
4.
* at require('C:\xampplite\htdocs\test-symfony\apps\frontend
\modules\clients\templates\newSuccess.php')
in SF_SYMFONY_LIB_DIR\view\sfPHPView.class.php line 75 ...
72.
73. try
74. {
75. require($_sfFile);
76. }
77. catch (Exception $e)
78. {
* at sfPHPView->renderFile('C:\xampplite\htdocs\test-symfony\apps
\frontend\modules/clients/templates/newSuccess.php')
in SF_SYMFONY_LIB_DIR\view\sfPHPView.class.php line 185 ...
182. $this->attributeHolder->set('sf_type',
'action');
183.
184. // render template file
185. $content = $this->renderFile($this-
>getDirectory().'/'.$this->getTemplate());
186.
187. if (sfConfig::get('sf_cache') && null !==
$uri)
188. {
* at sfPHPView->render()
in SF_SYMFONY_LIB_DIR\filter\sfExecutionFilter.class.php line
155 ...
152. break;
153.
154. case sfView::RENDER_CLIENT:
155. $viewData = $view->render();
156. $this->context->getResponse()-
>setContent($viewData);
157. break;
158.
* at sfExecutionFilter->executeView('clients', 'new', 'Success',
array('form' => object('ClientsForm')))
in SF_SYMFONY_LIB_DIR\filter\sfExecutionFilter.class.php line
116 ...
113. return;
114. }
115.
116. $this->executeView($actionInstance-
>getModuleName(), $actionInstance->getActionName(), $viewName,
$actionInstance->getVarHolder()->getAll());
117. }
118.
119. /**
* at sfExecutionFilter->handleView(object('sfFilterChain'),
object('clientsActions'), 'Success')
in SF_SYMFONY_LIB_DIR\filter\sfExecutionFilter.class.php line
47 ...
44. $timer->addTime();
45. $timer =
sfTimerManager::getTimer(sprintf('View "%s" for "%s/%s"', $viewName,
$actionInstance->getModuleName(), $actionInstance->getActionName()));
46.
47. $this->handleView($filterChain,
$actionInstance, $viewName);
48.
49. $timer->addTime();
50. }
* at sfExecutionFilter->execute(object('sfFilterChain'))
in SF_SYMFONY_LIB_DIR\filter\sfFilterChain.class.php line 53 ...
50. }
51.
52. // execute the next filter
53. $this->chain[$this->index]->execute($this);
54. }
55. }
56.
* at sfFilterChain->execute()
in SF_SYMFONY_LIB_DIR\filter\sfRenderingFilter.class.php line
33 ...
30. public function execute($filterChain)
31. {
32. // execute next filter
33. $filterChain->execute();
34.
35. // get response object
36. $response = $this->context->getResponse();
* at sfRenderingFilter->execute(object('sfFilterChain'))
in SF_SYMFONY_LIB_DIR\filter\sfFilterChain.class.php line 53 ...
50. }
51.
52. // execute the next filter
53. $this->chain[$this->index]->execute($this);
54. }
55. }
56.
* at sfFilterChain->execute()
in SF_SYMFONY_LIB_DIR\controller\sfController.class.php line
233 ...
230. }
231.
232. // process the filter chain
233. $filterChain->execute();
234. }
235. else
236. {
* at sfController->forward('clients', 'new')
in SF_SYMFONY_LIB_DIR\controller\sfFrontWebController.class.php
line 48 ...
45. }
46.
47. // make the first request
48. $this->forward($moduleName, $actionName);
49. }
50. catch (sfException $e)
51. {
* at sfFrontWebController->dispatch()
in SF_SYMFONY_LIB_DIR\util\sfContext.class.php line 170 ...
167. */
168. public function dispatch()
169. {
170. $this->getController()->dispatch();
171. }
172.
173. /**
* at sfContext->dispatch()
in SF_ROOT_DIR\web\frontend_dev.php line 13 ... |
Partager