Page 1 of 1

Access_level.sql isnt work ?

Posted: Fri Jan 22, 2010 6:22 am
by rigid
im read tutorial in access_level.sql
but if im execute this sql query :

Code: Select all

 INSERT IGNORE INTO `admin_command_access_rights` VALUES ('admin_para','4'); 
isnt work in my database
i dont see access_level 4 in table
just access_level 1 all :(

Re: Access_level.sql isnt work ?

Posted: Fri Jan 22, 2010 7:01 am
by janiii
Because the command is already there and you ignore the insert then. Use REPLACE INTO instead.

Re: Access_level.sql isnt work ?

Posted: Fri Jan 22, 2010 7:06 am
by rigid
Janii
i want add like this


admin_admin 1
admin_admin 4

this is mean access_level 4 can use //admin too

what must i do ?

Re: Access_level.sql isnt work ?

Posted: Fri Jan 22, 2010 7:20 am
by janiii
set it to 4. and 4 has to be a childaccess of 1

Re: Access_level.sql isnt work ?

Posted: Fri Jan 22, 2010 7:41 am
by rigid
Thanks janii
its work :)