Month: November 2015
-
Post Views: 12 1. Copy Discuz_x3.2_sc_utf8/upload/uc_server/lib/dbi. class.php to ucenter_1.6.0_sc_utf8/lib/dbi.class.php 2. Edit ucenter_1.6.0_sc_utf8/model/base.php function init_db() { //require_once uc_root.lib/db.class.php; if(function_exists(“mysqli_connect”)) { require_once UC_ROOT.lib/dbi.class.php; } else { require_once UC_ROOT.lib/db.class.php; } $this->db = new ucserver_db(); $this->db->connect(uc_dbhost, uc_dbuser, uc_dbpw, uc_dbname, uc_dbcharset, UC_DBConnect, UC_DBTablePre); } 3. Copy the class of discuz_x3.2_sc_utf8/upload/uc_server/api/dbbak.php dbstuffi to ucenter_1.6.0_sc_utf8/api/dbbak.php 4. Edit ucenter_1.6.0_sc_utf8/api/dbbak.php 5. Enable the mysqli extension in uc_client, copy discuz_x3.2_sc_utf8/upload/u…
-
Post Views: 11 1. ;extension=php_mysql.dll, disable mysql extension in php.ini; 2. In the function dependency check, mysqli_connect is supported; 3. After installation, open the blank; 4. Delete the program file, copy the file to the installation directory, edit discuz_x3.2_sc_utf8/source/class/discuz/discuz_database.php, and find the function quote, modify, because it does not make the judgment of extended support: tiveting if (is_string($str)) return\. mysql_escape_string($str)…
-
Post Views: 9 1. After Windows 8.1 is upgraded to Windows 10, start VisualSVN Server Manager and report an error: the provider cannot perform the tried operation (0x80041024), VisualSVN Server The current version of the manager is: 3.0.1 2, 2,https://www.visualsvn.com/server/changes/ Download version 3.4.2 64-bit, install and upgrade
-
Post Views: 10 1. The remaining 40.5G space of the C drive space is available 2. The reason is: C:\Users\Administrator\VirtualBox VMs, occupying space is 43.6GB 3. Modify the default virtual computer location of VirtualBox to: D:\VirtualBox VMs 4. Copy the virtual machine windows_xp_ie6 step 1 5. Copy the virtual machine Windows_XP_IE6 to Windows_XP_IE6_1, and check the MAC address of all…
-
Post Views: 14 1. Open the URL:http://redis.io/download, windows The Redis project does not officially support Windows. However, Microsoft Open Technology Group has developed and maintained a Redis version for Windows 64-bit. as shown in Figure 1 2. The URL is linked to:https://github.com/MSOpenTech/redis According to the prompt, you canhttp://github.com/MSOpenTech/redis/releasesDownload to the latest binary file, as shown in Figure 2 3. Download…
-
Post Views: 13 1. Windows version is Windows 10 Home 2. In computer management, the options for local users and groups cannot be found 3. Execute the command prompt as an administrator: net user administrator /active:yes 4. Change the account settings already exist in the Administrator account 5. Switching account to Administrator successfully
-
Post Views: 13 1. After expanding the capacity and restarting the instance through the console, check the capacity of the console cloud disk: 2. Check the disk space usage, including the data disk that has not been mounted, command: df-h fdisk-l Friendly reminder: If you execute the fdisk -l command and find that there is no /dev/xvdb to indicate that…
-
Post Views: 14 1. Failed to download the Chinese name file from CentOS 6.5 on FlashFXP failed. The screenshot is as follows: 2. In the options of the site manager, set the character encoding to UTF-8 3. After reconnecting the FTP site, you can successfully download the Chinese name file
-
Post Views: 13 1. Program screenshots, New Imagick: 2. Error when the browser runs: Unable to read the file 3. Run the command: rpm -qa | grep ghostscript, find that the gs software is not installed, run the command: yum install ghostscript 4. The file is successfully uploaded, and the corresponding png picture is successfully generated:
-
Post Views: 53 1. Enter in the Baidu search box: in the middle of the poor If you want a grenade, you have to be in the grenade, you need it on the right, and the final search results are as follows: 2. Write the function qstrlen, the code is as follows: /** * dstrlen // kcuc * @param string…
