Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: clothahump on January 03, 2012, 04:26:22 PM

Title: 8: Undefined index: new
Post by: clothahump on January 03, 2012, 04:26:22 PM
Error is repeated loads of times, any idea on how to fix?

Quotehttp://www.tropicalfishforums.co.uk/index.php?action=forum

8: Undefined index: new

File: /home/tropical/public_html/Themes/default/BoardIndex.template.php
Line: 270
Title: Re: 8: Undefined index: new
Post by: Illori on January 03, 2012, 04:28:50 PM
can you attach your boardindex.template.php file to your next post?
Title: Re: 8: Undefined index: new
Post by: clothahump on January 03, 2012, 04:53:39 PM
Attached.
Title: Re: 8: Undefined index: new
Post by: Illori on January 03, 2012, 04:57:24 PM
first your file has "application/x-httpd-php BoardIndex.template.php
PHP script text" at the top of it which it should not


also the line that the error is on is a php comment so that should not be the line that the error is on. is what you posted the whole error message?
Title: Re: 8: Undefined index: new
Post by: kat on January 03, 2012, 05:04:13 PM
It also looks like the block of code is from the Classified ads mod.

So, you'll be better off asking about this in the mod's support topic.
Title: Re: 8: Undefined index: new
Post by: clothahump on January 03, 2012, 05:21:04 PM
Quote from: Illori on January 03, 2012, 04:57:24 PM
first your file has "application/x-httpd-php BoardIndex.template.php
PHP script text" at the top of it which it should not


also the line that the error is on is a php comment so that should not be the line that the error is on. is what you posted the whole error message?

What I posted is what I can see in the logs, will try the classified mods forums.