Skip to main content
13
results
Andrew Fletcher
Creating a message log using Drupal watchdog.   Simple log // Logs a notice \Drupal::logger('my_module')->notice($message); // Logs an error \Drupal::logger('my_module')->error($message);   Adding a layer of complexity to the log public function submitForm(array &$form, FormStateInterface $form_state) {     $entity = $this->getEntity();     $entity->delete();     \Drupal::logger('content_entity_example')->notice('@type: deleted...
Andrew Fletcher
I had been running a few Centos 6 servers just past their EOL (30th November...
Andrew Fletcher
Well for me it is very slow.  Recently, I upgraded from CentOS 6 to Centos...
Andrew Fletcher
I need to set the default php-version of a subscription to php7.3.  The...
Andrew Fletcher
(104)Connection reset by peer: mod_fcgid: error reading data from FastCGI...
Andrew Fletcher
To add ejabberd and run MYSQL to the server I needed to update the server version of mysql from 5.5 to 5.7.  Fortunately, there are great instructions on the Plesk support page regarding how to achieve this outcome. https://support.plesk.com/hc/en-us/articles/213403429-How-to-upgrade-MySQL-5-5-to-5-6-5-7-or-MariaDB-5-5-to-10-0-10-1-10-2-on-Linux As a point of reference, as I worked through the steps... step 10 you need to restart the MYSQL server.  This is a quick progress by...
Andrew Fletcher
To connect to your CPanel hosted server via SSH OSX, please follow...
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
I had an instance where I needed to move content from a plist to the server...
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...