After updating to version 21.0.0, I can no longer approve purchase orders. When I click the button, I am redirected to a page showing an HTTP ERROR 500.
Does anyone know if this is correlated in this version or would it be my installation?
- Which URL are you reloaded to?
- Which output is there from your webservers log system?
- which output is there in the dolibarr.log file in the documents folder?
- if you can not see much in dolibarr.log - maybe you need to enable debug logging to see all the details.
He redirects me to this address:
HTDOCS/FOOURN/COMMANDE/CARD.PHP? Id = 206 & Action = Confirm_ApProve & Confirm = Yes & Token = De1D6C22051EA7E5A055D6E60FE2F15D
Regarding the log file, I saw anything abnormal, juga necessary to make it available here?
What is your PHP version? Try changing to an older one i can’t replicate your problem!
I am using version 8.2.15 of PHP.
But I did some tests here and realized that perhaps the error is not in the module of suppliers but notifications.
In this specific activity a notification email was redirected. I removed these emails and it worked.
way too old dangerous and unsupported see here supported versions
Thanks for the tip, I just updated PHP to version 8.4.3
In fact, I am in trouble is the module of notifications, when I am inserting the email to receive notifications these errors are happening. If you remove these notifications the system works normally.
Same problem for me.
I had to remove the email notification to make it working again.
I’m on v21 with PHP 8.2.20.
I have not yet investigate but sending propal/invoice by mail are working.
There was this error due to the notification module interfacing with the financial module. Until the staff identified what happened, for security reasons I disabled the notification module.