Nope. That isnt full script. But thats the piece of script where is the problem. There is pugin_init(), includes, connecting to mysql server etc. All is ok when i connected to mysql server. There is no problem. Problem begins in the given piece of code.