Category Archives: How to Fix

Apache startup error ah00534: httpd: configuration error: more than one MPM loaded

Apache startup error AH00534: HTTPD: Configuration Error: More than one MPM loaded.
Open apache configuration file httpd.conf
LoadModule mpm_event.so
LoadModule mpm_prefork_module /mod_mpm_prefork.so
LoadModule mpm_worker_module Modules /mod_mpm_worker.so
comment out two changes as follows
Click to view full text: http://www.3qphp.com/server/server/2860.html

Error cs1002:; expected error resolution

This error usually occurs because the C# code in the front page has fewer semicolons, or fewer parentheses, causing the compiler to fail. Double check that the C# code on the page is written correctly.
I made this error because the code at @{} in the foreground page is missing a parenthesis. Add parentheses to solve the problem.

Reproduced in: https://www.cnblogs.com/MrZheng/p/10186059.html

bad index file sha1 signature fatal

Sometimes sourceTree prompts a “Bad Index File Sha1 Signature fatal: index file corrupt” error while performing operations such as Commit or REVERT, causing the operation to fail. This is due to an error in Git’s index file. You need to delete the.git/index file and then run Git Reset in the repository directory to regenerate the index file. Git Reset can also delete information that is committed but not pushed.
$ git status
Error: bad index File sha1 signature fatal:
index file corrupt
First delete the index file $
Rm – f. git/index
$ git reset

Linux execution LS error: LS: cannot open directory.: input / output error solution

Linux executes LS error: LS: cannot open Directory.: Input/output error

error message is as follows
analysis: the above situation is usually caused by hard disk problems resulting in file system damage 4. Analysis: the above situation is usually caused by a hard disk problem file system corruption solution: 1. Try restarting the system if you can. 2. Use FSCK for file system repair, which requires unmounting the disk mount first and then using: fSCk-y /dev/sdb1; When the fix is complete, remount the directory and re-enter the directory to see the problem resolved.

Problem solving of IOS apple mach-o linker error group

Type 1: You import other.m files into your.m file
Second, according to common thinking logic, Comm. A should be loaded into two different static Link Binary With Libraries, and then compile the main APP. As a result, the problem occurs.
Clang: Error: Linker Command failed with exit code 1 (USE-v to see Invocation). After analysis. Modify filenames, functions, constants, etc. that may have the same name. But problems remain.

Or two files with the same name appear in the project, with duplicate or duplicate names

MySQL workbench insert data prompt error: 1046 (errorcode: 1046. No database select…)

Problem description:
The Error Code: 1046. Select the default DB to be 2 by double – clicking its name in the SCHEMAS list in the sidebar. 0.000 SEC

Error: The default database was not selected to receive the data
Solution: 1. Double-click the database you want to operate on
2. Execute the SQL statement
3. Check whether the data was inserted successfully

Ctypes loading DLL error oserror: [winerror 126] the specified module could not be found

Python calls BaiduFaceApi. DLL

import ctypes
dllBaiduFaceApi = ctypes.cdll.LoadLibrary("../x64/BaiduFaceApi.dll")

Error message:

Traceback (most recent call last):

  File "<ipython-input-12-6f7ace0c1603>", line 1, in <module>
    runfile('xxx/main.py', wdir='xxx')

  File "x:\ProgramData\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 704, in runfile
    execfile(filename, namespace)

  File "x:\ProgramData\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 108, in execfile
    exec(compile(f.read(), filename, 'exec'), namespace)

  File "xxx/main.py", line 15, in <module>
    dllBaiduFaceApi = ctypes.CDLL("../x64/BaiduFaceApi.dll")

  File "x:\ProgramData\Anaconda3\lib\ctypes\__init__.py", line 356, in __init__
    self._handle = _dlopen(self._name, mode)

OSError: [WinError 126] The specified module could not be found

The reason for the error is that baidufaceapi.dll relies on other DLLS in the X64 folder, but the Python process could not find it.
Solutions:

    modify the current working path:
os.chdir("../x64")

This approach is available in the Base environment of Anaconda, but not in the virtual environment.

    modify the system environment variable PATH, in which absolute PATH “(XXX /x64) “

is added

Cannot find name ‘require’

In Typescript, direct use of the require syntax in the case of unconfigured error ‘Cannot find name’ require ‘

why
Require is the syntax for node, and the runtime environment is not the Node environment.
plan
1. Install @types/node: NPM I @types/ node-s-d
2. Json :
compilerOptions add an item:

{
    "compilerOptions": {
    	// ...
        "types": ["node"],
        // ...
}

“Fatal error: Unable to find local grunt.” when running “grunt” command

Download locally
> npm install grunt
> grunt
Command line run: Grunt, the following problem occurs:

 
 
These are referenced in Gruntfile.js and installed in turn:
npm install grunt-contrib-copy
npm install grunt-contrib-concat
NPM install grunt – contrib – uglify
NPM install grunt – CSS
 

Reproduced in: https://www.cnblogs.com/holy-amy/p/6882540.html

RESTORE detected an error on page (0:0) in database

The following error was encountered while the test server was restoring a database on the production server:
System. The Data. SqlClient. SqlError: RESTORE detected an error on the page (0-0) in database “XXXX” as read from the backup set. (Microsoft) is essentially) SmoExtended)
To validate the database Backup (Verfify Backup Media), submitted to the following error:
Backup Media verification failed: XXXXX (Microsoft. Essentially. Management RelationalEngineTasks)
Since the backup file was uploaded from HK with FileConnect, it is possible that intermediate network problems or other factors may cause the backup file to be corrupted, because FileConnect has been used to extract files and find corrupt files. The system administrator has given me a way to verify whether the files obtained from FileConnect are corrupted. First, compress the database backup files, then upload to FileConnect, and then get the compressed files from the database backup from above. If the unzips are normal, the files are not corrupted. During the test, the file was found to be corrupted.

 

Reproduced in: https://www.cnblogs.com/kerrycode/p/4346636.html