UTF-8 Bugs and issues

Post Reply
User avatar
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 :D

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
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

abdulhalim wrote: by the way , is there any way to change language after installation ?
You can change the language after the installation in the admin panel at "Settings" > "Language and timezone".

I have to test the other things over the weekend...
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
User avatar
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 . :roll:
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

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
mkdir has to be extended with encoding when using UTF-8:

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
User avatar
abdulhalim
Master Bludit
Posts: 128
Joined: Thu Mar 10, 2016 6:25 pm
Location: Bandar Abbas
Been thanked: 4 times
Contact:

Thank you Edi , it's better to w8 for Diego . :roll:
User avatar
abdulhalim
Master Bludit
Posts: 128
Joined: Thu Mar 10, 2016 6:25 pm
Location: Bandar Abbas
Been thanked: 4 times
Contact:

bump
User avatar
diego
Site Admin
Posts: 773
Joined: Sat May 16, 2015 2:53 pm
Been thanked: 1 time
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
User avatar
Fred
Legend Bludit
Posts: 236
Joined: Wed Jun 24, 2015 2:14 pm
Location: France
Contact:

Do you have try to change the charset?
In bl-kernel/boot/init.php, replace this line:

Code: Select all

define('CHARSET', 'UTF-8');
to

Code: Select all

define('CHARSET', 'ISO-8859-1');
I think is better for your language.
╰☆╮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 :oops:
User avatar
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
Post Reply