Jump to content
thirty bees forum
  • 0

Saving multi language fields in modules (TB 1.08)


luksl

Question

Hi,

I encountered a problem with storing multi language fields in EU Cookie Consent module. I tested in on a after fresh installation as well.

After installation I have 2 languages installed (English and Czech). When I save different text for each language the same text is saved and returned for both languages - the text from lang id=1 (English).

I also tested it with module "European Union Cookies Law v1.7.7 - by MyPresta.eu" with the same result.

It seems the it could be connected with the updateValue function in Configuration.php.

XAMPP:

Server information Windows NT build 17134 (Windows 10) i586
Server software version Apache/2.4.37 (Win32) OpenSSL/1.0.2p PHP/7.0.33
PHP version 7.0.33
Memory limit 512M
Max execution time 30

MySQL version 10.1.37-MariaDB
MySQL server 127.0.0.1
MySQL name tb_108
MySQL user root
Tables prefix tb_
MySQL engine InnoDB
MySQL driver DbPDO

Required parameters OK
Optional parameters Please fix the following error(s)
    Install TLS v1.2 support on your server.
    Test result: fail

  • Like 1
Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0
31 minutes ago, luksl said:

It seems the it could be connected with the updateValue function in Configuration.php.

You might be right.

I've submitted a fix for this issue today. You can download the latest version of classes/Configuration.php file from github, upload it to your server, and test if it helps. If you do so, don't forget to let us know the result

  • Like 3
Link to comment
Share on other sites

  • 0
57 minutes ago, datakick said:

You might be right.

I've submitted a fix for this issue today. You can download the latest version of classes/Configuration.php file from github, upload it to your server, and test if it helps. If you do so, don't forget to let us know the result

Thank you 🙂
 

Link to comment
Share on other sites

  • 0
1 hour ago, datakick said:

You might be right.

I've submitted a fix for this issue today. You can download the latest version of classes/Configuration.php file from github, upload it to your server, and test if it helps. If you do so, don't forget to let us know the result

Thanks a lot for fast fix! It looks working. 🙂

Link to comment
Share on other sites

  • 0
On 1/18/2019 at 12:23 PM, datakick said:

You might be right.

I've submitted a fix for this issue today. You can download the latest version of classes/Configuration.php file from github, upload it to your server, and test if it helps. If you do so, don't forget to let us know the result

Had the same issue with the EU Cookie Consent module, updating the file worked like a charm, thank you!

Link to comment
Share on other sites

  • 0
On 1/18/2019 at 12:23 PM, datakick said:

You might be right.

I've submitted a fix for this issue today. You can download the latest version of classes/Configuration.php file from github, upload it to your server, and test if it helps. If you do so, don't forget to let us know the result

Worked! Thanks!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...