UTF-8 Bugs and issues
- abdulhalim
- Master Bludit
- Posts: 128
- Joined: Thu Mar 10, 2016 6:25 pm
- Location: Bandar Abbas
- Been thanked: 4 times
- Contact:
Hello ,
I am here with a some bugs with UTF-8
i review Bludit ... you can check it @ http://www.suru.ir/demo
First bug is about SEF , it is because of this line : " return mkdir($pathname, 0755, $recursive); " line 35 - kernel\helpers\filesystem-class.php
it can't create utf-8 SEF by default , so it return error and can not save the Post , so user have to manually add SEF in English , ... e.g. http://suru.ir/demo/post/vacation
Error : Warning: mkdir(): File exists in /home/******/public_html/demo/bl-kernel/helpers/filesystem.class.php on line 35
Second bug is about Tags in utf-8 , tags in utf-8 don't works at all ! , you can check it out here : http://suru.ir/demo/post/post-with-utf-8-tags
also , you can not create more than one Tag with utf-8 per post !
So when some one clicks on utf-8 tags it returns error 404 >>> http://suru.ir/demo/tag/
//// Email validation ////
There is another bug in the system , i forgot to say ,
system does not validate the email form , look at admin/login-email
e.g. i want to retrieve my forgot password , i have to enter my email , OK ? but if i don't enter my email and hit the btn , it says check the inbox bla bla bla , but in this case i have to face to an error ! Please enter the valid email , something like that ...
by the way , is there any way to change language after installation ?
Best regards,
Abdulhalim
I am here with a some bugs with UTF-8
i review Bludit ... you can check it @ http://www.suru.ir/demo
First bug is about SEF , it is because of this line : " return mkdir($pathname, 0755, $recursive); " line 35 - kernel\helpers\filesystem-class.php
it can't create utf-8 SEF by default , so it return error and can not save the Post , so user have to manually add SEF in English , ... e.g. http://suru.ir/demo/post/vacation
Error : Warning: mkdir(): File exists in /home/******/public_html/demo/bl-kernel/helpers/filesystem.class.php on line 35
Second bug is about Tags in utf-8 , tags in utf-8 don't works at all ! , you can check it out here : http://suru.ir/demo/post/post-with-utf-8-tags
also , you can not create more than one Tag with utf-8 per post !
So when some one clicks on utf-8 tags it returns error 404 >>> http://suru.ir/demo/tag/
//// Email validation ////
There is another bug in the system , i forgot to say ,
system does not validate the email form , look at admin/login-email
e.g. i want to retrieve my forgot password , i have to enter my email , OK ? but if i don't enter my email and hit the btn , it says check the inbox bla bla bla , but in this case i have to face to an error ! Please enter the valid email , something like that ...
by the way , is there any way to change language after installation ?
Best regards,
Abdulhalim
- Edi
- Site Admin
- Posts: 3121
- Joined: Sun Aug 09, 2015 5:01 pm
- Location: Zurich
- Has thanked: 54 times
- Been thanked: 77 times
- Contact:
You can change the language after the installation in the admin panel at "Settings" > "Language and timezone".abdulhalim wrote: by the way , is there any way to change language after installation ?
I have to test the other things over the weekend...
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
- abdulhalim
- Master Bludit
- Posts: 128
- Joined: Thu Mar 10, 2016 6:25 pm
- Location: Bandar Abbas
- Been thanked: 4 times
- Contact:
My bad , i was modified dblanguage.class.php to display Persian language as default , and that was the problem , everything is now OK with changing language , but i have problem with other stuff .
- Edi
- Site Admin
- Posts: 3121
- Joined: Sun Aug 09, 2015 5:01 pm
- Location: Zurich
- Has thanked: 54 times
- Been thanked: 77 times
- Contact:
mkdir has to be extended with encoding when using UTF-8:abdulhalim wrote: First bug is about SEF , it is because of this line : " return mkdir($pathname, 0755, $recursive); " line 35 - kernel\helpers\filesystem-class.php
it can't create utf-8 SEF by default , so it return error and can not save the Post , so user have to manually add SEF in English , ... e.g. http://suru.ir/demo/post/vacation
http://stackoverflow.com/questions/1525 ... -8-strings
Because this is part of the core we should wait till Diego, the developer of Bludit, is back from holidays.
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
- abdulhalim
- Master Bludit
- Posts: 128
- Joined: Thu Mar 10, 2016 6:25 pm
- Location: Bandar Abbas
- Been thanked: 4 times
- Contact:
- abdulhalim
- Master Bludit
- Posts: 128
- Joined: Thu Mar 10, 2016 6:25 pm
- Location: Bandar Abbas
- Been thanked: 4 times
- Contact:
It's more easy for me follow the bugs on Github.
Edi created an issues on Github for this bug, https://github.com/dignajar/bludit/issues/257
Regards
Edi created an issues on Github for this bug, https://github.com/dignajar/bludit/issues/257
Regards
Do you have try to change the charset?
In bl-kernel/boot/init.php, replace this line:
to
I think is better for your language.
In bl-kernel/boot/init.php, replace this line:
Code: Select all
define('CHARSET', 'UTF-8');
Code: Select all
define('CHARSET', 'ISO-8859-1');
╰☆╮Bludit╰☆╮ is a open source and community contributions are essential to project success!
You are looking for a light forum based Json? Try my project Flatboard, it is free.
Sorry for my little english, i'm french
You are looking for a light forum based Json? Try my project Flatboard, it is free.
Sorry for my little english, i'm french
- abdulhalim
- Master Bludit
- Posts: 128
- Joined: Thu Mar 10, 2016 6:25 pm
- Location: Bandar Abbas
- Been thanked: 4 times
- Contact:
OK , thank you Diego .
I will test it , Fred, i didn't check the charset encoding
Edit : the default charset is UTF-8 and utf-8 is OK with Persian/Arabic and Hebrew languages ... problem is from another part of the program
I will test it , Fred, i didn't check the charset encoding
Edit : the default charset is UTF-8 and utf-8 is OK with Persian/Arabic and Hebrew languages ... problem is from another part of the program