I get a lot avec notice in help.php when display the smileys list.

"Notice: Undefined offset: XX in help.php on line 144"

imho it's because of the loop in help.php that check if there are any duplicate image. When a dupe is removed, there is a free offset in the array.
For now, i've replaced line 144 (wich was :
if ($smiley_img[$i] == $smiley_img[$next])
) by :
if (isset($smiley_img[$next]) && $smiley_img[$i] == $smiley_img[$next])
and got no notice anymore.

I hope this cas help...

2

(11 replies, posted in PunBB 1.2 bug reports)

Does that help?

Yes, it does the same thing in a better way smile

I found a solution, read this topic : http://punbb.org/forums/viewtopic.php?pid=29639#p29639

I hope this can help

4

(11 replies, posted in PunBB 1.2 bug reports)

I've found the bug for avatar section :

in profile.php line 379 change :
redirect('profile.php?section=personality&id='.$id, $lang_profile['Avatar upload redirect']);
by :
redirect('profile.php?section=personality&id='.$id, $lang_profile['Avatar upload redirect']);

& is an html encoded char, but redirect() doesn't take html

I think you should change all :
$ grep -n -i "&" -r * | grep redirect
profile.php:131:                redirect('profile.php?section=essentials&id='.$id, $lang_profile['Pass updated redirect']);
profile.php:427:        redirect('profile.php?section=personality&id='.$id, $lang_profile['Avatar deleted redirect']);
profile.php:462:        redirect('profile.php?section=admin&id='.$id, $lang_profile['Group membership redirect']);
profile.php:503:        redirect('profile.php?section=admin&id='.$id, $lang_profile['Update forums redirect']);
profile.php:860:        redirect('profile.php?section='.$section.'&id='.$id, $lang_profile['Profile redirect']);

5

(11 replies, posted in PunBB 1.2 bug reports)

I've got the same bug in almost every form of the forum : admin or user profile (for exemple when a user want to upload a new avatar)

"Bad request. The link you followed is incorrect or outdated."

But except this error, everything work fine (avatar is uploaded correctly)

imho it's the same bug in this topic : http://punbb.org/forums/viewtopic.php?id=5662