OK, when following the migration guide I had forgot to add the AppHelper.php file.
Now I get a different error:
Helper class HelperfnsHelper could not be found.
Error: An Internal Error Has Occurred.
Stack Trace
- CORE\Cake\View\View.php line 861 → HelperCollection->load(string, array)
$helpers = HelperCollection::normalizeObjectArray($this->helpers); foreach ($helpers as $name => $properties) { list($plugin, $class) = pluginSplit($properties['class']); $this->{$class} = $this->Helpers->load($properties['class'], $properties['settings']); }
- CORE\Cake\View\View.php line 468 → View->loadHelpers()
return true; } if (!$this->_helpersLoaded) { $this->loadHelpers(); }
- CORE\Cake\Controller\Controller.php line 957 → View->render(null, null)
$this->autoRender = false; $this->View = $View; $this->response->body($View->render($view, $layout)); return $this->response;
- CORE\Cake\Routing\Dispatcher.php line 193 → Controller->render()
} if ($render && $controller->autoRender) { $response = $controller->render(); } elseif ($response->body() === null) {
- CORE\Cake\Routing\Dispatcher.php line 161 → Dispatcher->_invoke(CategoriesController, CakeRequest, CakeResponse)
)); } $response = $this->_invoke($controller, $request, $response); if (isset($request->params['return'])) {
object(CategoriesController) { components => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) name => 'Categories' uses => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Categories' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'view' layout => 'default' autoRender => false autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => object(View) {} ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Category' modelKey => 'category' validationErrors => null Session => object(SessionComponent) {} Auth => object(AuthComponent) {} Utils => object(UtilsComponent) {} Category => object(Category) {} Inemail => object(Inemail) {} } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => false base => '/easypeasydating' webroot => '/easypeasydating/' here => '/easypeasydating/' } object(CakeResponse) { } - APP\webroot\index.php line 98 → Dispatcher->dispatch(CakeRequest, CakeResponse)
Helperfns.php is my file and it is in the View/Helper directory.
--
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at
http://groups.google.com/group/cake-php?hl=en-US.
No comments:
Post a Comment