Jump to content
  • 0

Problem - Ticket System by Shang



Hello dear comunity , today i installed this system  , and i have a small problem with ticket_lib.so at line 58. 


Sysser: ticket_lib.so:58: attempt to concatenate local `pid' (a nil value)


Row's at lib: 

function ticket.set_main_member()
	local pid = ticket.config.MAIN_MEMBER
	local c,permisions = mysql_direct_query("SELECT * FROM "..ticket.config.PERMISIONS_DB_TABLE.." WHERE pid = "..pid.." LIMIT 1;")
	if c > 0 or pid == 0 then return end
	mysql_direct_query("INSERT INTO "..ticket.config.PERMISIONS_DB_TABLE.." (pid,answer_permision,delete_permision,add_permision) VALUES ("..pid..",1,1,1);")


 Thank's for help's boy's.


Link to post

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Flux d'Activité

    1. 18

      serveur Metin2

    2. 1

      Implantation MOB (invisible + error)

    3. 1

      Implantation MOB (invisible + error)

    4. 1

      Mondial2 Remastered - New School International Private Server Open 27/11/2020

    5. 18

      serveur Metin2

    6. 29

      Dump Proto 2014

    7. 18

      serveur Metin2

    8. 15

      Mustang SF - Full - 1.8

  • Recently Browsing

    No registered users viewing this page.

  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.