I wanna upload a image in an Api service when i upload them using postman got a below error - need to enable/add multipart/form-data in server accept area
"415 - Unsupported Media Type" - uploaded under form-data
I hope I can post here my problem. I hope it can be resolved.
My problem is:
I have run and I maintain several Drupal 10 sites on two different hostingplatforms.
In my sites I use the modul Juicebox HTML5 Responsive Image Galleries in exactly the same way.
All went perfectly till I upgraded from Drupal 10.1.7 to Drupal 10.2.0.
After this upgrade Juicebox HTML5 Responsive Image Galleries wil not longer work correctly in every browser.
$lock = \Drupal::lock();
if ($lock->acquire('PV_Counter'))
{
print_r('I hold and will not release the lock named PV_Counter');
// Code to use next counter and increment it
// ...
//$lock->release('PV_Counter');}
else
{
print_r('I do not hold the lock');
}
Then my colleague runs the same code in Devel on the same Drupal site.
I am currently working on a payment process of a Drupal 10 application using Qenta. The payment process is initialized by setting #action inside buildForm of a form class to the payment-process-init-url of Qenta. The payment process works correctly but after Qenta redirects back to the Drupal 10 application using the provided successUrl the user is logged out even though the session cookie is still alive if I look into the developer tools of my browser (Chrome 120).
While upgrading from drupal 9 to drupal 10 i am getting error as call to deprecated function stopPropagation() , i would like to know how can i fix this error.