PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Thursday, December 30, 2021

[FIXED] Yii generates error "Unable to resolve the request <controller/action>"

 December 30, 2021     yii     No comments   

Issue

After logged in successfully, Yii does not executing any page.

Showing an error:

Error 404 Unable to resolve the request "membersdet/index"

Here membersdet is controller Id and index is an action.


Solution

Make sure the filename of your controller is EXACTLY "MembersdetController.php". It is case sensitive.

I guess you were developing on local machine under Windows OS and server runs on *nix system. That's normal issue for novice developers, that they forget about case sensitive file system in *nix.



Answered By - Johnatan
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing