Problème???
Posté : mer. sept. 20, 2006 19:26
Le forum autait il un petit problème par le plus grand des hazard????
Le forum est super instable depuis 1 mois pour une raison que j'ignore complètement. Je répare la base et ses tables tous les jours au moins 2 fois, mais rien n'y fait, ça rebug tout le temps.YannDos a écrit :Visiblement il y a un gros souci au niveau de l'accès à la base de données, rien d'irréparable, a priori...
Patience, donc...
Code : Tout sélectionner
<?php
define('IN_PHPBB', true);
$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);
$page_title = 'phpBB Fix';
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
$sql1 = "ALTER TABLE " . SEARCH_TABLE . " ADD COLUMN `search_time` int(11) NOT NULL default '0'";
if( (!$result = $db->sql_query($sql1)) )
{
message_die(CRITICAL_ERROR, "Encountered error when running query", "", __LINE__, __FILE__, $sql);
}
else {echo '<table width="80%" class="forumline"><tr><td>All queries have run successfully. You should now delete this file</td><tr></table>';}
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
?>