Admin base sql edited.
I've took the time to edit this source, now i am getting an error.
Edited source: https://pastebin.com/SMHq5a2e Now i am getting this error in console. Code:
[AMXX] SQL Error: failed to load admins: : 'Unknown column 'nickname' in 'field list''Any tips boys? |
Re: Admin base sql edited.
As the error states, your admins table lacks a column called "nickname". I see in your code that in the CREATE TABLE code you do indeed add a column called "nickname", so that probably means your database still has the default table from before you made those changes. You can either delete the table so that it gets created correctly by the plugin again, or you can edit the table manually to include that column.
|
Re: Admin base sql edited.
With the untouched version is creating the table by itself, with the edited version it's giving errors and i've created the table in database manualy.Something must be wrong in the code, even if i added the column to table in plugin and database smtgh must be wrong.
proof with untouched version https://prnt.sc/ljs80r ------------------------ Did some modifications, added a var in the function and now is creating an empty table with the columns but not nickname. source https://pastebin.com/DBwpCTnr proof: https://prnt.sc/ljsbkr Where i am doing wrong? |
Re: Admin base sql edited.
I can see 2 problems with the code after a quick look:
Line 244 - You have the access flags and nickname parameter switched up: PHP Code:
PHP Code:
PHP Code:
|
Re: Admin base sql edited.
Dammit 26 errors.
Code:
admin.sma(244) : error 088: number of arguments does not match definition |
Re: Admin base sql edited.
Those errors seem to suggest that you have made a typo somewhere in the code, possibly an extra (or missing) closing bracket somewhere. Double-check everything you last changed.
|
Re: Admin base sql edited.
https://prnt.sc/ljt23e
Found it, thanks. Instead of player name i am getting this weird domain name. https://prnt.sc/ljt3gw |
Re: Admin base sql edited.
Mark it as solved, thank you Kushfield.
|
| All times are GMT -4. The time now is 07:39. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.