Fatal error: Using $this when not in object contex

Max12

Joined
Sep 1, 2010
Messages
13
Likes
0
Points
0
#1
Hi everybody,

I am trying to configure elastix2.0 with sqlite3,so This is what i did :
I modified the file /etc/amportal.conf

AMPDBENGINE = sqlite3
AMPDBFILE=/var/lib/freepbx.db
#AMPDBUSER=asteriskuser
#AMPDBPASS=
#AMPDBHOST=localhost

I have the folowing mistake:
Fatal error: Using $this when not in object context in
/var/html/libs/paloSantoTrunk.class.php on line 223

this is the line : $this->errMsg = $this->_DB->errMsg;
What is wrong ?
What should I modified to make elastix work with sqlite3 only.

Can Somebody help me please ?
I don't know what to do

Thanks in advance
 

trislo

Joined
Jul 2, 2010
Messages
5
Likes
0
Points
0
#2
I fix it commented this line

$this->errMsg = $this->_DB->errMsg;


This is bug because the funtions is outside of class.
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,900
Messages
130,884
Members
17,561
Latest member
marouen
Top