I finally completed porting my site to php using Yii and now that the site's deployed on my host's server, I'm noticing a problem with accessing certain controllers in the admin section.
The controller 'SomethingsItemsController' is found under the 'admin' directory.
I get a blank page. I'm unable to access the php error log to debug this on the hosted server. This problem doesn't afflict my local development environment. Perhaps it's related to case-sensitivity on the server?
Anyone else see similar behavior?
Also… I do have caseSensitive of the urlManager set to false.
Sorry, my judgement was not completely right. I think there's something else wrong because if the controller cannot be found, you should still see an error page displayed by Yii. A blank page normally means you have some PHP error or warnings and you turn off the error display. You should check the error log, turn on error_display, or insert some die() statements to debug your application.
Currently the error logs I have access to, don't show any errors for today. Also, I did do some basic debugging by commenting out code in the affected controller's actions and echoing a statement to see if at least the controller is being called. It's not. I'll try and turn on error display for only the admin and see what I get out of that.
Actually that won't work since I need to do that from the index page. The problem is I don't have direct access to the actual php error log and this problem is only on my production site, so I can't debug this on my local development site. There's no way I'm going to turn on error display on a production site.
The yii log doesn't show any problems. I've contacted my host to verify whether or not I'll find PHP errors in the error log I have access to. I'll let you know what comes out of this communication.
Well, this problem still exists. I have one controller that won't load, no matter what I rename it to. Even names that have absolutely no similarities to other controller names fail to load.
I even took it out of the subdirectory that it was in and tried to access it that way, still nothing. I checked the permissions. I checked the file encoding. I checked invisible characters. Nothing is different from other controllers other than the methods of course. This is simply mind-boggling.