Hello there,
Finally i've decided to upgrade to vB5x but i am encountering with some problems hope someone could assist me regarding to resolution of those problems.
1. Charset / Locale problem in dates only. I am running Centos 7.3 x64, PHP 7.1, vBulletin 5.3.0, Litespeed Webserver, MariaDB 10.1, CPanel
My forum language is Turkish UTF8. I've set OS locale to tr_TR.UTF-8, uncommented UTF8 section from config.php file, added UTF8 support to my.cnf file, db collation is utf8_general_ci, also i've enabled default charset as utf8 from php.ini file and set intl.default_locale = tr_TR.UTF-8 in php.ini file.
When i run this command from phpmyadmin "SHOW VARIABLES LIKE 'char%' this is the result i am getting:
When i run "locale" command from ssh this is the result:
Language settings in AdminCP / Language Manager: http://prntscr.com/esqi0f
Well my only problem is Turkish characters appears wrong in dates (month names) example:
Except this all Turkish characters from the rest of the forum is correct and there is no any problem. I had this issue on vB4 too and i fixed it by adding this line to functions.php file:
$currentlocale = setlocale(LC_TIME,'tr_TR.UTF-8');
I've tried do same to vb5 too but unfortunately this trick didnt worked for vb5. What is problem? What am i doing wrong?
P.S. : I've installed a fresh vb5 from scratch but same problem occuring there too.
2. Quick Setup / Edit Site bar on the top of forum is not working in Chrome. When i click it asking me my password no matter how many times i am entering my password it keep prompting and asking me my password over and over again. This problem only occuring in Chrome, there is no problem with firefox and internet explorer. How can i solve this problem?
3. How can i change extra "forum" word in urls? or completeley remove it? Because my forum is already installed in a folder called "forum" and plus another forum word makes it like "forum/forum" and looks weird. Also how i can replace Turkish characters in urls with non Turkish ones? I was able do it from class_friendly_url.php file in vb4 but this is not working in vb5.
Thanks in advance.
Best regards.
Finally i've decided to upgrade to vB5x but i am encountering with some problems hope someone could assist me regarding to resolution of those problems.
1. Charset / Locale problem in dates only. I am running Centos 7.3 x64, PHP 7.1, vBulletin 5.3.0, Litespeed Webserver, MariaDB 10.1, CPanel
My forum language is Turkish UTF8. I've set OS locale to tr_TR.UTF-8, uncommented UTF8 section from config.php file, added UTF8 support to my.cnf file, db collation is utf8_general_ci, also i've enabled default charset as utf8 from php.ini file and set intl.default_locale = tr_TR.UTF-8 in php.ini file.
When i run this command from phpmyadmin "SHOW VARIABLES LIKE 'char%' this is the result i am getting:
When i run "locale" command from ssh this is the result:
Language settings in AdminCP / Language Manager: http://prntscr.com/esqi0f
Well my only problem is Turkish characters appears wrong in dates (month names) example:
Except this all Turkish characters from the rest of the forum is correct and there is no any problem. I had this issue on vB4 too and i fixed it by adding this line to functions.php file:
$currentlocale = setlocale(LC_TIME,'tr_TR.UTF-8');
I've tried do same to vb5 too but unfortunately this trick didnt worked for vb5. What is problem? What am i doing wrong?
P.S. : I've installed a fresh vb5 from scratch but same problem occuring there too.
2. Quick Setup / Edit Site bar on the top of forum is not working in Chrome. When i click it asking me my password no matter how many times i am entering my password it keep prompting and asking me my password over and over again. This problem only occuring in Chrome, there is no problem with firefox and internet explorer. How can i solve this problem?
3. How can i change extra "forum" word in urls? or completeley remove it? Because my forum is already installed in a folder called "forum" and plus another forum word makes it like "forum/forum" and looks weird. Also how i can replace Turkish characters in urls with non Turkish ones? I was able do it from class_friendly_url.php file in vb4 but this is not working in vb5.
Thanks in advance.
Best regards.
Comment