Register    Login    Forum    Search    FAQ

Board index » Bugs » Bugs happen!




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: The last transaction had a SQL database error.
 Post Posted: Thu Jan 26, 2012 11:38 am 
Offline

Joined: Thu Jan 26, 2012 11:11 am
Posts: 2
PhreeBooks SQL Error Trace Information New Employee
:(


Top 
 Profile  
 
 Post subject: Re: The last transaction had a SQL database error.
 Post Posted: Fri Jan 27, 2012 2:33 am 
Offline

Joined: Thu Jan 26, 2012 11:11 am
Posts: 2
casper wrote:
PhreeBooks SQL Error Trace Information New Employee
:(


Trace information for debug purposes. Phreedom release 3.3, generated 2012-01-27 10:30:11.


GET Vars = Array ( [module] => contacts [page] => main [type] => e [f0] => 1 )
POST Vars = Array ( [todo] => save [f0] => 1 [id] => [rowSeq] => [del_add_id] => [del_pmt_id] => [del_crm_note] => [payment_id] => [account_number] => [short_name] => 127.0.0.1 [gov_id_number] => [contact_first] => Павел [contact_middle] => [contact_last] => [dept_rep_id] => [gl_type_account] => Array ( [e] => 1 ) [em_primary_name] => СтройБут [em_telephone1] => [em_address_id] => [em_contact] => [em_telephone2] => [em_address1] => Кольцевая 40 [em_telephone3] => [em_address2] => Кольцевая 43 [em_telephone4] => [em_city_town] => Кировоград [em_email] => [em_state_province] => Украина [em_website] => [em_postal_code] => 2514 [em_country_code] => USA [em_notes] => )
Time: 157 ms, 6 SQLs 11 ms =>
The failing sql was: insert into admincontacts (type, short_name, inactive, contact_first, contact_middle, contact_last, store_id, gl_type_account, gov_id_number, dept_rep_id, account_number, special_terms, price_sheet, tax_id, attachments, last_update, first_date) values ('e', '127.0.0.1', '0', 'Павел', '', '', '', 'e', '', '', '', '::::', '', '', '', now(), now())
Time: 157 ms, 6 SQLs 11 ms =>
mySQL returned: 1366 Incorrect integer value: '' for column 'tax_id' at row 1

Page trace stats: Execution Time: 157 ms, 6 queries taking 11 ms


Top 
 Profile  
 
 Post subject: Re: The last transaction had a SQL database error.
 Post Posted: Wed Feb 01, 2012 9:46 pm 
Offline

Joined: Fri Oct 26, 2007 3:55 pm
Posts: 3498
Location: Colorado, US
I can't reproduce this on the demo or my development machines. Do you have strict set on your mysql server? I believe mysql strict setting would cause this problem.

Dave


Top 
 Profile  
 
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 3 posts ] 

Board index » Bugs » Bugs happen!


Who is online

Users browsing this forum: No registered users and 1 guest

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: