As many of us, i updated it, but got an error on the sources/subs-post.php file. I cheked it out and found that my file contained:
if (!$previewing)
{
if (allowedTo('post_html'))
$parts[$i] = preg_replace('~\[html\](.+?)\[/html\]~ise', '\'[html]\' . strtr(un_htmlspecialchars(\'$1\'), array("\n" => \' \', \' \' => \'  \')) . \'[/html]\'', $parts[$i]);
// We should edit them out, or else if an admin edits the message they will get shown...
else
$parts[$i] = preg_replace('~\[[/]?html\]~i', '', $parts[$i]);
While the update was searching for:
if (!$previewing)
{
if (allowedTo('admin_forum'))
$parts[$i] = preg_replace('~\[html\](.+?)\[/html\]~ise', '\'[html]\' . strtr(un_htmlspecialchars(\'$1\'), array("\n" => \' \', \' \' => \'  \')) . \'[/html]\'', $parts[$i]);
// We should edit them out, or else if an admin edits the message they will get shown...
else
$parts[$i] = preg_replace('~\[[/]?html\]~i', '', $parts[$i]);
The difference is in the if (allowedTo('post_html')) and if (allowedTo('admin_forum'))
I had an quite old 1.1.4 package (november 2007), so it could be the reason. I dont know. Now it updated succesfully. By the way..what is the difference between the two codes?
That is due to this mod and not a bug
http://custom.simplemachines.org/mods/index.php?mod=411
Aha..ok. Not a coder so...:) I nice reminder to the ones getting the errors. Deinstall the html mod, upgrade, and reinstall it..