🇪🇸Spain @Sistemas SUMADOS

Account created on 21 February 2019, almost 6 years ago
#

Recent comments

🇪🇸Spain Sistemas SUMADOS

Thanks for your help. I finally find the problem. A very old manual edition of my composer.json

It works with Drupal 10.3.5

🇪🇸Spain Sistemas SUMADOS

I have uninstalled CKEditor Font → and the problem has dissapeared. To replace it I have installed the new CKEditor 5 Plugin Pack → module. It is necessary to re-config a little bit settings but not complicated. The font color settings is different but easy to do. The module joins some other's functionalities (font, size, highlight, etc ...) in one module.

🇪🇸Spain Sistemas SUMADOS

@enchufe I have changed to the new module and it works. I had to adapt some settings (colors) which are a bit different but it worths. Thank for the idea

🇪🇸Spain Sistemas SUMADOS

@jjgw I have tried it but uninstalling and reinstalling doesn't work for me :-(

🇪🇸Spain Sistemas SUMADOS

I got the same problem in my sites and it's impossible to rollback to 10.2.7. No errors shown in watchdog, browser, etc. Impossible to create or edit any node's body field.

🇪🇸Spain Sistemas SUMADOS

Hi everyone. Thanks for your feedback an the patch. I have just correct a mistake. The correct line is:

 $form[$key]['submit']['#attributes']['class'][] = 'search-form__submit';
🇪🇸Spain Sistemas SUMADOS

Point 2 is wrong: The update url in Drupal 10 is different from Drupal 7. Sorry :-(

🇪🇸Spain Sistemas SUMADOS

Add more description to fields: "If you leave them empty no password is applied."

🇪🇸Spain Sistemas SUMADOS

#2 and # 3 works for me.

Drupal: 9.5.7
PHP: 8.1
MySQL: 5.7
entity_print: 8.x-2.11
webform: 6.1.4

🇪🇸Spain Sistemas SUMADOS

Similar problem with OVH hosting. It is required the user-agent. All the files exists and are accesible vĂ­a browser but DomPDF can't access them.

Drupal LOG:

Error generating document: 
Failed to generate PDF: 

file_get_contents(https://<DOMAIN>/sites/default/files/css/css_Swr_hRAtW0jSHWbyenAiqMecy20dpgniBv9v4K6Y6zY.css): Failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden , Unable to load css file https://<DOMAIN>/sites/default/files/css/css_Swr_hRAtW0jSHWbyenAiqMecy20dpgniBv9v4K6Y6zY.css,

file_get_contents(https://<DOMAIN>/sites/default/files/pdf_imagenes/Cabecera_PDF_SC_SUMADOS.png): Failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden , Image not found /sites/default/files/pdf_imagenes/Cabecera_PDF_SC_SUMADOS.png,

file_get_contents(https://<DOMAIN>/system/files/webform/<IMAGE_PATH>): Failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden , Image not found https://<DOMAIN>/system/files/webform/<IMAGE_PATH>

Hosting LOG:

CSS:

[Wed Mar 08 16:23:37 2023] [error] [client <IP_ADDRES>] ModSecurity: Access denied with code 403 (phase 2). Operator EQ matched 0 at REQUEST_HEADERS. [file "/usr/local/apache2/conf/modsecurity/base_rules/modsecurity_crs_21_protocol_anomalies.conf"] [line "65"] [id "960009"] [rev "2.1.1"] [msg "Request Missing a User Agent Header"] [severity "NOTICE"] [tag "PROTOCOL_VIOLATION/MISSING_HEADER_UA"] [tag "WASCTC/WASC-21"] [tag "OWASP_TOP_10/A7"] [tag "PCI/6.5.10"] [hostname "<DOMAIN>"] [uri "/sites/default/files/css/css_Swr_hRAtW0jSHWbyenAiqMecy20dpgniBv9v4K6Y6zY.css"] [unique_id "ZAioeYUtHj9div7cW2O1CgAAAEo"]

IMAGE:

[Wed Mar 08 16:23:37 2023] [error] [client <IP_ADDRES>] ModSecurity: Access denied with code 403 (phase 2). Operator EQ matched 0 at REQUEST_HEADERS. [file "/usr/local/apache2/conf/modsecurity/base_rules/modsecurity_crs_21_protocol_anomalies.conf"] [line "65"] [id "960009"] [rev "2.1.1"] [msg "Request Missing a User Agent Header"] [severity "NOTICE"] [tag "PROTOCOL_VIOLATION/MISSING_HEADER_UA"] [tag "WASCTC/WASC-21"] [tag "OWASP_TOP_10/A7"] [tag "PCI/6.5.10"] [hostname "<DOMAIN>"] [uri "/sites/default/files/pdf_imagenes/Cabecera_PDF_SC_SUMADOS.png"] [unique_id "ZAioeYUtHj9div7cW2O1CwAAAFQ"]

Production build 0.71.5 2024