You need to do the following steps to fix it. You need to change php version and library file name in the following command.
Find the files which is trying to load this library ( or any other )
grep -Hrv ";" /etc/php/7.0 | grep -E "extension(\s+)?=" | grep mcrypt
Then comment out the line in those files and restart apache
$query = (new Query())
->select(['itinerary.id, itinerary.from_vertex_id, itinerary.to_vertex_id,
v1.name AS from_name, v2.name AS to_name,
CONCAT(v1.name, v2.name) AS it_name
->innerJoin('vertex v1', 'itinerary.from_vertex_id = v1.id')
->innerJoin('vertex v2', 'itinerary.to_vertex_id = v2.id')
Solution: The select method above must always be passed with an array (  ), using it with string puts strange backticks around column names.
sudo apt-get install php7.0-soap
sudo systemctl restart apache2.service
Sometimes the AVD does not respond or not booting up:
Use the following steps to install android studio 3.0 on Ubuntu 17.10.
sudo add-apt-repository ppa:maarten-fonville/android-studio
sudo apt-get update
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386
sudo mv libstdc++.so.6 libstdc++.so.6.og
sudo ln -s /usr/lib64/libstdc++.so.6 .
Today we learned how to connect to sql using work bench and command line mysql client. We created a simple table, and inserted a row.
Sometimes the camera is not detected even after enabling it via raspi-config. Run the following and then try motion.
sudo modprobe bcm2835-v4l2
To fix it, create or edit the file at
/usr/share/X11/xorg.conf.d/20-intel.conf as root with the following:
Identifier "Intel Graphics"
Option "AccelMethod" "sna"
Option "TearFree" "true"
Option "DRI" "3"
And add this:
GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash i915.enable_rc6=0″
cmd: sudo update-grub
It is not installed by default so you have to install it and then a little configuration is required.
sudo apt install sendmail
The run the following command and choose Y for all the options.
Now edit the host file:
sudo nano /etc/hosts
And add or edit as:
127.0.0.1 localhost localhost.localdomain your_machine_name
To get your_machine_name run:
mysql -u debian-sys-maint -p
In another terminal run the following to get password
I spent a dozens of minutes today to learn, how to enable ssh to Raspberry Pi without a monitor. SSH is disable by default after October 2016. Here is a one minute solution.
Attach the sd card to your computer and add an empty file SSH on the root of the sd card partition.
It means you are running another instance of dev server. Stop that and rerun this one.
Click the ellipses (…) near button Share and then click Edit Group Settings. Scroll down to Web and Email address.
No need to have any likes or followers or days since created.