summaryrefslogtreecommitdiff
path: root/docs/common-errors.md
blob: cd4d75ed70dcc3a3772189fbca24a60ef5d25d96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
---
tableofcontents: 1
---

# Common Errors

| Did this FAQ not answer your questions? Read [How to ask for help](how-to-ask-for-help.md) on how to proceed with your question in the best way. |
| --- |

## Database-related errors

#### [ACE00001](#a-hreface00001ace00001a)
I can't start my Auth/WorldServer, I get:
```
[ERROR]: Table 'acore_world.table' doesn't exist
Your database structure is not up to date. Please make sure you've executed all queries in the sql/updates folders.
```
You are simply not updated and you need to [Update your database](database-keeping-the-server-up-to-date.md).

---------------------------------------------------------

#### [ACE00002](#a-hreface00002ace00002a)
I can't start my Auth/WorldServer, I get:
```
[ERROR]: DatabasePool world NOT opened. There were errors opening the MySQL connections. Check your SQLDriverLogFile for specific errors.
[ERROR]: Cannot connect to world database 127.0.0.1;3306;acore;acore;acore_world
```
This can mean a lot of different things, either your database might not be online, you have entered the wrong credentials or the database structure is wrong.

You need to enable the SQLDriverLogFile in Worldserver.conf to get an accurate report on what is wrong.

To do this, uncomment Logger.sql.driver and then run the WorldServer again.

---------------------------------------------------------

#### [ACE00003](#a-hreface00003ace00003a)
I can't start my Auth/WorldServer, I get:
```
> Loaded 0 acore strings. DB table `acore_string` is empty.
```
This is because you have not imported the Database at all. Follow the instructions in [Database Installation](database-installation.md)

---------------------------------------------------------

#### [ACE00004](#a-hreface00004ace00004a)
I can't start my Auth/WorldServer, I get:
```
Unknown column 'level' in 'field list'

Your database structure is not up to date. Please make sure you've executed all queries in the sql/updates folders.
```
This can mean several things:

1. You have updated your database but forgot to update your binaries by recompiling.
2. You have updated your binaries but have forgot to update your database.
3. You are trying to use a custom patch or module but have forgotten to update your database.
4. You are trying to use an SQL patch from another project.

---------------------------------------------------------

## Database Update-related errors

#### [ACE00020](#a-hreface00020ace00020a)
My DB Assembler closes and does not import all updates, I get:
```
ERROR 1054 (42522) at line 14062: Unknown column 'resistance2' in 'field list'
```
This error is because you have manually changed the database structure and is conflicting with updates.

The easiest way to fix it is by dropping your database and importing it again.

---------------------------------------------------------

#### [ACE0021](#a-hreface00021ace00021a)
My DB Assembler closes and does not import all updates, I get:

This can be due to several reasons:

1. You have the wrong credentials set up for the DB Assembler.
2. Your Database structure has been modified manually and is conflicting with the updates. Fix this by dropping the database.

---------------------------------------------------------

#### [ACE00022](#a-hreface00022ace00022a)
 My DB Assembler closes and does not import all updates, I get:
```
ERROR 1067 (42000) at line 181: Invalid default value for 'start_time'.
```
Disable MySQL strict mode, read [How to turn on/off MySQL strict mode in localhost (xampp)? StackOverflow](https://stackoverflow.com/questions/40881773/how-to-turn-on-off-mysql-strict-mode-in-localhost-xampp).

------------------------------------------------------------------------------------------------------------------

#### [ACE00023](#a-hreface00023ace00023a)
My Worldserver closes when autoupdater, I get:
```
ERROR 2013 (HY000) at line 4: Lost connection to MySQL server during query
```
This is most likely due to your MySQL server's max_allowed_packet setting is too low. See [this](https://docs.oracle.com/cd/E19509-01/820-6323/gicxk/index.html) or run the command `SET GLOBAL max_allowed_packet=1073741824;` in your SQL client (HeidiSQL, SQLyog, etc.) to update your max_allowed_packet.

**This value will reset the next time your SQL server restarts and it may be necessary to run this query again in the future.** 

## Core-related Errors

#### [ACE00040](#a-hreface00040ace00040a)
Core doesn't start, I get:
```
dbc exists, and has 13 field(s) (expected 12). Extracted file might be from wrong client version or a database-update has been forgotten.
```
You need to extract the DBC files from the same unmodified client version as your server is. i.e 3.3.5a.

---------------------------------------------------------

#### [ACE00041](#a-hreface00041ace00041a)
Core doesn't start, it closes as soon as I open it.

Start the server using command prompt to get the exact error.

---------------------------------------------------------

#### [ACE00042](#a-hreface00042ace00042a)
Core doesn't start, I get this error window.

```
The code execution cannot proceed because libmysql.dll was not found. Reinstalling the program may fix this problem.

Or similar error.
```
You have not copied the necessary .dll files into the binaries directory.

---------------------------------------------------------

#### [ACE00043](#a-hreface00043ace00043a)
Core doesn't start, I get:
```
AzerothCore does not support MySQL versions below 5.7 and MariaDB versions below 10.5
```
Upgrade your MySQL/MariaDB.

---------------------------------------------------------

#### [ACE00044](#a-hreface00044ace00044a)
I get:
```
-- Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM - Failed error
```
You can ignore it. It's an error we cannot hide.

---------------------------------------------------------

#### [ACE00045](#a-hreface00045ace00045a)
I get an error when the WorldServer is running:
```
Map file './maps/0004331.map' is from an incompatible map version (MAPS v9), MAPS v10 is expected
```
Pull the source, recompile tools, copy the extractors to your wow binaries and recreate the maps using the updated mapextractor. Then repl#ace your old map files with the new ones.

---------------------------------------------------------

#### [ACE00046](#a-hreface00046ace00046a)
I get an error when WorldServer is starting:
```
Used MySQL library version (8.0.19 id 80019) does not match the version id used to compile AzerothCore (id 80024)
```` 
You need to use the exact version of libmysql.dll as the version you used to compile your source with. You get it from **C:\Program Files\MySQL\MySQL Server 8.x\lib\\** or by following the [installation guide](https://www.azerothcore.org/wiki/windows-core-installation#compiling-the-source).

This is due to that you have updated your MySQL server but have not recompiled and added the new libmysql.dll file.

---------------------------------------------------------

#### [ACE00047](#a-hreface00047ace00047a)
I get an error when I am trying to start Worldserver or Authserver
```
This application was unable to start correctly (0xc000007b). Click OK to close the application.
```
This is usually due to mixing 32/64bit DLLs with your compiled binaries. Your DLLs needs to be the same bit version as your compiled binaries.

---------------------------------------------------------

## Core compilation-related errors

#### [ACE00060](#a-hreface00060ace00060a)
I don't get an AzerothCore hash

Reinstall Git for Windows and select "Git from the command line and also 3rd party software" when asked about adjusting your PATH.

---------------------------------------------------------

#### [ACE00061](#a-hreface00061ace00061a)
I cannot install AzerothCore on CentOS/Ubuntu/Debian etc.

AzerothCore requires GCC 8.0 or higher and CLang 7 or higher.

---------------------------------------------------------

#### [ACE00062](#a-hreface00062ace00062a)
I cannot install AzerothCore on Windows XP/Vista/7

AzerothCore requires [Visual Studio 2022](https://docs.microsoft.com/en-us/visualstudio/releases/2022/system-requirements), therefore you need to update to Windows 10 or above.

---------------------------------------------------------

#### [ACE00063](#a-hreface00063ace00063a)
I cannot install AzerothCore on Linux, I get:
```
c++: internal compiler error: Segmentation fault (program cc1plus)
```
This can be due to:
1. SELinux stronged kernels, workaround: change to one standard kernel, compile with clang instead of gcc or compile without pch.
2. Low ram/swap memory, increase it.

---------------------------------------------------------

#### [ACE00064](#a-hreface00064ace00064a)
How do I \<insert question\> on my operating system.

Use google or buy a book to learn the operating system you are using.

---------------------------------------------------------

#### [ACE00065](#a-hreface00065ace00065a)
I can't compile, I get:
```
fatal error C1060: compiler is out of heap sp#ace
C1076: compiler limit : internal heap limit reached; use /Zm to specify a higher limit
```
Read [How to: Enable a 64-Bit, x64 hosted MSVC toolset on the command line. Microsoft](https://docs.microsoft.com/en-us/cpp/build/how-to-enable-a-64-bit-visual-cpp-toolset-on-the-command-line?redirectedfrom=MSDN&view=msvc-160).

---------------------------------------------------------

#### [ACE00066](#a-hreface00066ace00066a)
I can't compile, I get:
```
C1001: An internal error has occurred in the compiler.
```
Update your Visual Studio.

---------------------------------------------------------

#### [ACE00067](#a-hreface00067ace00067a)
I can't generate my CMake files, I get:
```
Could NOT find Boost (missing: system filesystem program_options iostreams regex) (found suitable version "1.74.0", minimum required is "1.70")
```
Locate your Boost folder
1. Run the Bootstrap.bat file
1. Run the b2.exe file 

## Extractor-related errors

#### [ACE00080](#a-hreface00080ace00080a)
I am looking for map extractors but they are for wow version 4.

No they are not. The name "vmap4extractor"/"vmap4Assembler" reflects the version of the tool. They are all for WoW 3.3.5a.

---------------------------------------------------------

#### [ACE00081](#a-hreface00081ace00081a)
Couldn't open RootWmo while running extractor.

Not an error, ignore it.

---------------------------------------------------------

#### [ACE00082](#a-hreface00082ace00082a)
I can't use Vmap extractor.

Extract maps first.

---------------------------------------------------------

#### [ACE00083](#a-hreface00083ace00083a)
I have maps from ManGOS or TrinityCore, can I use them?

No.

| Did this FAQ not answer your questions? Read [How to ask for help](how-to-ask-for-help.md) on how to proceed with your question in the best way. |
| --- |