Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: minos on December 10, 2013, 06:21:02 AM

Title: 8: Undefined index: icon
Post by: minos on December 10, 2013, 06:21:02 AM

Apply Filter: Only show the error messages of this URL
http:/******/forum/index.php?action=post2;start=0;board=4
Apply Filter: Only show the errors with the same message
8: Undefined index: icon
Apply Filter: Only show the errors from this file
File: /var/www/*****/forum/Sources/Post.php
Line: 1870

this is the line

$_POST['icon'] = !empty($attachIDs) && $_POST['icon'] == 'xx' ? 'clip' : $_POST['icon'];

i have not custom icons  can you help me?
Title: Re: 8: Undefined index: icon
Post by: margarett on December 10, 2013, 06:26:53 AM
That is odd.
Can you choose a message icon when posting a message?
Title: Re: 8: Undefined index: icon
Post by: minos on December 10, 2013, 06:29:42 AM
standar is by default  xx.gif
Title: Re: 8: Undefined index: icon
Post by: margarett on December 10, 2013, 06:35:13 AM
I know that :P
I was trying to understand if there is something wrong with your "icon selector" because it should always be defined...
That error means that no icon was passed from Post, which should always happen...

I've found 2 topics about that:
http://www.simplemachines.org/community/index.php?topic=476612.0
http://www.simplemachines.org/community/index.php?topic=378445.0
None of them is very clear about the cause of the problem...

What MODs do you have installed?
Did you try with default theme?
Title: Re: 8: Undefined index: icon
Post by: minos on December 10, 2013, 06:53:54 AM
Hi, the first link works for now

seems the error its autoposters fault, but i allow them so it better to use firs link you gave me :) .. http://www.simplemachines.org/community/index.php?topic=452781.0

thanks alot  ;D