phpBB 上的 SQL 错误

发布于 2024-12-29 14:48:10 字数 797 浏览 1 评论 0原文

当尝试更新 ucp 中的配置文件时,我收到此错误,

SQL ERROR [ mysql4 ]

Unknown column 'see_porn_cat' in 'field list' [1054]

SQL

UPDATE phpbb_users SET user_icq = '', user_aim = '', user_msnm = '', user_yim = '', user_jabber = '', user_website = 'http://footballbb.org', user_from = '', user_occ = '', user_interests = '', user_notify_type = '0', see_porn_cat = NULL, user_custom_title = 'U JELLY?' WHERE user_id = 9086

BACKTRACE

FILE: includes/db/mysql.php
LINE: 175
CALL: dbal->sql_error()

FILE: includes/ucp/ucp_profile.php
LINE: 423
CALL: dbal_mysql->sql_query()

FILE: includes/functions_module.php
LINE: 507
CALL: ucp_profile->main()

FILE: ucp.php
LINE: 327
CALL: p_master->load_active()

我过去在那里进行了一些更改,但我确信我删除了数据库以及与我所做的更改相关的代码。 您能告诉我在哪里查找与该错误相关的任何内容吗? :卷:

I get this error when trying to update the profile in ucp

SQL ERROR [ mysql4 ]

Unknown column 'see_porn_cat' in 'field list' [1054]

SQL

UPDATE phpbb_users SET user_icq = '', user_aim = '', user_msnm = '', user_yim = '', user_jabber = '', user_website = 'http://footballbb.org', user_from = '', user_occ = '', user_interests = '', user_notify_type = '0', see_porn_cat = NULL, user_custom_title = 'U JELLY?' WHERE user_id = 9086

BACKTRACE

FILE: includes/db/mysql.php
LINE: 175
CALL: dbal->sql_error()

FILE: includes/ucp/ucp_profile.php
LINE: 423
CALL: dbal_mysql->sql_query()

FILE: includes/functions_module.php
LINE: 507
CALL: ucp_profile->main()

FILE: ucp.php
LINE: 327
CALL: p_master->load_active()

I have made some changes there in the past,but I'm sure that I removed the database and the code that's related to the changes I made.
Can you tell me where to look for anything related to that error ? :roll:

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

桜花祭 2025-01-05 14:48:10

该表不包含 see_porn_cat 列,

因此您需要使用此查询

UPDATE phpbb_users SET user_icq = '', user_aim = '', user_msnm = '', user_yim = '', user_jabber = '', user_website = 'http://footballbb.org', user_from = '', user_occ = '', user_interests = '', user_notify_type = '0', user_custom_title = 'U JELLY?' WHERE user_id = 9086

This table does not contain the column see_porn_cat

So you need to use this query

UPDATE phpbb_users SET user_icq = '', user_aim = '', user_msnm = '', user_yim = '', user_jabber = '', user_website = 'http://footballbb.org', user_from = '', user_occ = '', user_interests = '', user_notify_type = '0', user_custom_title = 'U JELLY?' WHERE user_id = 9086
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文