Did you run rebuild from the command line after copying custom folder?
It's recommended to run upgrade rather than copying custom folder.
EspoCRM 6.0.0-beta4 released
Collapse
X
-
Could you provide the file custom/Espo/Custom/Resources/metadata/entityDefs/User.json.
Thanks. -
Hi, I am having a problem with the beta4. The installation was fine. I logged in and did a cache clear and rebuild. Up to this point all went well. Then i replaced the espo folder under custom folder with the one i am using under the old version. I cleared the cache and did a rebuild of the database.After logout when i try to access the site, I got an "Error 500". with blank page. I have attached the log. Please review. Thank you.Attached FilesLast edited by murugappan; 10-13-2020, 03:09 AM. -
Hello,
i delete what i have write : for one will create user by code :
The tips is how email address .. i think same for phone number
PHP Code:
$user = $em->getEntity('User');
$o = (object) [
'emailAddress' => $email,
'primary' => true,
];
$user->set([
'userName' => $userName,
'salutationName' => 'Mrs.',
'firstName' => $firstName,
'lastName' => $lastName,
'type' => 'regular',
'isAdmin' => 0,
'isActive' => $isActive,
'gender' => 'Female',
'emailAddressData' => [$o],
'assignedUserId' => '1'
]);
$em->saveEntity($user);
Last edited by item; 10-11-2020, 10:00 PM.Leave a comment:
-
I would like to propose a small enhancement in the layout of list view -> image:
I would like to have a top and bottom padding of 5 px for the images. as it is now, one image is directly touching the next one. See photos.
Meanwhile I solved this with custom.css2 PhotosLast edited by shalmaxb; 10-11-2020, 12:09 PM.Leave a comment:
-
EspoCRM 6.0.0-beta4 released
All issues: https://github.com/espocrm/espocrm/m...ne/96?closed=1
Download: https://github.com/espocrm/espocrm/r....0.0-beta4.zip
Upgrade from 5.9.4: https://www.espocrm.com/downloads/up....0.0-beta4.zip
Upgrade from 6.0.0-beta3: https://www.espocrm.com/downloads/up....0.0-beta4.zip
Command to run upgrade:
Code:php command.php upgrade -y --file="path/to/package.zip"
Tags: None
Leave a comment: