Welcome Guest, Not a member yet? Register   Sign In
Lost Database Connection
#5

(07-11-2016, 06:17 AM)kilishan Wrote: That will be fixed shortly. There is a bug report that came in over the weekend about this that I haven't had a chance to correct yet.

Pull requests are welcome. Smile

You've got it, Kilishan. But I'm not sure it solves the issue. I get very strange behaviour with those three lines:

PHP Code:
$this->db = \Config\Database::connect($this->base_datos);
$this->query $this->db->table($this->db_tabla);
$this->db_columnas $this->db->getFieldNames($this->db_tabla); 

I have them in a class returning a complete html table. The Error of loosing $this->ConnID comes from escape() method in system/Database/Postgre/Connection.php ONLY when I invoke through an AJAX call from the paginator in the table. If I just refresh the page, those three lines work well.

Ain't it weird? I can't figure out the solution, it is beyond my knowledge.

Thanks.
Reply


Messages In This Thread
Lost Database Connection - by portaflex - 07-11-2016, 12:34 AM
RE: Lost Database Connection - by InsiteFX - 07-11-2016, 03:12 AM
RE: Lost Database Connection - by portaflex - 07-11-2016, 06:00 AM
RE: Lost Database Connection - by kilishan - 07-11-2016, 06:17 AM
RE: Lost Database Connection - by portaflex - 07-11-2016, 03:01 PM



Theme © iAndrew 2016 - Forum software by © MyBB