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

SQL admin error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
neggard
Member
Join Date: Mar 2004
Location: Sweden
Old 12-04-2004 , 10:30   SQL admin error
Reply With Quote #1

I have install a server and mysql.
this is some of my configs...
; -------------------------------------------
; Database Access - only enable one of these
; -------------------------------------------
; MySQL
;mysql_amxx_i386.so
mysql_amxx.dll
;mysql_amxx_amd64.so
; PostgreSQL
;pgsql_amxx_i386.so
;pgsql_amxx.dll
; Microsoft SQL
;mssql_amxx.dll

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

; AMX Mod X plugins

; Admin Base - Always one has to be activated
; admin.amxx ; admin base (required for any admin-related)
admin_sql.amxx debug ; admin base - SQL version (comment admin.amxx)

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

And I got this error:
[AMXX] Run time error 4 (index out of bounds) on line 197 (file "admin.sma").

Why I dont even use this plugin?
And what could I do to get som admin access?
And where is the admin_sql.sma?
neggard is offline
Send a message via MSN to neggard
f1del1ty.oXi
Veteran Member
Join Date: Nov 2004
Old 12-04-2004 , 19:44  
Reply With Quote #2

THere isn't one. I think it does this when you use that plugin

// Uncomment for SQL version
//#define USING_SQL

(IT's in admin.sma.)

Try recompiling it and loading it up. Usually run time errors occur when your using an out of date plugin (one for an older AMXX.)
f1del1ty.oXi is offline
neggard
Member
Join Date: Mar 2004
Location: Sweden
Old 12-04-2004 , 21:08  
Reply With Quote #3

Thx.

I change
; AMX Mod X plugins

; Admin Base - Always one has to be activated
; admin.amxx ; admin base (required for any admin-related)
admin_sql.amxx debug ; admin base - SQL version (comment admin.amxx)

to

; AMX Mod X plugins

; Admin Base - Always one has to be activated
admin.amxx ; admin base (required for any admin-related)
; admin_sql.amxx debug ; admin base - SQL version (comment admin.amxx)

And now its working.
But I dont see the logic in this beqouse you should'n use admin.amxx when using sql.
neggard is offline
Send a message via MSN to neggard
pendragon
Senior Member
Join Date: Mar 2004
Location: In a bubble
Old 12-04-2004 , 22:14  
Reply With Quote #4

Quote:
Originally Posted by neggard
I dont see the logic in this beqouse you should'n use admin.amxx when using sql.
If you are using a database to control admin access to your server, then you use admin_sql.amxx
If you use users.ini to control your admin access then you use admin.amxx

if everything is running fine... REMOVE THE DEBUG portion

if you are using YoMama's amxbans system then you use admin.amxx and NOT admin_mysql.amxx along withi his plugins (yes i know weird but its because his amxbans.amxx does what admin_mysql.amxx would do)

if you are still confused.... then I have no clue what to tell you cause you're hopeless then.

MySQL DB = admin_sql.amxx
Users.ini = admin.amxx

__________________
pendragon is offline
Send a message via ICQ to pendragon
f1del1ty.oXi
Veteran Member
Join Date: Nov 2004
Old 12-05-2004 , 01:42  
Reply With Quote #5

Why are you posting stuff that doesn't really need to be posted? He understands all that. He tried to do it in the first part. He USES a MySQL database.

He had debug on because he was trying to find the error of the problem.
f1del1ty.oXi 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 21:57.


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