| Project: | ProjectPier |
| Version: | 0.8.6-stable |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | phpfreak |
| Status: | patch - code needs review |
Jump to:
Description
If I try to log in from any browser other than firefox, nothing happens (the login page is shown again).
I've tried: midori, chrome, opera, safari.
If I check the "remember me for 2 weeks" checkbox, the login worked in opera (and I expect the same in the other browsers).
I see no error in cache/log.php or in the apache logs.
It may be important to know that the server is in US while the timezone for the project pier instance is for Romania. I guess the session could be already expired when reaching the browser, and firefox ignores this detail.
Change environment/environment.php
Line 20-25
ini_set('date.timezone', 'Europe/Sofia');if (function_exists('date_default_timezone_set')) {
date_default_timezone_set('Europe/Sofia');
} else {
putenv('TZ=Europe/Sofia');
} // if
It might do the trick. By default PP works in GMT.
The list of supported timezones can be found here:
http://nl2.php.net/manual/en/timezones.php
Let me know if this works for you.