Can not login in the control panel: Internal Server Error 500 The website ist working, but I can not login in the control panel. 

In the console: 

500 Internal Server Error - .../resources/lib/jquery-2.2.4.min.js?d=1493300895
setcookie() expects parameter 3 to be integer, float given (/html/alte gerberei/craft/app/framework/web/CHttpRequest.php:1514)


... 

Has anybody an idea? Thanks in advance.
The error was caused by the configuration in general.php, which works fine local and on three other websites.

For production environment, I added 

'userSessionDuration' =&gt; 'P101Y',
'rememberedUserSessionDuration' =&gt; 'P101Y',
'rememberUsernameDuration' =&gt; 'P101Y',
'invalidLoginWindowDuration' =&gt; 'P101Y',


Now I removed it and can login in the cp - no idea why.