Posts: 7192 Location: Borgo San Michele
Fri 25 May, 2007 02:31
Subject: Re: Call to undefined function color_group_colorize_name()
Maybe it is related to a global block.
Try to do this:
OPEN
blocks/blocks_imp_recent_topics.php
FIND
global $template, $portal_config, $block_id, $userdata, $board_config, $db, $phpEx, $var_cache, $lang, $bbcode;
AFTER ADD
include_once($phpbb_root_path . 'includes/functions_color_groups.' . $phpEx);
Let me know if it works.
Posts: 412 Location: Prato, Italy
Fri 25 May, 2007 20:21
Subject: Re: Call To Undefined Function Color_group_colorize_name()
Maybe it is related to a global block.
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:
Fatal error: Call to undefined function color_group_colorize_name() in /***/includes/users_online_block.php on line 59
I tried, you can fix every block with the suggestion of
MG ;)
Posts: 7192 Location: Borgo San Michele
Sat 26 May, 2007 03:48
Subject: Re: FIXED - Call to undefined function color_group_colorize_
I tried, you can fix every block with the suggestion of
MG ;)
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.
Posts: 89 Location: Astur
Sun 27 May, 2007 23:20
Subject: 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
I have this error in dload.php
Posts: 89 Location: Astur
Sun 27 May, 2007 23:32
Subject: 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!!
Posts: 297 Location: Leeuwarden, The Netherlands
Sun 27 May, 2007 23:40
Subject: 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?
Posts: 89 Location: Astur
Sun 27 May, 2007 23:43
Subject: Re: FIXED - Call To Undefined Function Color_group_colorize_
in 1.0.15
Posts: 412 Location: Prato, Italy
Mon 28 May, 2007 01:02
Subject: 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!!
It was written just a few post above :mrviolet:
Posts: 89 Location: Astur
Mon 28 May, 2007 10:17
Subject: 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:
Page 1 of 1
You
cannot post new topics
You
cannot reply to topics
You
cannot edit your posts
You
cannot delete your posts
You
cannot vote in polls
You
cannot attach files
You
can download files
You
cannot post calendar events