bar top left
bar top right
left curve
right curve
Welcome, Guest

Fatal error: Using $this when not in object contex
(1 viewing) (1) Guest
Go to bottom
Post Reply
Post New Topic
Page: 1
TOPIC: Fatal error: Using $this when not in object contex
#59040
Fatal error: Using $this when not in object contex 1 Year, 5 Months ago Karma: 0
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
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
Max12
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#60438
Re: Fatal error: Using $this when not in object contex 1 Year, 4 Months ago Karma: 0
I fix it commented this line

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


This is bug because the funtions is outside of class.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
trislo
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
Go to top
Post Reply
Post New Topic
Page: 1
Moderators: rafael, Bob, jgutierrez