https://www.icyphoenix.com/viewtopic.php?f=35&t=2006
-----------------------------------
Fexys
Sun 20 May, 2007 20:28

Call to undefined function color_group_colorize_name()
-----------------------------------
In FAQ
[quote][b]Fatal error:[/b] Call to undefined function color_group_colorize_name() in [b]/users/f/p/f/fpf/public_html/blocks/blocks_imp_recent_topics.php on line 134[/b][/quote]

In Rules
[quote][b]Fatal error:[/b] Call to undefined function color_group_colorize_name() in [b]/users/f/p/f/fpf/public_html/blocks/blocks_imp_recent_topics.php on line 134[/b][/quote]

This problem persists, http://www.icyphoenix.com/viewtopic.php?p=13389#p13389


Thanks ;)


-----------------------------------
Mighty Gorgon
Fri 25 May, 2007 02:31

Re: Call to undefined function color_group_colorize_name()
-----------------------------------
Maybe it is related to a global block.

Try to do this:

OPEN [b]blocks/blocks_imp_recent_topics.php[/b]
FIND
[codeblock]		global $template, $portal_config, $block_id, $userdata, $board_config, $db, $phpEx, $var_cache, $lang, $bbcode;
[/codeblock]
AFTER ADD
[codeblock]		include_once($phpbb_root_path . 'includes/functions_color_groups.' . $phpEx);
[/codeblock]

Let me know if it works.


-----------------------------------
Fexys
Fri 25 May, 2007 19:36

Re: Call To Undefined Function Color_group_colorize_name()
-----------------------------------
Now it works ;)

Thanks


-----------------------------------
Vortex
Fri 25 May, 2007 20:21

Re: Call To Undefined Function Color_group_colorize_name()
-----------------------------------
[quote user="Mighty Gorgon" post="15008"]Maybe it is related to a global block.
[/quote]


You're right MG, I got the same error on other blocks:


[quote]Fatal error: Call to undefined function color_group_colorize_name() in /***/blocks/blocks_imp_user_block.php on line 74[/quote]


[quote]Fatal error: Call to undefined function color_group_colorize_name() in /***/includes/users_online_block.php on line 59[/quote]



I tried, you can fix every block with the suggestion of MG ;)


-----------------------------------
Mighty Gorgon
Sat 26 May, 2007 03:48

Re: FIXED - Call to undefined function color_group_colorize_
-----------------------------------
[quote user="Vortex" post="15136"]I tried, you can fix every block with the suggestion of MG ;)[/quote]
It works because the function needed is there.

The problem should be only for global blocks, because that function was usally included only in index.php.

Can you please tell me which other files need to be modified so I can fix them all?

Thanks.


-----------------------------------
Aexo
Sun 27 May, 2007 23:20

Re: Call To Undefined Function Color_group_colorize_name()
-----------------------------------
[quote]Fatal error: Call to undefined function color_group_colorize_name() in /***/blocks/blocks_imp_user_block.php on line 74[/quote]

I have this error in dload.php


-----------------------------------
Aexo
Sun 27 May, 2007 23:32

Re: FIXED - Call To Undefined Function Color_group_colorize_
-----------------------------------
I found the solution!!  :mricy:  :mrgreen:  :mrblue:  :mrorange:  :mrviolet:  :mryellow: 

edit blocks_imp_user_block.php

Find global $userdata, $template, $board_config, $lang, $db, $phpEx;

Add include_once($phpbb_root_path . 'includes/functions_color_groups.' . $phpEx);

Save, upload (with backup, of course) and run!!


-----------------------------------
brandsrus
Sun 27 May, 2007 23:40

Re: FIXED - Call to undefined function color_group_colorize_
-----------------------------------
In which version have you had the problem?

1.0.14.14 or in the newest version?


-----------------------------------
Aexo
Sun 27 May, 2007 23:43

Re: FIXED - Call To Undefined Function Color_group_colorize_
-----------------------------------
in 1.0.15


-----------------------------------
Vortex
Mon 28 May, 2007 01:02

Re: FIXED - Call To Undefined Function Color_group_colorize_
-----------------------------------
[quote user="Aexo" post="15412"]I found the solution!!  :mricy:  :mrgreen:  :mrblue:  :mrorange:  :mrviolet:  :mryellow: 

edit blocks_imp_user_block.php

Find global $userdata, $template, $board_config, $lang, $db, $phpEx;

Add include_once($phpbb_root_path . 'includes/functions_color_groups.' . $phpEx);

Save, upload (with backup, of course) and run!![/quote]


It was written just a few post above  :mrviolet:


-----------------------------------
Aexo
Mon 28 May, 2007 10:17

Re: FIXED - Call To Undefined Function Color_group_colorize_
-----------------------------------
yes, Vortex . But I cuestion for line 74 error in "download section". As you say, I put the solution as say MG but in other file and other error. I write it because other user can have the same error. 

Finally all is ok.  :up:


