Author
Topic: Unable to Post, have to Log in Every time to do Admin after installing 2.0.15 (Read 630 times)

I'm not sure how it happened, but somewhere along the way my forum was update with 2.0.13 after which people could not post to old topics or add new one. Kept getting message that I needed to run Update.php which I did not have.

Among other things I tried updating to 2.0.15 and although people can see the boards, not one can post and when they try they get the following message:

Field 'edit_reason' doesn't have a default valueFile: /home/frayed6/public_html/eq/boards/Sources/Subs-Post.phpLine: 1817

Do I understand correctly that this problem appeared when you upgraded to 2.0.13, and you've since upgraded to 2.0.15 and still have same problem? Did you install all of the upgrades with package manager?

I installed 2.0.15 without installing 2.0.14. I installed it via PHP, not with the package installer. Yes, the problem started after installing 2.0.13 which installed over 2.0.11 without 2.0.12 and it installed with the package installer. I did not install edit mod.

The field edit_reason is not in core code, it's added by the 'Reason For Editing Mod' mod. Appears you had the mod installed prior to upgrading .11 -> .13. Uploading the upgrade package would have removed the mod, but some code would remain if you're using a theme other than Curve. The mod adds edit_reason to Subs-Post.php, which would have been overwritten with clean file, and a couple of templates, which are not overwritten in custom theme.

// If this message has been edited in the past - display when it was.if (isset($context['last_modified']))echo '<div class="padding smalltext"><strong>', $txt['last_edit'], ':</strong>', $context['last_modified'], '</div>';

// If this message has been edited in the past - display when it was.if (isset($context['last_modified']))echo '<div class="padding smalltext"><strong>', $txt['last_edit'], ':</strong>', $context['last_modified'], '</div>';

also, the default value error is specific to certain versions of mySQL... get your host to update mySQL and the issue should be resolved as well.

However, by using the upgrade zip instead of the patch through package manager, you now need to reinstall all of your mods - not reinstalling some mods will put your system in a weird state, especially for mods that have some hooks and some code changes

Logged

Please do not PM, IM or Email me with support questions. You will get better and faster responses in the support boards. Thank you.

well, my jubilation was a bit premature. The post problem was fixed by changing the phop version, but we are still having a problem with administrators having to log in even though they are logged in to view and perform administrator things.