setting locale in typo3 8.7 - Bug?

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
red-seadog
Posts: 20
Joined: 17 Jan 2019, 17:30

setting locale in typo3 8.7 - Bug?

Post by red-seadog » 17 Jan 2019, 17:40

Hello,
I am trying to set up a shop in typo3 v8.7. I encounter difficulties with the configuration. It seems that the language settings cannot be saved. I cannot change anything (enable, disable, delete) any language. I try to configure the NL language.
I get the following error: "Item with ID "NL" in "locale.language.id" not found". This message occurs with any language I try to open, also with the ones that are enabled.

Since I cannot enable the Dutch language, I also cannot add this to the localisation tab.

Deleting any Currencies also does not work.
The language settings in typo3 are set correctly.
Do I need to set anything special? How to proceed?
Thanks for any help,
Kind regards,
erwin

User avatar
aimeos
Administrator
Posts: 7866
Joined: 01 Jan 1970, 00:00

Re: setting locale in typo3 8.7 - Bug?

Post by aimeos » 18 Jan 2019, 09:34

Which Aimeos version are you using?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

red-seadog
Posts: 20
Joined: 17 Jan 2019, 17:30

Re: setting locale in typo3 8.7 - Bug?

Post by red-seadog » 18 Jan 2019, 10:13

It is aimeos 8.10.2. I just had a look at the TER and saw that yesterday (!) a new version has been released that addresses several bugs in the admin interface. I will download it today and let you know if the problem(s) have been solved.
Thanks for the reply,
Kind regards,
erwin

red-seadog
Posts: 20
Joined: 17 Jan 2019, 17:30

Re: setting locale in typo3 8.7 - Bug?

Post by red-seadog » 18 Jan 2019, 10:16

I just tried to install the new version. Alas, it does not install. The installer crashes with an error: "syntax error, unexpected 'const' (T_CONST), expecting variable (T_VARIABLE)".
ParseError thrown in file
/var/www/orange/rsqbe/typo3conf/ext/aimeos/Resources/Libraries/doctrine/dbal/lib/Doctrine/DBAL/Types/Type.php in line 19.

I am using typo3 v8.7.22.
Can you fix this?
Regards,
erwin

red-seadog
Posts: 20
Joined: 17 Jan 2019, 17:30

Re: setting locale in typo3 8.7 - Bug?

Post by red-seadog » 18 Jan 2019, 10:51

I think the declaration of the constants is not correct. The worde 'public' should be omitted sinc constants are implicit public. The same error occurs in the Connection.php file, f.i.:
public const TRANSACTION_READ_UNCOMMITTED = TransactionIsolationLevel::READ_UNCOMMITTED;

After deleting the word 'public' this error does not occur. Instead another one pops up:
syntax error, unexpected '='

ParseError thrown in file
/var/www/orange/rsqbe/typo3conf/ext/aimeos/Resources/Libraries/doctrine/dbal/lib/Doctrine/DBAL/Connection.php in line 651.

Now, I am out of my league.
Can you help?
Thnx,
erwin

User avatar
aimeos
Administrator
Posts: 7866
Joined: 01 Jan 1970, 00:00

Re: setting locale in typo3 8.7 - Bug?

Post by aimeos » 21 Jan 2019, 09:21

The version in TER is incompatible with PHP 5.6. Can you please try this package:
https://aimeos.org/fileadmin/download/a ... 8.10.5.zip
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

red-seadog
Posts: 20
Joined: 17 Jan 2019, 17:30

Re: setting locale in typo3 8.7 - Bug?

Post by red-seadog » 21 Jan 2019, 17:54

Thanks for the info. But we are running PHP 7.2, not 5.6.
See output of system info:
Main system information
Operating system: Unix
PHP version: 7.2.14-1+0~20190113100742.14+stretch~1.gbpd83c69
PHP CGI detected: No
Database connection 'Default'
Version: MySQL 5.5.5

Should I download and install the mentioned version anyway??
Regards,
erwin

red-seadog
Posts: 20
Joined: 17 Jan 2019, 17:30

Re: setting locale in typo3 8.7 - Bug?

Post by red-seadog » 21 Jan 2019, 18:18

Ok, I downloaded the new 8.10.5 file. In the extension manager this file crashes with the following error:

Uncaught TYPO3 Exception
#1337280417: ERROR: The extension install path "typo3conf/ext/" was no directory! (More information)

TYPO3\CMS\Extensionmanager\Exception\ExtensionManagerException thrown in file
/usr/share/typo3/typo3_src-8.7.22/typo3/sysext/extensionmanager/Classes/Utility/FileHandlingUtility.php in line 200.

As mentioned before, we use PHP 7.2 in this instance.
Regards,
erwin

red-seadog
Posts: 20
Joined: 17 Jan 2019, 17:30

Re: setting locale in typo3 8.7 - Bug?

Post by red-seadog » 21 Jan 2019, 18:46

I noticed the following. F.i. the error message for Arabic says: Fout Item with ID "AR" in "locale.language.id" not found

All the language abbreviations are in capitals. However, the code for the language is in undercast ("ar"). Is it not simply that the language is sought with "AR" while it should be "ar"?? This goes for all languages and would explain why this does not work.....

Regards,
erwin

User avatar
aimeos
Administrator
Posts: 7866
Joined: 01 Jan 1970, 00:00

Re: setting locale in typo3 8.7 - Bug?

Post by aimeos » 22 Jan 2019, 13:08

The "public const" statement is supported by PHP 7.1+ so it seems despite 7.2 is installed, it's not used. Can you check that?

We are currently testing the 18.10.4/5 versions in different setups to see if we can reproduce any of your reported errors. We will come back to you if it's done.

Nevertheless it seems that there's a problem with your environment ...
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply