Ok, so many bug fixes, so little time... Fun... Well, the change to

mysql_schema was just changing the phpbb_groups group_id to auto
increment, should fix problems in upgrade.php.  Should.  I will probably
include any relevant schema changes with a nice update_to script in 2.0.2
;)


git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@2785 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
dougk_ff7 2002-07-29 05:04:04 +00:00
parent 180dac9e87
commit cc6efeb5fd
6 changed files with 10 additions and 9 deletions

View file

@ -42,7 +42,7 @@ CREATE TABLE phpbb_user_group (
# Table structure for table 'phpbb_groups'
#
CREATE TABLE phpbb_groups (
group_id mediumint(8) NOT NULL,
group_id mediumint(8) NOT NULL AUTO INCREMENT,
group_type tinyint(4) DEFAULT '1' NOT NULL,
group_name varchar(40) NOT NULL,
group_description varchar(255) NOT NULL,

View file

@ -178,4 +178,4 @@ define('VOTE_DESC_TABLE', $table_prefix.'vote_desc');
define('VOTE_RESULTS_TABLE', $table_prefix.'vote_results');
define('VOTE_USERS_TABLE', $table_prefix.'vote_voters');
?>
?>

View file

@ -151,7 +151,7 @@ class emailer
$this->msg = ( isset($match[5]) ) ? trim($match[5]) : '';
$this->subject = ( $this->subject != '' ) ? $this->subject : trim($match[2]);
$this->encoding = ( trim($match[4]) != '' ) ? trim($match[4]) : 'iso-8859-1';
$this->encoding = ( trim($match[4]) != '' ) ? trim($match[4]) : $lang['ENCODING'];
return true;
}
@ -209,7 +209,7 @@ class emailer
{
$mime_boundary = "--==================_846811060==_";
$this->mailMsg = '--' . $mime_boundary . "\nContent-Type: text/plain;\n\tcharset=\"iso-8859-1\"\n\n" . $this->mailMsg;
$this->mailMsg = '--' . $mime_boundary . "\nContent-Type: text/plain;\n\tcharset=\"" . $lang['ENCODING'] . "\"\n\n" . $this->mailMsg;
if ($mime_filename)
{
@ -305,4 +305,4 @@ class emailer
} // class emailer
?>
?>

View file

@ -659,6 +659,7 @@ if ( $error )
$occupation = htmlspecialchars(stripslashes($occupation));
$interests = htmlspecialchars(stripslashes($interests));
$signature = stripslashes($signature);
$signature = ( $signature_bbcode_uid != '' ) ? preg_replace("/:(([a-z0-9]+:)?)$signature_bbcode_uid\]/si", ']', $signature) : $signature;
$user_lang = stripslashes($user_lang);
$user_dateformat = stripslashes($user_dateformat);

View file

@ -110,7 +110,7 @@ if ( isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']) )
switch( $mode )
{
case 'joined':
case 'joindate':
$order_by = "user_regdate ASC LIMIT $start, " . $board_config['topics_per_page'];
break;
case 'username':
@ -305,4 +305,4 @@ $template->pparse('body');
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
?>
?>

View file

@ -1789,7 +1789,7 @@ if ( !empty($next) )
$sql = "UPDATE " . $table_prefix . "config
SET config_value = '" . $script_path . "'
WHERE config_name = 'script_path'";
query($sql, "Couldn't insert Board admin email");
query($sql, "Couldn't insert Board script path");
//
// Change session table to HEAP if MySQL version matches
@ -1932,4 +1932,4 @@ print "<br />If the upgrade completed without error you may click <a href=\"inde
common_footer();
?>
?>