Skip to main content
161
results
Andrew Fletcher
The magically descriptive error 401 Forbidden "message": "Access denied on creating field 'uid'.".  You probably can sense the love I have for this error.  This was a painful error that took a little while to resolve.  First off I also had this error display as: "Access denied on creating field 'uid' "Access denied on creating field 'name' "Access denied on creating field 'entity_id' And I would have had more if I continued down the resolution path I was on....
Andrew Fletcher
Loading the node To query the node, I prefer to create a series of functions to...
Andrew Fletcher
If you are like me you probably have searched for clues to and found little......
Andrew Fletcher
Registering a user via REST is an important process particularly when the...
Andrew Fletcher
As a process I apply patches locally first, then using git upload the update(s)...
Andrew Fletcher
While the Drupal site has a great outline of the steps to follow, I found we needed to tweak so the update would work for us.  I found the update process from 8.7.10 to 8.8.0 that worked on our sites was as follows Starting with ssh composer update # To update any dependencies Transfer the Drupal 8.8.0 tar gz file Either using command line or FTP, transfer drupal-8.8.0.tar.gz to your respective directory. Back to ssh unpack the the drupal-8.8.0.tar.gz - see our update...
Andrew Fletcher
First transfer the drupal-8.8.x.tar.gz file to your directory Via your ssh...
Andrew Fletcher
While I have posted an article about how to POST an image using REST in Drupal...
Andrew Fletcher
In Drupal 8.x hiding the subject line is a quick task. In the admin area of your...
Andrew Fletcher
You have been working hard on getting comments being added (POST) through REST...
Andrew Fletcher
For others that have spent countless hours getting this to work and are struggling... in particular assigning the correct user to the comment - this is how I achieved the correct outcome. The outline below is for usage via Postman and DHC (Restlec Client)... once working here then testing done and ready to apply to your app or however you are using this. Set up Set accept to hal+json sample: POST request url: http://example.com/entity/comment?_format=hal_json Authorization Type: Basic {then...