[RC1] approve post with attachment leads to fatal error July 11, 2014, 07:01:37 am Got this error message when approving a post with an attachment (2 pictures):Code: [Select]Fatal error: Call to undefined function pbe_prepare_text() in /www/htdocs/w00f21f1/elkarte/sources/subs/Notification.subs.php on line 586More info: The post is written by another admin user.
Re: [RC1] approve post with attachment leads to fatal error Reply #1 – July 11, 2014, 07:32:18 am hmm... a post written by an admin with unapproved attachments? Anyway, to fix it, open Notifications.subs.php and find:Code: [Select] // Maillist format? $maillist = !empty($modSettings['maillist_enabled']) && !empty($modSettings['pbe_post_enabled']); if ($maillist) require_once(SUBSDIR . '/Emailpost.subs.php');replace the entire block with just:Code: [Select] require_once(SUBSDIR . '/Emailpost.subs.php');
Re: [RC1] approve post with attachment leads to fatal error Reply #2 – July 11, 2014, 07:43:47 am Quote from: emanuele – July 11, 2014, 07:32:18 amhmm... a post written by an admin with unapproved attachments? Don't know how he made it. But it was his post which was unapproved.
Re: [RC1] approve post with attachment leads to fatal error Reply #3 – July 12, 2014, 11:48:46 am https://github.com/emanuele45/Dialogo/commit/4db2e252d9f821bdf693961eeb5868da892636ee