Create user in Backend with Editor
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!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Create user in Backend with Editor
Hi,
in our TYPO3/Aimeos Backend it is possible for an admin to create a new customer in Aimeos.
Also, the non-admin can see the list of customers but if he wants to create a customer a message shows up that there was an error but unfortunately without indicating what the problem is.
Aimeos: 24.10.5
TYPO3: 12.4.36
PHP: 8.2.28
Linux
in our TYPO3/Aimeos Backend it is possible for an admin to create a new customer in Aimeos.
Also, the non-admin can see the list of customers but if he wants to create a customer a message shows up that there was an error but unfortunately without indicating what the problem is.
Aimeos: 24.10.5
TYPO3: 12.4.36
PHP: 8.2.28
Linux
Re: Create user in Backend with Editor
What's logged in the Log panel after the error has occurred?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
Re: Create user in Backend with Editor
Code: Select all
SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'language' cannot be nullRe: Create user in Backend with Editor
This seems to be no general problem because in our test setups (TYPO3 12 + Aimeos 2024.10 and TYPO3 13 + Aimeos 2025.07) it works as expected. It also works when adding an address to the user in the "Addresses" sub-panel.
Did you overwrite this file?
https://github.com/aimeos/ai-admin-jqad ... r/item.php
Did you overwrite this file?
https://github.com/aimeos/ai-admin-jqad ... r/item.php
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
Re: Create user in Backend with Editor
No, that file is not overwritten.
Any other hints?
It seems that it must be related to rights for non-admins...
Any other hints?
It seems that it must be related to rights for non-admins...
Re: Create user in Backend with Editor
If your user doesn't have admin rights, the site ID of the editor is different from the site ID of the created item.
In the next versions, a suitable error message will be shown.
In the next versions, a suitable error message will be shown.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
Re: Create user in Backend with Editor
Is there a way of bypassing that? E.g. hardcoding something or entering the siteid into the db for that user?
Any help is welcome.
Any help is welcome.
Re: Create user in Backend with Editor
Make sure that the editor record uses the same value in "be_users.siteid" than the "mshop_locale_site.siteid" value of the site. Hope that helps.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
Re: Create user in Backend with Editor
That is the case...