I move my application to my production server and it doesn’t work.
Both, prod and dev application are under webroot/projectName.
My problems are:
When I load my backend index, I get a blank page.
Login page works, but when I try login, I get a bad request(#400).
My app.log is :
...
2015-06-18 00:26:32 [77.27.48.228][-][-][warning][yii\debug\Module::checkAccess] Access to debugger is denied due to IP address restriction. The requesting IP address is
...
2015-06-18 00:33:45 [77.27.48.228][-][-][error][yii\web\HttpException:400] exception 'yii\web\BadRequestHttpException' with message 'Incapaz de verificar los datos enviados.'
.....
I’m a shared host and I haven’t access to log files.
If I disable csrf:
$this->enableCsrfValidation = false;
I can see login view. If I loggin, I get a blank page. This is because my site/index page shows as blank page.
If I change redirection once I login to country/index (for example), It shows correctly.
Moreover, if I have a view called action/myView, it shows a page not exist error. But if I write action/myview (without capital letter) it works but I get a blank page. My view file have the capital letter. In my local server the opposite occurs. I don’t understand what I happen.
If I go to country/index, the view shows correctly but my navbar menu losts elements, like a sub-dropdown menu.
I dont’t know what happens.
Server requirements are OK.
[u][b]
I don’t use composer to upload my project, just I made a zip and upload it.[/b][/u]