Tag: how-to

Hot to fix the problem on the new installation MariaDB

After the installation of MySQL server or MariaDB on Ubuntu, I would like to use phpMyAdmin or Adminer to access the MySQL server. But the first time the error comes like below. Access denied for user ‘root’@’localhost’ mysqli_real_connect(): (HY000/1698): Access denied for user ‘root’@’localhost’   Here is the solution to make the root connect to

OneDrive could not launch on Windows 10

It said: This application failed to start because it could not find or load the Qt platform plugin “windows” in “”. Reinstalling the application may fix this problem. My current Windows 10 is version 1703, OS build 15063.674. I knew OneDrive is the builtin with Windows 10. It can not be uninstall like a normal

How to connect DBF file and read data by PHP script

Afte last post, my php-fpm support the dbase database file now.  Here is an example php script. $db = dbase_open('../db/clients.dbf',0); if ($db){ $record_numbers = dbase_numrecords($db); for ($i = 1; $i <= $record_numbers; $i++) { $row = dbase_get_record_with_names($db, $i); if ( strpos(trim($row['CLIENTNAME']), $clientname) !== FALSE and $row['deleted'] != 1) { $clientid = $row['CLIENTID']); echo 'Customer ID

Install dbase extension on php7, Ubuntu 16.04

I followed the instruction mostly based on mote0230 github. Please be noticed that updating (and probably inserting) with arrays that contain named indexes, is not working. For my project, it is OK. I just need to read the data from dbf files. dbase-pecl-php7 # PHP 7 sudo add-apt-repository ppa:ondrej/php sudo apt-get install php7.0-fpm php7.0-curl php7.0-mysql

iTunes Installation error on Windows 10

When I re-install iTunes on my Windows 10, after reset my PC, I got the error as below: iTunes Installation error: “Microsoft VC80.CRT.TYPE=”win 32″.version=8.0.50727.6195″.publicKeyToken=’1fc8b3b9a1e18e3b”.processorArchitecture “x86″”.Please refer to help and support for more information. HRESULT:0X800700C1 It annoied my half an hour to solve the problem. At last, I got the answer. My Windows 10 may need