lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


* Vasanta:

> Florian:
> I am getting this error after I added, this is pointing to dfunction
> db.escape, I added function below, also I kept modifed code, appreciated fro
> any help
> db.lua:38  attempt to call method 'escape' (a nil value)

I'm not sure what's going on there.  I assumed that _DB_con would be
initialized at that point because db.connect had been called earlier.
Apparently, this is not the case.