Getting 404 – “Unable to resolve the request” on Production Server on Yii Application


Ok I got this error when I deployed my Yii application to production server

404 - ERROR
Unable to resolve the request

All my controllers were present, and the url manager was enabled. After some running around I found the issue.

My development environment is Windows and on that urls with lower case letters worked without an issue. But the production environment is on Linux so the url is being case sensitive when its loading the controllers.

Change Urls from

/index.php/controllername/action

to

/index.php/ControllerName/action
Advertisements

Let me know what you think .. :)

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s