New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For Turkish Servers #541
For Turkish Servers #541
Conversation
Im not sure why you need to submit all the file permission change(s) in the pull request? Wouldn't
Normally be handled by your server having the right locale set? Is the problem that we're assuming the locale is set to english, when it's not? |
what sort of 'crashing' were you seeing before? Any sort of error message? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- There appear to be unnecessary file permission changes (0644 -> 0755)
- There are some random CSS changes
- There are some random comment additions in some of the PHP file(s)
My error log is here: This error is due to Smarty_Autoloader class. You should include the solution for this in the documentation instead of merge. |
The file permission change(s) are my fault. Sory. |
TIL - smarty-php/smarty#155 and indeed : https://www.php.net/strtolower does say :
|
Changing the locale within PHP doesn't feel like a very good solution though - as presumably it should respect the server's settings. Ideally Smarty would merge their stuff; at a push we could merge the PR into the project but it's not ideal. |
I understand. I just wanted to share because it took a lot of time to solve. |
looks like it's been fixed on the smarty side of things - smarty-php/smarty#586 - which should be in PostfixAdmin 3.3.12 (soon to be released). |
…1; also fixes #541 where using a Turkish locale broke smarty's autoloader)
This scpipt crashing on servers which using Turkish language.I added set_locale() to common.php and my problem is solved.