Skip to main content
43
results
Andrew Fletcher
If you are using theme_get_settings, such as: $value = trim(theme_get_setting('my_setting')); Then in your code editor you will also be seeing undefined  function 'theme_get_setting'.  This function has been deprecated for some time.   Instead, you need to use Passing the theme.manager and theme.initialization services to theme_handler constructor as optional parameters is deprecated. These parameters are also mandatory. $theme_handler = \Drupal::service('theme_handler');Get...
Andrew Fletcher
Working in Drupal 9.x, I was loading images via the Media module.  Below 1...
Andrew Fletcher
Working on an Azure server I ran a mysqldump command to generate a copy of the...
Andrew Fletcher
When attempting to backup mysql using the mysqldump command mysqldump -u root...
Andrew Fletcher
How to Create New MySQL User Before you can create a new MySQL user, you need to...
Andrew Fletcher
The generally accepted answer to a mysqldump is: mysqldump -h [host] -u [user] -p [database_name] [table_name] > [file].sqlOr a variant there of...  Of course if you are logged in to the server and working from it you don't need to express the -h [host] mysqldump -u [user] -p [database_name] [table_name] > [file].sql  But no not for me.  I wasn't seeing the success story of a downloaded database file.  Instead I was warmly embraced by error land: mysqldump: Got...
Andrew Fletcher
To add ejabberd and run MYSQL to the server I needed to update the server...
Andrew Fletcher
The magically descriptive error 401 Forbidden "message": "Access...
Andrew Fletcher
If you are like me you probably have searched for clues to and found little......
Andrew Fletcher
The starting point is to read through and follow the notes outlined on the...
Andrew Fletcher
In Drupal 8.x hiding the subject line is a quick task. In the admin area of your site go to structure > comment types > {comment type} > manage form display and the URL will be like https://domain.com/admin/structure/comment/manage/{comment}/form-display.  I have put the type in braces as you might have several comment types.  If you only have the default Drupal setting, then use default comments and the path will...
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...