• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error 1146 when using transaction to update database

#1
[eluser]misakitran[/eluser]
I have set dbprefix="myprefix_".
Connecting to database and processing database by Active Record Class are right.
But when i use transactions to update database, I have error 1146 :
Code:
Table 'myprefix.myprefix_users' doesn't exist

UPDATE `myprefix_users` SET `email` = '[email protected]', `descriptions` = '', `block` = 0, `activation` = 1 WHERE `id` = '3'

Why having double dbprefix ?
Please help me ! Thanks !

#2
[eluser]misakitran[/eluser]
Ohh..I am sorry ! I have caught my error in program. Thanks all !


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


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