View Single Post
  #1  
Old 26th June 2009, 08:53
kfg kfg is offline
Member
 
Join Date: Jun 2009
China
Posts: 7
Default Problem with install
I had downloaded the source, my server is windows server 2003 + iis6 + php 5 + mysql 5.When i install the app, i got a error message at setp 7.
I inputed the administrator information and clicked the "sign up" button, that show :
Quote:
[B]SQL Error[/B]


Field 'ip' doesnt have a default value
in E:WebRoottbdevyeswebsiteinstallindex.php, line 264




How can i fix the problem?
Sorry for my poor English.

Bump: I fixed the problem yet. Modify the /include/functions.php and /install/functions.php.
include/functions.php,line 94,
after "mysql_query("SET NAMES $charset");"
add:mysql_query("SET @@sql_mode = ''");

install/functions.php, line 164
after: or die('dbconn: mysql_select_db: ' + mysql_error());
add:mysql_query("SET @@sql_mode = ''");

Last edited by kfg; 26th June 2009 at 09:08.
Reply With Quote