To disable all automatic WordPress updates, just edit your WordPress/wp-config.php file and locate the line that says: /* That’s all, stop editing! Happy blogging. */ Add the following line ABOVE that line, then save and exit:
Edit your WordPress/wp-config.php file and locate the line that says: /* That’s all, stop editing! Happy blogging. */ Add the following three lines ABOVE that line, then save and exit:
1
2
3
define('FS_METHOD','direct');
define('FS_CHMOD_DIR',0775);
define('FS_CHMOD_FILE',0664);
Be sure to refresh your browser to get the new settings! BONUS To force the use of FTP, change FS_METHOD from direct to ftpext: […]
If you get the following error in WordPress when using the WPDataTables plugin, follow these steps to fix it: “You are trying to load a table of an unknown type. Probably you did not activate the addon which is required to use this table type.” SOLUTION SUMMARY: You must update the plugin files manually, deactivate […]
If you are unable to update a plugin via the WP admin console, then you can do the update manually. Download the zip file to your local hard drive and extract it. Then, from the command line, do the test run first:
The Problem Tried to install the latest version of cpan and got stuck. Tracked it down to the dependency module Mac::SystemDirectory which was failing to build:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
cpan[1]>install Mac::SystemDirectory
Reading'/var/root/.cpan/Metadata'
Database was generated on Sun,09Jun201907:17:02GMT
Running install formodule'Mac::SystemDirectory'
Running make forE/ET/ETHER/Mac-SystemDirectory-0.10.tar.gz
Couldn't execute cc -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -Os "-I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE" -c HASCOMPILEREZFt/TESTUSSI.c -o HASCOMPILEREZFt/TESTUSSI.o: Inappropriate ioctl for device at Makefile.PL line 14.
Requires a compiler
Warning: No success on command[/usr/bin/perl Makefile.PL INC=-I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE]
ETHER/Mac-SystemDirectory-0.10.tar.gz
/usr/bin/perl Makefile.PL INC=-I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE -- NOT OK
Running make test
Make had some problems, won'ttest
Running make install
Make had some problems,won't install
Failed during this command:
ETHER/Mac-SystemDirectory-0.10.tar.gz : writemakefile NO '/usr/bin/perl Makefile.PL INC=-I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE'returned status6400
The Solution Use the MacOS installer command to deploy the needed files:
Problem: Trying to run a yum -y update as root aborts with the following error:
1
2
3
4
5
The GPG keys listed forthe"Percona-Release YUM repository - x86_64"repository are already installed but they are notcorrect forthispackage.
Check that the correct key URLs are configured forthisrepository.
Failing packageis:sysbench-1.0.17-2.el6.x86_64
GPG Keys are configured as:file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Percona
The solution, found on the Percona website, is this: sudo yum update percona-release Source URL: https://www.percona.com/blog/2019/02/05/new-percona-package-signing-key-requires-update-on-rhel-and-centos/
If you are missing either your “Dashboard > Updates” menu choice, or the “Add New” button or menu choice in the Plugins section, do this to correct it: Edit the wp-config.php file, and change two lines to be false instead of true: For example, here are the two lines fixed:
As usual, whenever I have to do sysadmin on a Ubuntu-based OS, I find problems. When will people realize what a horrible OS it is? In this case, packages needed were unavailable. For apt-get to function, the file /etc/apt/sources.list must be edited to change all URLs from security.ubuntu.com and archive.ubuntu.com to old-releases.ubuntu.com, using the sed […]
[root@db1 ~]# service mysqld stop [root@db1 ~]# cd /var/lib/mysql [root@db1 mysql]# ls -l ib_logfile? -rw-rw—- 1 mysql mysql 5242880 Oct 29 23:00 ib_logfile0 -rw-rw—- 1 mysql mysql 5242880 Oct 29 22:38 ib_logfile1 [root@db1 mysql]# mv ib_logfile0 ib_logfile0.old [root@db1 mysql]# mv ib_logfile1 ib_logfile1.old [root@db1 ~]# vi /etc/my.cnf innodb_log_file_size=64M # comment out the old value, if one […]