Tag Archives: ProgrammerAH

Error c2064: term does not evaluate to a function in VC

I encountered this problem today: I found that an object was constructed twice. The first time an object is defined as a global variable using the no-argument default constructor FFT FftTrans; In the second chapter, when the function calls this object, the constructor with parameters is adopted. At this time, the compiler reports error C2064: term does not evaluate to a function.
Solution: In the function to call this object, at this time you want to have the constructor initialization parameters, but will report an error case, in the class to which the object belongs to define a method, function and parameters of the constructor initialization, and then use the object to call this method, achieve the same purpose!
Note: In solving this problem, it is found that the same error occurs when a variable is passed into the function, but the “()” symbol is added to the variable, which causes the same error.

Solutions to Excel 2007 “cannot shift object off sheet”

Yesterday when I was editing an Excel 2007 file, I tried to add a new line, but it failed every time. Excel said “Cannot shif objects off sheet”, as shown in the figure below.

  

The simplest solution is to press
Ctrl+6, you can’t add new lines again. The specific reasons can be found in the following links:

http://office.microsoft.com/en-us/excel/HA102412411033.aspx

Reproduced in: https://blog.51cto.com/jackiechen/281830

Ionic1 compiling IOS encountered * * archive failed * * cordovaerror: promise rejected with non error: ‘error code 65 f

** ARCHIVE FAILED **
CordovaError: Promise rejected with non-error: ‘Error code 65 for command: xcodebuild with args: -xcconfig,platforms/ios/cordova/build-debug.xcconfig,-workspace,AotaoWorld.xcworkspace,-scheme,AotaoWorld,-configuration,Debug,-destination,generic/platform=iOS,-archivePath,AotaoWorld.xcarchive,archi ve,CONFIGURATION_BUILD_DIR=/
 
Remove ionic plugin-console and it is said that ionic-plugin-console is not supported in higher editions

Microsoft Remote Desktop (Android version) connection appears the solution of the error of 0x204

We couldn’t connect to the remote PC.Make sure the PC is turned on and connected to the network, and Thar remote Access is enabled. Error code:0x204 prompt message appears.
The solution: open the control panel -& GT; Management tool -& GT; Service, find the Remote Desktop Service and Remote Desktop Configuration. If the startup type is disabled, right-click -& GT; Property, change to manual or automatic, and then set both to boot. Open the command line and type Netstat-ano to see that port 3389 is open.
You can connect with your phone again.
Also, check if the Remote Desktop Services UserMode Port Redirector service is enabled. If it is not enabled, the voice on the PC cannot be played on the mobile phone.
— — — — — — — —
the original link: https://blog.csdn.net/u012436908/article/details/49693279

Dell R710 PCIE Fatal Err

E171F PCIE Fatal Err B0 D3 F0 is shown in orange on the front display panel as the server crashes.
to restart the monitor to the PCIE Fatal Err: Critical Event sensor, bus
Fatal error (bus 0 Device 3 Function 0) was asserted 】, cannot be started.
fault cause: two liquid capacitors on SAS 5i card are damaged. The top of the capacitor can be seen bulging in appearance.
solution: replace the capacitance, the capacitance is 1500uf, the voltage is 6.3v, the temperature resistance is 105℃.
you only need to remove the SAS 5i card and go to the local place where the computer can be repaired. You can spend from 10 yuan to
20 yuan and ask the computer repairman to remove the broken capacitor and replace it with a new one.
capacitance selection: the height of the capacitance shall be less than or equal to the original capacitance (too high, the chassis cover will not be able to be covered), the capacitance shall be
amount, the voltage must be consistent, the temperature resistance shall be approximately equal to the original temperature resistance.
sanyo’s solid capacitance is the best choice, followed by sanyo’s liquid capacitance.
SAS 5i card disassembly method: SAS 5i position is in front of the server display board behind, the left front section of the server. 1, open the cover of the case,
2, find the position of SAS 5i card,
3, remove the line on the right,
4, first lift the blue plastic handle on the left, then drag it out to the right. 5. Wrap it in newspaper, put it in a cardboard box, and take it to the computer repair shop.
SAS 5i card is easy to install, no more details.

Reproduced in: https://blog.51cto.com/kunka/1891241

Record of solving the failure of installing ie11 (9c59) under 64 bit Windows 7 system

On 64-bit windows7 sp1, the attempt to install IE11 always prompts errorCode=9c59 with an unknown error.
after the network search finally eliminated the error, the installation was successful. Because the cause of the problem has not been found accurately at last, several factors conducive to the elimination of errors are listed as follows for reference.
Benefit factor 1: Take advantage of all updates other than IE11 installed for Windows Update. (IE9, 10,11 can be installed automatically with Windows update.) help solve factor 2: remove the Windows update pack stored directory. Here’s how: Turn on computer management — & GT; Service – & gt; Find Windows Update, stop service — & GT; Remove the C :\ Windows \softwareDistribution directory and restart your computer. Help to solve factor 3: use IE11 offline installation package. 5. Before installing IE11, install the System Update Readiness Tool (500M+). More than this will be well taken up by http://it.englishtong
This article solution derived from: http://www.wintips.org/fix-error-code-9c59-insternet-explorer-installation-failed/ (note that this page outside the wall interior wall I don’t know)

Error Code: 2006 – MySQL server has gone away

SQLyog reported an error when importing the database
Error Code: 2006-mysql Server has gone Away
Max_allowed_packet (a parameter of MySQL) is not set to a large enough value.
Modify directly using SQL statements:
The SET GLOBAL max_allowed_packet = 671088640;
This works well, after the change, there is no need to restart the service, it works directly

【Exception】mysqldump: Error 2013: Lost connection to MySQL server during query when dumping table…

When backing up mysql data today, I encountered the Error Error 2013. Let’s have a look at the reason.

The scene

-bash-4.1$ mysqldump -uroot -p1234456 tpcms > ~/mysql-backup/tpcms.sql
mysqldump: [Warning] Using a password on the command line interface can be insecure.
mysqldump: Error 2013: Lost connection to MySQL server during query when dumping table `cms_basic` at row: 237

Cause analysis,
Dump volume is so large that it exceeds the set timeout time
As you can see from executing the query below, net_read_timeout is 30 seconds, and net_write_timeout is 90 seconds

mysql> show global variables like '%timeout%';
+-----------------------------+----------+
| Variable_name               | Value    |
+-----------------------------+----------+
| connect_timeout             | 10       |
| delayed_insert_timeout      | 300      |
| have_statement_timeout      | YES      |
| innodb_flush_log_at_timeout | 1        |
| innodb_lock_wait_timeout    | 50       |
| innodb_rollback_on_timeout  | OFF      |
| interactive_timeout         | 28800    |
| lock_wait_timeout           | 31536000 |
| net_read_timeout            | 30       |
| net_write_timeout           | 60       |
| rpl_stop_slave_timeout      | 31536000 |
| slave_net_timeout           | 60       |
| wait_timeout                | 28800    |
+-----------------------------+----------+
13 rows in set (0.01 sec)

The solution
After setting timeout up, you can dump

mysql> set global net_read_timeout = 120; 
Query OK, 0 rows affected (0.00 sec)

mysql> set global net_write_timeout = 900;
Query OK, 0 rows affected (0.00 sec)

mysql> show global variables like '%timeout%';
+-----------------------------+----------+
| Variable_name               | Value    |
+-----------------------------+----------+
| connect_timeout             | 10       |
| delayed_insert_timeout      | 300      |
| have_statement_timeout      | YES      |
| innodb_flush_log_at_timeout | 1        |
| innodb_lock_wait_timeout    | 50       |
| innodb_rollback_on_timeout  | OFF      |
| interactive_timeout         | 28800    |
| lock_wait_timeout           | 31536000 |
| net_read_timeout            | 120      |
| net_write_timeout           | 900      |
| rpl_stop_slave_timeout      | 31536000 |
| slave_net_timeout           | 60       |
| wait_timeout                | 28800    |
+-----------------------------+----------+
13 rows in set (0.01 sec)

“An error occurred while adding a recovery system to the destination disk

Let’s start with the context of what’s going on, but skip ahead. I am the 15-inch rMBP2012, and the day before yesterday, I was stuck in the login interface (a rare problem is that after I input the password, the loop turns endlessly, but of course the system cannot get in). As soon as I came into contact with MAC, I didn’t understand anything. I simply used the disk permission repair and disk verification, and there was no problem. So I went to the App Store to check, and there was no problem, so I reinstalled it directly. If you can reinstall the students do not go, they basically have no good solution to the software problem, except reinstall.
Environmental problem: the classmate of useful Time machine must first thoughts after the above problems is to recover from the TM, but three days ago there was a new backup, here next Time capsule, convenient wireless backup is too much, if you have it will have a backup, an hour after a problem, I immediately bought a, is in the mobile hard disk backup before. Here is to explain that if you just look for files from the TM, then into the TM copy out can be, but want to restore the full (that is, including the system), need to boot from the system disk to go in, speaking of the system disk, can be installed in the U disk or mobile hard disk in a partition. I like clean installation, so I did a bit of formatting on my my hand is out of control before TM was restored, and then the above problem occurred.
Cause of problem: Lack of recovery partition, so this problem usually occurs on a completely formatted or new hard disk.
Solution: Reinstall the system, this time will generate “restore partition” by default. Since the system will be restored during installation, there is no need to wait for the completion of the entire installation process. You just need to click option to enter TM restore in the first restart.