• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with PostgreSQL

#5
[eluser]Gabriel Melo[/eluser]
I'm sorry very much for that all happened, It just was a mistake of typing :/

I fixed the error, this was the next line:

Code:
$db['default']['database'] = 'orfeo';

The really line should be:

Code:
$db['default']['database'] = 'sgi';

And the next line in the model was wrong too:

Code:
return $this->query->result();

It must be:

Code:
return $query->result();

And now the query works ok, shows me the records from the database.

I was wrong with the database name, I'm sorry guys, I can't understand how we sometimes have mistakes and the days and hours pass and we can't find the errors.


Thank you very much for all your support.

Gabo.


Messages In This Thread
Help with PostgreSQL - by El Forum - 09-19-2012, 03:57 PM
Help with PostgreSQL - by El Forum - 09-21-2012, 03:03 PM
Help with PostgreSQL - by El Forum - 09-21-2012, 06:35 PM
Help with PostgreSQL - by El Forum - 09-21-2012, 11:08 PM
Help with PostgreSQL - by El Forum - 09-22-2012, 08:34 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.