Changeset 274 for dev/install

Show
Ignore:
Timestamp:
12/06/07 16:26:17 (13 years ago)
Author:
exi
Message:

Added new german translation parsing.
Changed upgrade sql so it doesn't kill all rows if something is wrong.

Location:
dev/install
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • dev/install/install_step41.php

    r271 r274  
    4747insertConfig('cfg_mainsite', MAIN_SITE); 
    4848 
    49 echo 'Upgrdaded your Config.<br/>'; 
     49echo 'Upgraded your Config and chmodded ../kbconfig.php 440. If there was a warning for chmod please change the permission manually.<br/>'; 
    5050 
    5151echo 'The next query checks for abandoned items, save this list for your reference.<br/>'; 
     
    5757where invtypes.typeID is null"; 
    5858$result = mysql_query($query); 
     59echo mysql_error(); 
    5960while ($row = mysql_fetch_array($result)) 
    6061{ 
  • dev/install/install_step42.php

    r272 r274  
    77 
    88$query = "update kb3_items_destroyed 
    9             left join kb3_items on itd_itm_id=itm_id 
    10             left join kb3_invtypes on itm_name=typeName 
     9            inner join kb3_items on itd_itm_id=itm_id 
     10            inner join kb3_invtypes on itm_name=typeName 
    1111            set itd_itm_id=typeID"; 
    1212mysql_query($query); 
     
    1414 
    1515$query = "update kb3_inv_detail 
    16             left join kb3_items on ind_wep_id=itm_id 
    17             left join kb3_invtypes on itm_name=typeName 
     16            inner join kb3_items on ind_wep_id=itm_id 
     17            inner join kb3_invtypes on itm_name=typeName 
    1818            set ind_wep_id=typeID"; 
    1919mysql_query($query);