Code: Select all
FIND:
if ((strpos($attribute, 'group_avatar') === 0 || strpos($attribute, 'group_rank') === 0 || strpos($attribute, 'group_flag') === '') && !$group_attributes[$attribute])
REPLACE WITH:
if ((strpos($attribute, 'group_avatar') === 0 || strpos($attribute, 'group_rank') === 0 || strpos($attribute, 'group_flag') == '') && !$group_attributes[$attribute])
SQL ERROR [ mysql4 ]
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 'AND user_id = 19' at line 6 [1064]
SQL
UPDATE phpbb3_users SET user_flag = '' WHERE group_id = 359 AND user_flag <> '' AND user_flag = AND user_id = 19
BACKTRACE
FILE: includes/db/mysql.php
LINE: 158
CALL: dbal->sql_error()
FILE: includes/functions_user.php
LINE: 2832
CALL: dbal_mysql->sql_query()
FILE: includes/functions_user.php
LINE: 2765
CALL: remove_default_flag()
FILE: includes/acp/acp_users.php
LINE: 1895
CALL: group_user_del()
FILE: includes/functions_module.php
LINE: 471
CALL: acp_users->main()
FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()
That's right, U must edit something in includes/functions_user.php. But it doesn''t help for mesaaiberke wrote:The temp solution for this already has been given earlier in this thread, please read it.
Nic
chatalie wrote:Hi, I installed the mod and all is working well, I just have curly brackets around the word "Country" and would like to remove them. I must have made some mistake when installing the mod. I was able to remove them from the UCP (ucp.php) but am having trouble finding this in the other files. I'm not sure if it is in memberlist.php or what.
Thank you.
I've checked my info/acp_users.php edits and everything seems fine[phpBB Debug] PHP Notice: in file /adm/index.php on line 151: Cannot modify header information - headers already sent by (output started at /includes/acp/info/acp_users.php:2)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 153: Cannot modify header information - headers already sent by (output started at /includes/acp/info/acp_users.php:2)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 154: Cannot modify header information - headers already sent by (output started at /includes/acp/info/acp_users.php:2)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 155: Cannot modify header information - headers already sent by (output started at /includes/acp/info/acp_users.php:2)
If that was aimed at my post then I have.shantoo wrote:Check this if u uploaded right --> language/YOURCURRENTLANG/mods/flasgs.php