Page 25 of 33

Re: [RC] Country Flags 1.0.0

Posted: Thu Jun 12, 2008 12:44 pm
by <|TGC|BOSTON>
Here the answer : http://www.phpbb.com/community/viewtopi ... 5#p3754605

Ty very much for your help !

Best regardS.

Re: [RC] Country Flags 1.0.0

Posted: Thu Jun 12, 2008 6:09 pm
by Sascha Mueller
We have some problems when some user have edited his/her profile. Then the following error message will be shown:

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/functions_user.php on line 1225: array_shift() [function.array-shift]: The argument should be an array
[phpBB Debug] PHP Notice: in file /includes/functions_user.php on line 1226: array_unshift() [function.array-unshift]: The first argument should be an array
[phpBB Debug] PHP Notice: in file /includes/functions_user.php on line 1228: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'validate_' was given

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/newmini-technik.de/httpdocs/includes/functions.php:2956) in /var/www/vhosts/newmini-technik.de/httpdocs/includes/functions.php on line 3619

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/newmini-technik.de/httpdocs/includes/functions.php:2956) in /var/www/vhosts/newmini-technik.de/httpdocs/includes/functions.php on line 3621

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/newmini-technik.de/httpdocs/includes/functions.php:2956) in /var/www/vhosts/newmini-technik.de/httpdocs/includes/functions.php on line 3622

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/newmini-technik.de/httpdocs/includes/functions.php:2956) in /var/www/vhosts/newmini-technik.de/httpdocs/includes/functions.php on line 3623
Alle changes where saved, all is o.k., but this error messages are not so nice. ;)

Can somebody help? :oops:

Re: [RC] Country Flags 1.0.0

Posted: Tue Jun 17, 2008 3:05 am
by LaylaChaos
I really love your country flags mod! Will it be finished soon...?

Re: [RC] Country Flags 1.0.0

Posted: Tue Jun 17, 2008 2:53 pm
by shantoo
Sascha Mueller wrote:We have some problems when some user have edited his/her profile. Then the following error message will be shown:

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/functions_user.php on line 1225: array_shift() [function.array-shift]: The argument should be an array
[phpBB Debug] PHP Notice: in file /includes/functions_user.php on line 1226: array_unshift() [function.array-unshift]: The first argument should be an array
[phpBB Debug] PHP Notice: in file /includes/functions_user.php on line 1228: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'validate_' was given

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/newmini-technik.de/httpdocs/includes/functions.php:2956) in /var/www/vhosts/newmini-technik.de/httpdocs/includes/functions.php on line 3619

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/newmini-technik.de/httpdocs/includes/functions.php:2956) in /var/www/vhosts/newmini-technik.de/httpdocs/includes/functions.php on line 3621

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/newmini-technik.de/httpdocs/includes/functions.php:2956) in /var/www/vhosts/newmini-technik.de/httpdocs/includes/functions.php on line 3622

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/newmini-technik.de/httpdocs/includes/functions.php:2956) in /var/www/vhosts/newmini-technik.de/httpdocs/includes/functions.php on line 3623
Alle changes where saved, all is o.k., but this error messages are not so nice. ;)

Can somebody help? :oops:

This is already reported in this topic, Check the previous page's please for help.

Re: [RC] Country Flags 1.0.0

Posted: Tue Jun 17, 2008 5:06 pm
by Sascha Mueller
shantoo wrote:
Sascha Mueller wrote:We have some problems when some user have edited his/her profile. Then the following error message will be shown:

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/functions_user.php on line 1225: array_shift() [function.array-shift]: The argument should be an array
[phpBB Debug] PHP Notice: in file /includes/functions_user.php on line 1226: array_unshift() [function.array-unshift]: The first argument should be an array
[phpBB Debug] PHP Notice: in file /includes/functions_user.php on line 1228: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'validate_' was given

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/newmini-technik.de/httpdocs/includes/functions.php:2956) in /var/www/vhosts/newmini-technik.de/httpdocs/includes/functions.php on line 3619

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/newmini-technik.de/httpdocs/includes/functions.php:2956) in /var/www/vhosts/newmini-technik.de/httpdocs/includes/functions.php on line 3621

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/newmini-technik.de/httpdocs/includes/functions.php:2956) in /var/www/vhosts/newmini-technik.de/httpdocs/includes/functions.php on line 3622

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/newmini-technik.de/httpdocs/includes/functions.php:2956) in /var/www/vhosts/newmini-technik.de/httpdocs/includes/functions.php on line 3623
Alle changes where saved, all is o.k., but this error messages are not so nice. ;)

Can somebody help? :oops:

This is already reported in this topic, Check the previous page's please for help.
I've done this code-changes:
Gremlinn wrote:OPEN:
includes/functions_user.php
FIND:

Code: Select all

			if ((strpos($attribute, 'group_avatar') === 0 || strpos($attribute, 'group_rank') === 0 || strpos($attribute, 'group_flag') === '') && !$group_attributes[$attribute])
REPLACE WITH:

Code: Select all

			if ((strpos($attribute, 'group_avatar') === 0 || strpos($attribute, 'group_rank') === 0 || strpos($attribute, 'group_flag') == '') && !$group_attributes[$attribute])
justhink wrote:OPEN includes/functions_user.php

FIND

Code: Select all

remove_default_flag($group_id, $sql_where_ary[$gid]);

and comment it out :

Code: Select all

// remove_default_flag($group_id, $sql_where_ary[$gid]);
but it dosn't work. :(

I've got the same error. :oops:

Re: [RC] Country Flags 1.0.0

Posted: Mon Jun 23, 2008 11:48 am
by electricx
hi, after install the mod, all are ok but if i try turn a group to default group user, i get this error:

Code: Select all

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 = 66' at line 6 [1064]

SQL

UPDATE phpbb_users SET user_flag = '' WHERE group_id = 7 AND user_flag <> '' AND user_flag = AND user_id = 66

BACKTRACE

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

FILE: includes/functions_user.php
LINE: 2906
CALL: dbal_mysql->sql_query()

FILE: includes/functions_user.php
LINE: 3054
CALL: remove_default_flag()

FILE: includes/acp/acp_users.php
LINE: 1861
CALL: group_user_attributes()

FILE: includes/functions_module.php
LINE: 471
CALL: acp_users->main()

FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()

How i fixe this ?

Re: [RC] Country Flags 1.0.0

Posted: Tue Jun 24, 2008 6:11 pm
by ReGz
WIll it work with 3.01 ??

Re: [RC] Country Flags 1.0.0

Posted: Tue Jun 24, 2008 6:37 pm
by Undead46
I'm getting the same error as Electricx

Code: Select all

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 = 55' at line 6 [1064]

SQL

UPDATE phpbb_users SET user_flag = '' WHERE group_id = 5 AND user_flag <> '' AND user_flag = AND user_id = 55

BACKTRACE

FILE: includes/db/mysql.php
LINE: 158
CALL: dbal_mysql->sql_error()

FILE: includes/functions_user.php
LINE: 2922
CALL: dbal_mysql->sql_query()

FILE: includes/functions_user.php
LINE: 3068
CALL: remove_default_flag()

FILE: includes/acp/acp_users.php
LINE: 1880
CALL: group_user_attributes()

FILE: includes/functions_module.php
LINE: 471
CALL: acp_users->main()

FILE: adm/index.php
LINE: 75
CALL: p_master->load_active()
-------

FOUND THE FIX!! : http://www.phpbb.com/community/viewtopi ... 5#p4660235

Re: [RC] Country Flags 1.0.0

Posted: Tue Jun 24, 2008 6:59 pm
by Gremlinn
Read further back in this topic. The Group Flag does not work. There are a couple edits to use to turn it off.

Re: [RC] Country Flags 1.0.0

Posted: Thu Jun 26, 2008 2:20 pm
by Jackanape
Jackanape wrote:The sort option doesn't seem to work in my memberlist. Is this an error on my part, or is this a larger problem?
I'm gettiong ready for a complete overhaul under the hood of my boards, and taking her up to 3.0.1, but I wanted to check in with this mod, and verify this situation.

Can anyone sort by flag in their memberlists?

I've pored over the code, and can find no reason it SHOULDN'T work, but it doesn't.

Also, has Nedka released 1.0.1 yet? I do not see it on his download page, as per this post:
http://www.phpbb.com/community/viewtopi ... 5#p4866135

Re: [RC] Country Flags 1.0.0

Posted: Thu Jun 26, 2008 3:10 pm
by moh.elmadany
i have installed this mod

and i installed it from ACP -> SYSTEM -> Module management

i can't find : manage country flags like this ..

Image

but i see this option like this pic :

Image

after i tried to choose the country for test member .. i can't find any falgs in his profile box

it 's very important mod to us .. how can i fixed this problem ?

Re: [RC] Country Flags 1.0.0

Posted: Sat Jun 28, 2008 6:50 am
by BizimPencere
Error.

If user not flag and user loggen in my forum.

Auto redirect to ucp.php

AND ERROR CODE

Code: Select all

phpBB Debug] PHP Notice: in file /includes/ucp/ucp_profile.php on line 360: Undefined index: FLAG_ERROR
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3663: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2961)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3665: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2961)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3666: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2961)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3667: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2961)
my debug is on. :(

Re: [RC] Country Flags 1.0.0

Posted: Mon Jun 30, 2008 2:18 pm
by shantoo
yo guys, who can help me with this issue, When I want to make a user "Make group default for member" I get this error;

Code: Select all

General Error
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 'AND user_id = 6541' at line 6 [1064]

SQL

UPDATE phpbb_users SET user_flag = '' WHERE group_id = 6466 AND user_flag <> '' AND user_flag = AND user_id = 6541

BACKTRACE

FILE: includes/db/mysqli.php
LINE: 143
CALL: dbal->sql_error()

FILE: includes/functions_user.php
LINE: 2905
CALL: dbal_mysqli->sql_query()

FILE: includes/functions_user.php
LINE: 3050
CALL: remove_default_flag()

FILE: includes/acp/acp_users.php
LINE: 1887
CALL: group_user_attributes()

FILE: includes/functions_module.php
LINE: 471
CALL: acp_users->main()

FILE: adm/index.php
LINE: 76
CALL: p_master->load_active()

Re: [RC] Country Flags 1.0.0

Posted: Mon Jun 30, 2008 2:33 pm
by Gremlinn
Please read back in the posts. The group flag does not work properly. There are posts that explain commenting it out.

Re: [RC] Country Flags 1.0.0

Posted: Mon Jun 30, 2008 2:36 pm
by shantoo
the issue is fixed.