Raised This Month: $51 Target: $400
 12% 

Transfer vault information to SQL


Post New Thread Reply   
 
Thread Tools Display Modes
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 12-30-2023 , 12:30   Re: Transfer vault information to SQL
Reply With Quote #21

I updated the above code with this change
__________________
Bugsy is offline
amirwolf
Senior Member
Join Date: Feb 2019
Location: Iran
Old 12-30-2023 , 13:23   Re: Transfer vault information to SQL
Reply With Quote #22

Code:
L 12/30/2023 - 21:52:08: [AMXX] Plugin ("test.amxx") is setting itself as failed.
L 12/30/2023 - 21:52:08: [AMXX] Plugin says: 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 ' , , '', '')' at line 1
L 12/30/2023 - 21:52:08: [AMXX] Run time error 1 (plugin "test.amxx") - forced exit
__________________
amirwolf is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 12-30-2023 , 13:42   Re: Transfer vault information to SQL
Reply With Quote #23

Looking at your prior post, the SQL statement is missing values so the parse isn't working as expected:

INSERT INTO crxranks (`Player`, `XP`, `Level`, `Next XP`, `Rank`, `Next Rank`) VALUES ('30', , , , '', '');

Provide some sample nVault records, or send me the nVault file and I can look.
__________________

Last edited by Bugsy; 12-30-2023 at 13:43.
Bugsy is offline
amirwolf
Senior Member
Join Date: Feb 2019
Location: Iran
Old 12-31-2023 , 09:27   Re: Transfer vault information to SQL
Reply With Quote #24

Because I had not reached a conclusion and had little time, I entered all the items manually
Thanks to all of you
__________________
amirwolf is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 12-31-2023 , 11:04   Re: Transfer vault information to SQL
Reply With Quote #25

Provide adequate information and this could have been completed quickly.
__________________
Bugsy is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:22.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode