FIXED Call to undefined function color_group_colorize_name()


Subject: Call to undefined function color_group_colorize_name()
In FAQ
Quote:
Fatal error: Call to undefined function color_group_colorize_name() in /users/f/p/f/fpf/public_html/blocks/blocks_imp_recent_topics.php on line 134


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


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


Thanks ;)

Profile PM  
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
Code: [Download] [Hide] [Select]
global $template, $portal_config, $block_id, $userdata, $board_config, $db, $phpEx, $var_cache, $lang, $bbcode;

AFTER ADD
Code: [Download] [Hide] [Select]
include_once($phpbb_root_path . 'includes/functions_color_groups.' . $phpEx);


Let me know if it works.

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

Thanks

Profile PM  
Subject: Re: Call To Undefined Function Color_group_colorize_name()
Mighty Gorgon wrote: [View Post]
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 ;)

Subject: Re: FIXED - Call to undefined function color_group_colorize_
Vortex wrote: [View Post]
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.

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

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!!

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?

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

Subject: Re: FIXED - Call To Undefined Function Color_group_colorize_
Aexo wrote: [View Post]
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:

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

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.1494s (PHP: 13% SQL: 87%)
SQL queries: 10 - Debug Off - GZIP Enabled