Hi,
I have an application which runs fine on Windows. But when I move it to Linux host it fails and most likely because of the Case Sensitive file names.
So here is my case please point me into where I am doing wrong.
'urlManager'=>array(
'urlFormat'=>'path',
'showScriptName'=>false,
'rules'=>array(
'easysearch'=>'projectTbl/easySearch',
Now the Controller file name is ProjectTblController.php
Class name is
class ProjectTblController extends Controller
and action method is
public function actioneasySearch(){
Now when I browse to /easysearch/ I get 404 Unable to resolve the request "projectTbl/easySearch".
Any help much appreciated.
Thanks,
Phani.
yaasky
(Xigbanam)
2
Try renaming the "ProjectTblController.php" file to "Projecttblcontroller.php"
alirz23
(Alirz23)
3
there is property on urlManger named caseSensitive set it to false and it should work as expected
'showScriptName'=>false,
'caseSensitive'=>false,
'rules' => ...
http://www.yiiframework.com/doc/guide/1.1/en/topics.url
No tried both suggestions but didn’t fix the issue.
Bizley
(Bizley)
5
lagogz
(Lagocamanho)
6
Hi!
Try this:
1- Change your action name:
public function actionEasySearch()
...
2- In your main.php:
...
'rules'=>array('easySearch'=>'ProjectTbl/easySearch',
...
Regards.
Thanks A thousand lagogz you saved my day and I can sleep happily now.
lagogz
(Lagocamanho)
8
You’re welcome. One day you invite me to a whisky and coke and ready!!!!!! 
Regards.