Erros on Challenges
 
Notifications
Clear all

Erros on Challenges

7 Posts
2 Users
0 Reactions
2,013 Views
(@mistressmalfoy)
Posts: 44
Eminent Member
Topic starter
 

Efiction :- 3.1
Php:- erm 4
Website:- http://grangerenchanted.com/enchant

Hi guys getting this problem when I click on "challenges"

Warning: main(blocks/news/en.php) [function.main]: failed to open stream: No such file or directory in /home/grangere/public_html/enchant/blocks/news/news.php on line 9

Warning: main(blocks/news/en.php) [function.main]: failed to open stream: No such file or directory in /home/grangere/public_html/enchant/blocks/news/news.php on line 9

Warning: main() [function.include]: Failed opening 'blocks/news/en.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/grangere/public_html/enchant/blocks/news/news.php on line 9

Warning: __preparetemplate(config.php) [function.--preparetemplate]: failed to open stream: No such file or directory in /home/grangere/public_html/enchant/includes/class.TemplatePower.inc.php on line 145

Warning: __preparetemplate(config.php) [function.--preparetemplate]: failed to open stream: No such file or directory in /home/grangere/public_html/enchant/includes/class.TemplatePower.inc.php on line 145

Warning: __preparetemplate() [function.include]: Failed opening 'config.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/grangere/public_html/enchant/includes/class.TemplatePower.inc.php on line 145

any idea what I should do to get rid of it?


 
Posted : 17/03/2007 12:58 am
(@tammy)
Posts: 2577
Member Moderator
 

Unless your news block is showing on pages other than the home page change it to "index only".  And turn debug off.


 
Posted : 17/03/2007 12:07 pm
(@mistressmalfoy)
Posts: 44
Eminent Member
Topic starter
 

debug is set to "no" and I set news to index only but I am still getting alot of problems, I have been having trouble with my database too and when I contacted my host they said the errors showing in my efiction folder is what is causing the problems.

Warning: main(blocks/news/en.php) [function.main]: failed to open stream: No such file or directory in /home/grangere/public_html/enchant/blocks/news/news.php on line 9

Warning: main(blocks/news/en.php) [function.main]: failed to open stream: No such file or directory in /home/grangere/public_html/enchant/blocks/news/news.php on line 9

Warning: main() [function.include]: Failed opening 'blocks/news/en.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/grangere/public_html/enchant/blocks/news/news.php on line 9

Warning: __preparetemplate(config.php) [function.--preparetemplate]: failed to open stream: No such file or directory in /home/grangere/public_html/enchant/includes/class.TemplatePower.inc.php on line 145

Warning: __preparetemplate(config.php) [function.--preparetemplate]: failed to open stream: No such file or directory in /home/grangere/public_html/enchant/includes/class.TemplatePower.inc.php on line 145

Warning: __preparetemplate() [function.include]: Failed opening 'config.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/grangere/public_html/enchant/includes/class.TemplatePower.inc.php on line 145


 
Posted : 18/03/2007 5:23 am
(@tammy)
Posts: 2577
Member Moderator
 

Your skin's variables.php has the news block turned on on all pages.


 
Posted : 18/03/2007 11:39 am
(@mistressmalfoy)
Posts: 44
Eminent Member
Topic starter
 

How do I change it to index only?


 
Posted : 19/03/2007 12:44 am
(@tammy)
Posts: 2577
Member Moderator
 

Delete the line in variables.php that reads something like:


$blocks['news']['status'] = 1;


 
Posted : 19/03/2007 12:58 am
(@mistressmalfoy)
Posts: 44
Eminent Member
Topic starter
 

psssssst I think I'm in love with you πŸ˜€ *grins* Thank you so much I really appreciate all your help you are a doll! πŸ˜€


 
Posted : 20/03/2007 12:46 am
Share: