Author |
Message |
blaci
New Member
Joined: Feb 16, 2009
Posts: 22
|
Posted:
Mon Apr 19, 2021 11:01 pm |
|
This system doesn't like me. I did a whole new installation. Database latin1_swedish_ci
I didn't touch the files. Not for language files either. I turned on the Hungarian language everywhere. Both in the administration menu for profile editing and in the forum administration. After that, as a user, I can't create new topics. The page will load I fill in the topic and text box and then click submit. He throws it back to creation without an error message. What should I do to make the forum work properly in Hungarian?
Thank you in advance for your help. |
|
|
|
|
blaci
|
Posted:
Tue Apr 20, 2021 8:16 am |
|
I was able to figure out that the module / Forum / language / lang_hungarian / lang-main.php has something to do with the error. If I replace this file with the English lang_main.php file, this error will not occur. In this case, however, the characters ŰŐ etc do not appear in the topic box. |
|
|
|
|
neralex
Site Admin
Joined: Aug 22, 2007
Posts: 1774
|
Posted:
Tue Apr 20, 2021 12:11 pm |
|
Let us start from scratch with some infos about your used php-version and your used database-application. Do you use mysql or maria-db? |
_________________ Github: RavenNuke |
|
|
|
blaci
|
Posted:
Tue Apr 20, 2021 1:29 pm |
|
|
|
|
neralex
|
Posted:
Tue Apr 20, 2021 1:54 pm |
|
I have to test it at the next weekend with hungarian-language files. But I'm using for my german umlauts the database collation: utf8_general_ci but do not change in this case the Content-Type within the _CHARSET constant in the hungarian language-file. The _CHARSET constant should be:
php Code:define('_CHARSET','ISO-8859-1');
|
Otherwise you will risk a database collation mismatch which could cause your described issues. |
|
|
|
|
blaci
|
Posted:
Tue Apr 20, 2021 2:12 pm |
|
Do I understand correctly? Set database matching to utf-8? |
|
|
|
|
neralex
|
Posted:
Tue Apr 20, 2021 2:24 pm |
|
Yes but only the database collation, not the Content-Type! |
Last edited by neralex on Wed Apr 21, 2021 12:35 am; edited 2 times in total |
|
|
|
blaci
|
Posted:
Tue Apr 20, 2021 3:59 pm |
|
Unfortunately, it didn't work out. Database matching was set by utf8_general_ci. The Hungarian language file is ISO-8859-1.
Still, the same problems as before. |
|
|
|
|
blaci
|
Posted:
Tue Apr 20, 2021 4:29 pm |
|
Unfortunately, my service provider once switched to a database application. You forgot to notify me. Now I noticed that it is no longer mysql but MariaDB. Could this be the cause of the error? |
|
|
|
|
neralex
|
Posted:
Thu Apr 22, 2021 11:37 pm |
|
There is a known issue with MariaDB. |
|
|
|
|
|