Welcome Guest, Not a member yet? Register   Sign In
table not exits whit transacction? omg
#1

[eluser]tnathos[/eluser]
hi i try use transaction whit CI, i use this.

Code:
function abrir_transaccion()
    {
    
    $this->db->trans_begin();
    
    $this->db->insert('prm_premium',array(
    'idcliente' => $this->session->userdata('id'),
    'marca' => $this->input->post('marca'),
    'descripcion' => $this->input->post('descripcion'),
    'web' => $this->input->post('web'),
    'fechafinal' => $this->input->post('datepicker')));

    
    }

but when run the function... show me a error tell me what the table dont exists in to the database.. omg but the table if exist!
#2

[eluser]Ben Edmunds[/eluser]
Does it do this if you don't use transactions?

Verify your database.php config file settings.
#3

[eluser]tnathos[/eluser]
thanks.. but what i need chek in to database.php? what find?
#4

[eluser]Ben Edmunds[/eluser]
Just try it without the transaction first and see what you get.
#5

[eluser]tnathos[/eluser]
yeap.. i make a new procees without transaction.. but i need use tables whit innodb for handle reltions... and have the same problem.. when insert inno show me the same error.. and if insert mysam.. works.. what i need see in the database.php?

thanks!
#6

[eluser]Ben Edmunds[/eluser]
That seems odd.

I'm not sure what to do then. Maybe someone else can help?
#7

[eluser]tnathos[/eluser]
any have the same problem.. for any reason.. when handle tables innodb whit ci.. show me the error
#8

[eluser]tnathos[/eluser]
guys help me... pls..




Theme © iAndrew 2016 - Forum software by © MyBB