Notifications
Clear all

Undefined index PHP error

2 Posts
2 Users
0 Reactions
1,385 Views
(@misty)
Posts: 5
Active Member
Topic starter
 

Hi,

I was making changes to the original .php and .tpl files, and must have erased something important because the homepage has a string of undefined index PHP errors.

Notice: Undefined index: recentblock in /home/tfg4rijn/public_html/ccs/archive/includes/class.TemplatePower.inc.php on line 701

Notice: Undefined index: recentblock in /home/tfg4rijn/public_html/ccs/archive/includes/class.TemplatePower.inc.php on line 701

Notice: Undefined index: in /home/tfg4rijn/public_html/ccs/archive/includes/class.TemplatePower.inc.php on line 701

Notice: Undefined index: recentblock in /home/tfg4rijn/public_html/ccs/archive/includes/class.TemplatePower.inc.php on line 706

Notice: Undefined index: recentblock in /home/tfg4rijn/public_html/ccs/archive/includes/class.TemplatePower.inc.php on line 713

My website is http://ccs.frozen-wings.net/archive/index.php . Please help!


---
Searching endlessly.. for the way home

 
Posted : 22/01/2010 1:56 am
(@lyndsie)
Posts: 1263
Member Moderator
 

Is anything actually broken or missing? It looks fine to me. If you have debug mode on, then turn it off. Those messages normally only appear when you have certain blocks set to "active" or "index only" and they're not actually in the skin. It looks like you've got Most Recent block turned on, and I don't see that it's meant to be in your skin at all, so that's probably what it is. The messages are merely warnings and go away when you turn debug mode off. (It should always be off anyway, unless you're actually debugging at the time, because it can give hackers information about your site that you don't really want them to have.)

ETA: new wiki entry!


 
Posted : 22/01/2010 9:17 am
Share: