Abouhassane Abdelhamid
  • Member for 4 years, 3 months
  • Last seen more than 2 years ago
Ajax submission leads to => An unrecoverable error occurred. The uploaded file likely exceeded the maximum file size (2 MB) that this server supports
7 votes

So after a throughout debugging i finally found the solution. the first thing i did is that i searched for the error and it was outputed from core/lib/Drupal/Core/Form/EventSubscriber/...

View answer
User authentication handled by a web service
0 votes

I thought to share my solution hoping it may help some of you :D In my case all users(agents/clients) needed to be authenticated through the web service in order to have a token with which they will ...

View answer
Attach a jQuery function to an AJAX response
0 votes

Thank you @Niall, but i used drupal 8's behaviors which is a cool approach to solve this issue. i tweaked my Js to the following: (function($, Drupal) { // I want some code to run on page load, so I ...

View answer
form's submit function does not execute
Accepted answer
0 votes

So i did found the culprit; and it was the attribute "name". it seems that it ovverides the actual name so when i call $form_state->getValue('user_email'); it does not know what i'm talking about but ...

View answer
User Redirection based on his status (loggedin/loggedout)
0 votes

So, in the end, i wasn't able to accomplish this using the route and the controller, all my attempts have failed, but an idea of a friend helped me in solving this. well, the idea has nothing to do ...

View answer