Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I have a requirement where I want to restrict the user to edit the content based on the field of the content.
For example there is a user field editor in content. This field will have user id. Now the user with user id in the editor field, only he should be able to edit the content or the admin.
Last week we tried to install Drupal by using the default template for Drupal 8 + MySql database in Azure (using drupal-nginx-fpm:0.1, Linux environment). However, we bumped up to an issue where after an X time Drupal isn't responding (502/503 error in browser) by the following error in the logging.
An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /drupal8./core/install.php?rewrite=ok&langcode=pt-br&profile=standard&continue=1&id=1&op=do_nojs&op=do
StatusText: OK
ResponseText:
Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\drupal8\core\lib\Drupal\Core\Database\Statement.php on line 59
I used both Content Translation and Entity Translation for one content type and i am having problem now. I can't translate the content. When i changed one the other one also changes to the similar text. I guess i need to delete Content Translation of that content type but i don't know how to do.