oke nu heb ik dit via phpadmin nu krijg ik dit terug als fout;
Er schijnt een fout te zijn in uw SQL query. Mocht de MySQL server een error hebben terug gegeven, probeer dan of uw hiermee uw fout kunt oplossen.
ERROR: Onbekende Punctuatie String @ 310
STR: //
SQL: <?php
/**
*
* @package phpBB3
* @version $Id: mysql_upgrader.php 9129 2008-11-27 13:44:24Z acydburn $
* @copyright (c) 2006 phpBB Group
* @license
http://opensource.org/licenses/gpl-license.php GNU Public License
*
* This file creates SQL statements to upgrade phpBB on MySQL 3.x/4.0.x to 4.1.x/5.x
*
*/
//
// Security message:
//
// This script is potentially dangerous.
// Remove or comment the next line (die(".... ) to enable this script.
// Do NOT FORGET to either remove this script or disable it after you have used it.
//
;
define('IN_PHPBB', true);
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
$prefix = $table_prefix;
$newline = "\n";
if (PHP_SAPI !== 'cli')
{
$newline = '<br>';
}
$sql = 'DESCRIBE ' . POSTS_TABLE . ' post_text';
$result = $db->sql_query($sql);
$row = $db->sql_fetchrow($result);
$db->sql_freeresult($result);
$mysql_indexer = false;
if (strtolower($row['Type']) === 'mediumtext')
{
$mysql_indexer = true;
}
echo "USE $dbname
SQL-query:
<?php /** * * @package phpBB3 * @version $Id: mysql_upgrader.php 9129 2008-11-27 13:44:24Z acydburn $ * @copyright (c) 2006 phpBB Group * @license
http://opensource.org/licenses/gpl-license.php GNU Public License * * This file creates SQL statements to upgrade phpBB on MySQL 3.x/4.0.x to 4.1.x/5.x * */ // // Security message: // // This script is potentially dangerous. // Remove or comment the next line (die(".... ) to enable this script. // Do NOT FORGET to either remove this script or disable it after you have used it. // ; define('IN_PHPBB', true); $phpEx = substr(strrchr(__FILE__, '.'), 1); include($phpbb_root_path . 'common.' . $phpEx); $prefix = $table_prefix; $newline = "\n"; if (PHP_SAPI !== 'cli') { $newline = '<br>'; } $sql = 'DESCRIBE ' . POSTS_TABLE . ' post_text'; $result = $db->sql_query($sql); $row = $db->sql_fetchrow($result); $db->sql_freeresult($result); $mysql_indexer = false; if (strtolower($row['Type']) === 'mediumtext') { $mysql_indexer = true; } echo "USE $dbname
MySQL retourneerde:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '<?php
/**
*
* @package phpBB3
* @version $Id: mysql_upgrader.php 9129 2008-11-27' at line 1
[ Terug ]