I am running into the same problem right now with a site. Only one controller is not working. Works fine on my dev box but not on a dedicated live linux build. No difference in permissions. Did you figure something out?
Any chance to see the log files? Also, what is the default action of member? index? or it should be? member/index - member/view? How are your Url rules set? Pretty weird it can’t resolve the request…
So the URL is “servicemember” I apologise I was tired last night. However this shouldn’t change anything. I have tried “ServiceMember” and I get an error 500. Different from the error 400.
The default action is to load ‘itemView’=>’_view’, so it loads my "_view’ file.
This is what I am dealing with. Except my local dev box in on OSX without a stack.
Permissions are definitely not a problem either as I have taken them out of the equation. I am still getting Error 400 and that is if I try to use any action in that controller.
This is my error:
exception 'CHttpException' with message 'Unable to resolve the request
"peop/create".' in
/var/yii-1.1.8.r3324/framework/web/CWebApplication.php:281
Stack trace:
#0 /var/yii-1.1.8.r3324/framework/web/CWebApplication.php(136):
CWebApplication->runController('peop/...')
#1 /var/yii-1.1.8.r3324/framework/base/CApplication.php(158):
CWebApplication->processRequest()
#2 .../index.php(13): CApplication->run()
#3 {main} REQUEST_URI=/peop/create
mmm… how is your controller class named? ServiceMemberController or ServicememberController? In case of ServiceMemberController, could you name it to ServicememberController instead? I think is an issue with that as Windows tends to be not as rigid as Linux with names. In Linux servicemember wont match Servicemember or serviceMember… make sure your class also matches the class name.
I installed Yii User extension and whenever I attempt to login it just returns me back to the login page. I think it’s something similar because it works in localhost and not on shared. I’m just glad I got my main app working.
If you haven’t already I would take a look at userGroups, much more advanced but still easy enough to make it your own. I have it working in both shared/dedicated environments.
Yes it is a great extension out of the box. As with anything I do a number of tweaks to fit the given app but very impressed with what nickcv has done with this. Huge time savor.
you can put ‘caseSensitive’ => false, in your url manager and that is how I overcame the problems I was experiencing with this site. userGroups will not work with that defined though. I brought that up to nickcv but have not dug into what is causing it. Easy enough to make sure I pay attention to what we both learned in this thread.