PHPForms
May 16, 2012, 11:57:07 PM *
phpforms Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: SQL Error Creating New Form  (Read 1095 times)
dbolton1221
Newbie
*
Posts: 2


« on: December 27, 2010, 09:00:23 AM »

I am getting an error when I attempt to create a new form.

Sorry can't execute SQL query
1366:Incorrect integer value:'' for column
'frm_hw_confirm' at row 1

Any ideas as to what may be setup incorrectly?
Logged
dbolton1221
Newbie
*
Posts: 2


« Reply #1 on: January 04, 2011, 02:37:56 PM »

Problem solved:

I needed to turn off "strict mode"

On Windows Server edit my.ini

Replace line: sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"

with line: sql-mode="NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"

Stop and restart mysql service
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2006-2008, Simple Machines LLC | Conkurent LLC 2009 Valid XHTML 1.0! Valid CSS!