-
Notifications
You must be signed in to change notification settings - Fork 218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MYSQL Error? #435
Comments
This is MariaDB vs MySQL incompatibility thing. You need to roll back this part from 481a3dc#diff-f0e544595b41b612b1e4cd02497161cc3ff26f5249f5c064443f3f3492a64024R40 - DB::Aowow()->query('INSERT INTO ?_quests_startend (?#) VALUES (?a) ON DUPLICATE KEY UPDATE method = method | VALUES(method), eventId = IF(eventId = 0, VALUES(eventId), eventId)', array_keys($d), array_values($d));
+ DB::Aowow()->query('INSERT INTO ?_quests_startend (?#) VALUES (?a) AS newQSE(`t`, `ti`, `qi`, `m`, `ei`) ON DUPLICATE KEY UPDATE `method` = `method` | newQSE.`m`, `eventId` = IF(`eventId` = 0, newQSE.`ei`, `eventId`)', array_keys($d), array_values($d)); /e: - DB::Aowow()->query('INSERT INTO ?_profiler_profiles (?#) VALUES '.$ins.' ON DUPLICATE KEY UPDATE `name` = VALUES(`name`), `renameItr` = VALUES(`renameItr`)', array_keys(reset($baseData)));
+ DB::Aowow()->query('INSERT INTO ?_profiler_profiles (?#) VALUES '.$ins.' AS newP(`r`, `rg`, `na`, `itr`, `ra`, `cl`, `lvl`, `ge`, `g`, `gr`, `cf`) ON DUPLICATE KEY UPDATE `name` = newP.`na`, `renameItr` = newP.`itr`', array_keys(reset($baseData)));
Is probably related to the warning, but you need to tell me where it occured. |
And all quests in aowow are marked as "red deactivated". And the minimap for the quests is black. |
That doesnt make much sense. May be a couple days before i can check it in detail. item stats are not related to quests, so something else is borked. |
Here its what i mean.. Everything is marked as deactivated, even though these quests are not deactivated in the database and the map is black for the quests. Don't be surprised my aowow is in German |
I reinstalled everything with the fix for MariaDB, the quests are now no longer all marked as deactivated, but only those that are really deactivated. But the problem with the black minima in the quests remains. Maybe you have an idea why the map works for the NPCs, but not for the quests |
since you are using custom maps (#436) i' not inestigating this anomaly. |
Here in my Thread the screenshot doesn't show a custom map but a standard Blizzard map. |
OS: Debain 12
PHP Version: 8.3
AOWOW Version: Latest with all Updates
AzerothCore: No
MySQL: 10.11.6-MariaDB-0+deb12u1 Debian 12
TC rev: TrinityCore rev. 51ede41aba4a+ 2024-10-14 11:55:46 +0200 (release branch) (Unix, RelWithDebInfo, Static)
TDB Version: Using World DB: TDB 335.24081
The console spams the following error message:
14:35:47 [WARN] WARNING - mysqli_query(): (42000/1064): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AS newQSE
16:16:19 [WARN] WARNING - mysqli_query(): (21S01/1136): Column count doesn't match value count at row 1 @ /home/users/admin/www/xxx/aowow/includes/libs/DbSimple/Mysqli.php:165
aowow not compatible with the newest TC Version?
Is a fresh installation on a new server
The text was updated successfully, but these errors were encountered: