我目前正在将我的phpBB安装更新为3.1,当数据库更新到最新的稳定版本时,我得到了这个。
SQL ERROR [ mysqli ]
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 'WHERE 1=1' at line 3 [1064]
SQL
UPDATE bb_users SET user_style = WHERE 1=1
BACKTRACE
FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()
FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 855
CALL: trigger_error()
FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 194
CALL: phpbb\db\driver\driver->sql_error()
FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 329
CALL: phpbb\db\driver\mysqli->sql_query()
FILE: [ROOT]/phpbb/db/migration/data/v31x/style_update.php
LINE: 101
CALL: phpbb\db\driver\factory->sql_query()
FILE: (not given by php)
LINE: (not given by php)
CALL: phpbb\db\migration\data\v31x\style_update->update_installed_styles()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 510
CALL: call_user_func_array()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 456
CALL: phpbb\db\migrator->run_step()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 294
CALL: phpbb\db\migrator->process_data_step()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 234
CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 174
CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/install/database_update.php
LINE: 206
CALL: phpbb\db\migrator->update()
我正在使用自动更新包。
我尝试在phpMyAdmin中搜索数据库,但我找不到任何有用的东西。我没有使用SQL的经验,也没有使用PHP的经验,所以我想要一些关于如何操作的说明。一位了解更多关于SQL的朋友告诉我SET可能是空的,但我真的不知道如何处理这些信息。