[Vtigercrm-commits] [vtiger development] #6136: fresh install fails: install.php redirect because vtiger_version is not populated

vtiger development vtiger-tickets at trac.vtiger.com
Thu Jul 9 09:01:55 EDT 2009


#6136: fresh install fails: install.php redirect because vtiger_version is not
populated
-----------------------+----------------------------------------------------
 Reporter:  densi      |       Owner:  developer
     Type:  defect     |      Status:  new      
 Priority:  critical   |   Milestone:  5.1.0    
Component:  vtigercrm  |     Version:  5.1.0-rc 
 Keywords:  version    |  
-----------------------+----------------------------------------------------
 This SQL query is badly written and fails on MySql 5.1.32

 file: DefaultDataPopulator.php

 line 1983:
 include('vtigerversion.php');
 $this->db->query("insert into vtiger_version
 values('','".$vtiger_current_version."','".$vtiger_current_version."')");


 It should be written like this

 $this->db->query("insert into vtiger_version (old_version,
 current_version) values ('".$vtiger_current_version."',
 '".$vtiger_current_version."')");

 Because this query fails, after the fresh installation is completed, the
 index.php files try to redirect to install.php that no longer exist
 (index.php line 120 to 125)


 This needs to be fix in 5.1.0 final if you want new user to user vtiger.
 Without that line, no fresh install will work.

 This is the problem Pierluigi had posted @
 http://www.vtiger.com/blogs/2009/07/03/vtiger-crm-510-rc-released/

-- 
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/6136>
vtiger development <http://trac.vtiger.com/>
vtigerCRM




More information about the vtigercrm-commits mailing list