Hi there,
-- I followed this tutorial, everything is working fine apart from the "edit method" when click the edit link it gives following warning message. I am new to cakephp and php.
Warning (2): strtolower() expects parameter 1 to be string, array given [CORE/Cake/Network/CakeRequest.php, line 471]Code Context$type = array( (int) 0 => 'post', (int) 1 => 'put' ) $this = object(CakeRequest) { params => array( 'plugin' => null, 'controller' => 'posts', 'action' => 'edit', 'named' => array([maximum depth reached]), 'pass' => array( [maximum depth reached] ) ) data => array() query => array() url => 'posts/edit/2' base => '/cake_2_0' webroot => '/cake_2_0/' here => '/cake_2_0/posts/edit/2' }strtolower - [internal], line ?? CakeRequest::is() - CORE/Cake/Network/CakeRequest.php, line 471 PostsController::edit() - APP/Controller/PostsController.php, line 48 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 485 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 186 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 161 [main] - APP/webroot/index.php, line 92
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment