Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post Error With The Statistics Block 
 
Hi

I have just upgraded my forum to the latest RC1 of Icy Phoenix, but when I try to access the portal page I get the following error message,

Fatal error: Call to undefined function: color_group_colorize_name() in /homepages/8/d69702653/htdocs/blocks/blocks_imp_statistics.php on line 38

I have checked all the settings in the statistics mod and install and activated the statistics packs, the only way I can get the error message to go away is to turn off the statistics block in CMS.

I am using a custom style and suspect that their is proberbly a missing file for my custom theme but I don't know which one.

If anybody can help with this I would be very happy.
 




____________
MY BRAIN HURTS
 
DaggersSend private messageVisit poster's website  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Error With The Statistics Block 
 
I just added a user block to the portal and now I am also getting this error message,

Warning: imp_user_block_block_func(includes/functions_color_groups.php) [function.imp-user-block-block-func]: failed to open stream: No such file or directory in /homepages/8/d69702653/htdocs/blocks/blocks_imp_user_block.php on line 33

Warning: imp_user_block_block_func() [function.include]: Failed opening 'includes/functions_color_groups.php' for inclusion (include_path='.:/usr/local/lib/php') in /homepages/8/d69702653/htdocs/blocks/blocks_imp_user_block.php on line 33

Fatal error: Call to undefined function: color_group_colorize_name() in /homepages/8/d69702653/htdocs/blocks/blocks_imp_user_block.php on line 75

Any help
 




____________
MY BRAIN HURTS
 
DaggersSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Error With The Statistics Block 
 
Daggers wrote: [View Post]
I just added a user block to the portal and now I am also getting this error message,

Warning: imp_user_block_block_func(includes/functions_color_groups.php) [function.imp-user-block-block-func]: failed to open stream: No such file or directory in /homepages/8/d69702653/htdocs/blocks/blocks_imp_user_block.php on line 33

Warning: imp_user_block_block_func() [function.include]: Failed opening 'includes/functions_color_groups.php' for inclusion (include_path='.:/usr/local/lib/php') in /homepages/8/d69702653/htdocs/blocks/blocks_imp_user_block.php on line 33

Fatal error: Call to undefined function: color_group_colorize_name() in /homepages/8/d69702653/htdocs/blocks/blocks_imp_user_block.php on line 75

Any help


Re upload the file includles/fuctions_color_groups.php
Set CHMOD correctly.
 



 
novice programmerSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Error With The Statistics Block 
 
Thanks

I have now done that, but to let you know the file fuctions_color_groups.php is not included in the new release of Icy I had to upload it from an old release instead.
 




____________
MY BRAIN HURTS
 
DaggersSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Error With The Statistics Block 
 
Still have this problem if anybody can help,

Fatal error: Call to undefined function: color_group_colorize_name() in /homepages/8/d69702653/htdocs/blocks/blocks_imp_statistics.php on line 38

This only occurs when using the fk_itis theme which is my prefered theme.
 




____________
MY BRAIN HURTS
 
DaggersSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Error With The Statistics Block 
 
Correction this is happening on all my different themes including the default Icy Phoenix theme, this latest problem occured after I dumped the theme cache.
 




____________
MY BRAIN HURTS
 
DaggersSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Error With The Statistics Block 
 
hey daggers....

maybe you dont use the latest version of that file...

the function must be

Code: [Download] [Hide] [Select]
colorize_username($newest_userdata['user_id']);

 




____________

Play Games at GamesCampus!
 
KugeLSichASend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Error With The Statistics Block 
 
Sorry I am not quite sure what you mean, which file are you talking about.

If you mean the file blocks_imp_statistics then the current file reads like this

Code: [Download] [Hide] [Select]
        global $template, $lang, $phpEx;

        $total_posts = get_db_stat('postcount');
        $total_users = get_db_stat('usercount');
        $total_topics = get_db_stat('topiccount');
        $newest_userdata = get_db_stat('newestuser');
        $newest_userdata['username'] = colorize_username($newest_userdata['user_id']);
        $newest_user = $newest_userdata['username'];
        $newest_uid = $newest_userdata['user_id'];


I am assuming then you are talking about the line;

Code: [Download] [Hide] [Select]
$newest_userdata['username'] = colorize_username($newest_userdata['user_id']);


Then has far as I can tell the line of code looks to be correct already.
 




____________
MY BRAIN HURTS
 
DaggersSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Error With The Statistics Block 
 
Right I have figured a way around this problem but it is not the cure, to get the portal page to display and the statistics block to work I have omitted the line of code from the blocks_imp_statistics file so it looks like this;

Code: [Download] [Hide] [Select]
$newest_userdata['username'] = colorize_username($newest_userdata['user_id']);


Can anybody tell me why this line of code is causing the error anyway when it's active.
 




____________
MY BRAIN HURTS
 
DaggersSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Error With The Statistics Block 
 
hmm

really strange if you have the correct line in your file...

are you sure that you have uploaded all files correct?

EDIT:
did you have cleared the cache folder?  you can clear all files, but not the .htaccess and index.html file
 




____________

Play Games at GamesCampus!
 
KugeLSichASend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Error With The Statistics Block 
 
Use themes adapted to RC1
 



 
novice programmerSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Error With The Statistics Block 
 
Quote:
Use themes adapted to RC1


It is not only the FK_Itis theme which I use, but all the new ones that came with RC1 as well.

Quote:
hmm

really strange if you have the correct line in your file...

are you sure that you have uploaded all files correct?

EDIT:
did you have cleared the cache folder?  you can clear all files, but not the .htaccess and index.html file


I followed the upgrade instructions to the letter, deleting all the files that were required and saving copies of my config.php, .htaccess, and the three def..... files in the includes folder. Also cleaned out both my browser cache and the themes cache as well.
 




____________
MY BRAIN HURTS
 
DaggersSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Error With The Statistics Block 
 
Daggers, have you done an upgrade from 1.1.0.15c to RC1?
 



 
novice programmerSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Error With The Statistics Block 
 
Quote:
Daggers, have you done an upgrade from 1.1.0.15c to RC1?


Yes I think it was 1.1.0.15c, does this help.
 




____________
MY BRAIN HURTS
 
DaggersSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Error With The Statistics Block 
 
It helps so much.

Overring files is not the solution.

Make sure you steped this:

Spoiler: [ Show ]

 



 
novice programmerSend private message  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
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


  

 

  cron