CakePhp で追加のビューを作成するのに問題があります。私が理解していることから、ビュー ファイル名とコントローラー関数を一致させる必要があります。関数は正しいコントローラーにありますが、CakePHP はまだこのエラーを出します:
Error: The action userMutualFriends is not defined in controller UserProfileController
Error: Create UserProfileController::userMutualFriends() in file: app\Controller\UserProfileController.php.
<?php
class UserProfileController extends AppController {
public function userMutualFriends() {
}
}
まったく同じ関数をコントローラーに貼り付けましたが。私はCakePhpの経験がないので、何かが足りないだけかもしれません..
ありがとう、サム