Skip to main content
109
results
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
Wanting to create a new repository on GitHub, add in a few of the available...
Andrew Fletcher
On a git pull from remote dev environment to a staging environment running off...
Andrew Fletcher
I needed the check if a file existed in a directory as the migrate script wasn't...
Andrew Fletcher
Joining a new company / team there is always a lot of new items to...
Andrew Fletcher
A bug bear that I have had for a while with Drupal content is how come the author of an article is actually their username.  I have an array of reasons to vent my dislike for this strategy... however, instead I will show you how to change it.  Albeit, programmatically!  Don't stress there actually isn't a huge amount of code to add.  In time I'll create a module so no coding is required.   Setting up account fields in the admin area To begin let's add new fields for...
Andrew Fletcher
Updating Drupal from 8.7.10 to 8.8.x or 8.9.x has seen a significant change...
Andrew Fletcher
As outlined in an earlier article composer php version, when installing the...
Andrew Fletcher
I had been running a few Centos 6 servers just past their EOL (30th November...
Andrew Fletcher
Regular expressions (regex) are extremely useful in extracting information from...
Andrew Fletcher
I need to set the default php-version of a subscription to php7.3.  The current server php version is PHP 7.1.33 (cli) (built: Oct 25 2019 11:33:58) ( NTS ). Using a shell program (I used Terminal) from the home directory I ran: export PATH=/opt/plesk/php/7.3/bin:$PATH; centos 6 use service httpd restartcentos 7 use sudo systemctl restart httpd.serviceHowever, through shell when I ran php -v the version remained at 7.1.33. Incase the restart wasn't enough I rebooted the server...
Andrew Fletcher
Don't worry this is an issue that many Drupal developers have come across....
Andrew Fletcher
Working on a new CentOS 7 server, Node wasn't installed.  You can...
Andrew Fletcher
Using a Centos 6 or 7 server, how to check the current version of Apache? httpd...
Andrew Fletcher
Attempting to load changes in a staging site and the bountiful error page...