Skip to main content
6
results
Andrew Fletcher
By default the maximum file upload size is set to 2MB.  It is not a Drupal issue, instead a php issue as upload_max_filesize is set in your php configuration (php.ini file).  Therefore it is a server-side configuration. If you have access to the php configuration file, I would recommend to make the changes directly in it.  Yet, on some occasions you cannot access the server configuration (on a shared hosting, for instance) and if you wish to alter some of your server...
Andrew Fletcher
An approach to generating a backup server is using a shell script.  A...
Andrew Fletcher
Working on a decoupled React / Drupal 9 site. Aim: Adjust the output of curated...
Andrew Fletcher
How to make React calls on a Drupal 9 backend site using the search...
Andrew Fletcher
This code is from Drupal 9 back-end for a React front-end via REST API. Working...
Andrew Fletcher
Updating to PHP 8.1, I found this interesting code stop... Deprecated function: trim(): Passing null to parameter #1 ($string) of type string is deprecated in bales_preprocess() (line 162 of /var/www/{path/to/file}) What is trim(). Very simply, it removes whitespaces (if they exist) at the start or end of a string.