Seite 1 von 1

Fehler nach dem Posten im .18

Verfasst: 01.11.2005 08:17
von DreamPromise
Moin moin

ich hab mal auf einem jungfreulichen Account das nackte .18 installiert.
Aber ich bekomme ne Fehlermeldung:

Code: Alles auswählen

Error in posting

DEBUG MODE

SQL Error : 1196 Warning: Some non-transactional changed tables couldn't be rolled back

UPDATE phpbb_users + 1 WHERE user_id = 2

Line : 489
File : functions_post.php
Der Beitrag wird aber eingetragen.
Jemand ne Ahnung wie ich das weg bekomme ??

Danke schon mal.

DP

Verfasst: 01.11.2005 22:03
von eikstr
hi,
hatte das selbe problem, habe auf hier: http://www.phpbb.com/phpBB/viewtopic.php?t=259967
folgende lösung gefunden:
lege eine datei namens fixtables.php im phpbb-root-verzeichniss an, in der steht:

Code: Alles auswählen

<?php
// Check and repair all tables in a PHPBB structure

// verify that we're supposed to run
// change 'PX42m3' to something unique for your site, so it will only
// execute if you call it as 'http://mysite.com/fixtables.php?PX42m3=1'
if (!isset($_GET['PX42m3']))
{
   header("Location: http://127.0.0.1/");
   die();
}

define('IN_PHPBB', true);
$phpbb_root_path = './';
include($phpbb_root_path . 'config.php');

// connect to the database server
$db = mysql_connect($dbhost,$dbuser,$dbpasswd);
if (!$db) die("Unable to connect to database!\n");

// select the PHPBB database
mysql_select_db($dbname,$db);

// get a list of tables for this PHPBB
$tablequery = "show tables like '".$table_prefix."%'";
$tablelist = mysql_query($tablequery,$db);


// cycle through them for repair
while ($tar = mysql_fetch_array($tablelist))
{
   $tablename = $tar[0];
   // output some verbosity for comfort
   echo "Now checking and repairing table $tablename ... ";
   $repres = mysql_query("repair table $tablename");
   $result = mysql_fetch_array($repres);
   echo $result['Msg_text'] . "<br>\n";
}

?> 
dann führe http://mysite.com/fixtables.php?PX42m3=1 aus. dann die datei löschen oder "PX42m3" überall durch ein eigenes wort ersetzen.
bei mir hats geklappt, ich hatte jedoch mein board von .17 auf .18 gepatcht, also ist es ein bisschen anders.
gruss

Verfasst: 02.11.2005 07:39
von DreamPromise
Moin moin

was für ein Wort muß man denn da einsetzen statt PX42m3 ???