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
locales issue #7
Comments
suppose, that it has something to do with https://bugs.php.net/bug.php?id=63261 what version of PHP do you use? |
PHP Version 5.3.10-1ubuntu3.8 encoding = utf-8 |
ok... another one question. have you changed the translation or using a stock one? |
i have installed the stock (german) translation. the install of version 1.6.5 works fine |
* Fix issue with failed blowfish-based encryption (see second part of Issue #7) * Switch to binary safe hashes comparison
actually, it seems to me, that your PHP installation is somehow corrupted... while i've added an extra check for result of blowfish-based hashing to prevent the latter trouble, i'm unable to reproduce neither that issue, nor the original issue with localization. and i'm unable to reproduce them even on php 5.3.10 (we have it on one of our very old VEs). |
what will this script produce as an output on your system? |
Apache: CLI: This is a default installation of Ubuntu 12.04.2 64 bit with LAMP. Apache Version 2.2.22 |
PHP Logo System Linux mibew 3.5.0-40-generic #62~precise1-Ubuntu SMP Fri Aug 23 17:38:26 UTC 2013 x86_64 Suhosin logo This server is protected with the Suhosin Patch 0.9.10 Zend logo This program makes use of the Zend Scripting Language Engine: PHP Credits Configuration apache2handler Apache Version Apache/2.2.22 (Ubuntu) Directive Local Value Master Value Apache Environment Variable Value SERVER_SOFTWARE Apache/2.2.22 (Ubuntu) SERVER_NAME 192.168.177.30 SERVER_ADDR 192.168.177.30 SERVER_PORT 80 REMOTE_ADDR 192.168.177.179 DOCUMENT_ROOT /var/www SERVER_ADMIN webmaster@localhost SCRIPT_FILENAME /var/www/info.php REMOTE_PORT 45660 GATEWAY_INTERFACE CGI/1.1 SERVER_PROTOCOL HTTP/1.1 REQUEST_METHOD GET QUERY_STRING no value REQUEST_URI /info.php SCRIPT_NAME /info.php HTTP Headers Information HTTP Request Headers bcmath BCMath support enabled Directive Local Value Master Value bz2 BZip2 Support Enabled calendar Calendar support enabled Core PHP Version 5.3.10-1ubuntu3.8 Directive Local Value Master Value ctype ctype functions enabled date date/time support enabled Directive Local Value Master Value dba DBA support enabled Directive Local Value Master Value dom DOM/XML enabled ereg Regex Library Bundled library enabled exif EXIF Support enabled Directive Local Value Master Value fileinfo fileinfo support enabled filter Input Validation and Filtering enabled Directive Local Value Master Value ftp FTP support enabled gd GD Support enabled Directive Local Value Master Value gettext GetText Support enabled hash hash support enabled iconv iconv support enabled Directive Local Value Master Value json json support enabled libxml libXML support active mbstring Multibyte Support enabled mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1. Multibyte (japanese) regex support enabled Directive Local Value Master Value mhash MHASH support Enabled mysql MySQL Support enabled Directive Local Value Master Value mysqli MysqlI Support enabled Directive Local Value Master Value openssl OpenSSL support enabled pcre PCRE (Perl Compatible Regular Expressions) Support enabled Directive Local Value Master Value PDO PDO support enabled pdo_mysql PDO Driver for MySQL enabled Directive Local Value Master Value Phar Phar: PHP Archive support enabled Phar based on pear/PHP_Archive, original concept by Davey Shafik. Directive Local Value Master Value posix Revision Reflection Reflection enabled session Session Support enabled Directive Local Value Master Value shmop shmop support enabled SimpleXML Simplexml support enabled soap Soap Client enabled Directive Local Value Master Value sockets Sockets Support enabled SPL SPL support enabled standard Dynamic Library Support enabled Directive Local Value Master Value sysvmsg sysvmsg support enabled tokenizer Tokenizer Support enabled wddx WDDX Support enabled xml XML Support active xmlreader XMLReader enabled xmlwriter XMLWriter enabled zip Zip enabled zlib ZLib Support enabled Directive Local Value Master Value Additional Modules Module Name Environment Variable Value PHP Variables Variable Value _SERVER["SERVER_SOFTWARE"] Apache/2.2.22 (Ubuntu) _SERVER["SERVER_NAME"] 192.168.177.30 _SERVER["SERVER_ADDR"] 192.168.177.30 _SERVER["SERVER_PORT"] 80 _SERVER["REMOTE_ADDR"] 192.168.177.179 _SERVER["DOCUMENT_ROOT"] /var/www _SERVER["SERVER_ADMIN"] webmaster@localhost _SERVER["SCRIPT_FILENAME"] /var/www/info.php _SERVER["REMOTE_PORT"] 45660 _SERVER["GATEWAY_INTERFACE"] CGI/1.1 _SERVER["SERVER_PROTOCOL"] HTTP/1.1 _SERVER["REQUEST_METHOD"] GET _SERVER["QUERY_STRING"] no value _SERVER["REQUEST_URI"] /info.php _SERVER["SCRIPT_NAME"] /info.php _SERVER["PHP_SELF"] /info.php _SERVER["REQUEST_TIME"] 1380090908 PHP License This program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file: LICENSE This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact license@php.net. |
tried on Apache 2.2.2 w/ PHP 5.3.10 and pretty much the same settings as yours. still unable to reproduce... :( it seems, that htmlspecialchars works as intended. if you'll manually set the encoding in browser to utf-8, you'll get the same correct output as from CLI. are the problem exists for all constants containing a letters with umlauts or there are some parts of the interface where they are displayed correctly? |
Thanks for your time. The new version 1.6.7 Works. 👍 |
ok then... you're most welcome... though, we didn't change the code related to localization... O_o |
i think it was an update problem from 1.6.5 to 1.6.6 . |
well, that's possible. however, the main goal is achieved: issue solved. :) |
In version 1.6.6 mibew only shows translations (de German) to (ä ö ü) character after it's all gone. In the operators backend.
for example:
menu.profile.content=Sie können ihre persönlichen Daten auf dieser Seite ändern.
displays= Sie k
version 1.6.5 Ok
The text was updated successfully, but these errors were encountered: