-

Critical Error: In file [includes/functions_post.php]

For the Anti-Spam ACP 2.0.x Mod Only
Forum rules
To receive support you must become a donor unless otherwise specified in the release topic.

Please read these topics for more information:
Web Services/Support/Private Mod Access - Support status beginning Oct 1

Critical Error: In file [includes/functions_post.php]

Postby baerrs » Mon Jun 25, 2007 5:23 am

I'm getting an error when I preview the update via EasyMod. This should be a basic install of phpBB2, I did just upgrade to 2.0.22.
I'm upgrading from 2.0.0a to 2.0.8, I used the Anti-Spam_ACP_2.0.0a_to_2.0.8.mod file.

any ideas on where/why it went haywire ??

Code: Select all
Critical Error

FIND FAILED: In file [includes/functions_post.php] could not find:

// Start Anti-Spam ACP MOD
if ( ($userdata['user_level'] != ADMIN) && ($userdata['user_level'] != MOD) )
{
if ( ($board_config['as_acp_posting_url'] == 'off') || ( ($board_config['as_acp_posting_url'] == 'post count') && ($userdata['user_posts'] < $board_config['as_acp_posting_url_post']) ) )
{
if ( (preg_match("%((http://|https://|ftp://|file://|www\.)[^\s]+?)(.*)%isU", $message)) || (preg_match("%([^\s]+?(\.com|\.org|\.net|\.biz|\.info|\.name|\.ru|\.ws|\.de))%", $message)) )
{
/*
* include the language file
*/
$language = ($userdata['user_lang'] != '') ? $userdata['user_lang'] : $board_config['default_lang'];
if (!file_exists($phpbb_root_path . 'language/lang_' . $language . '/lang_anti_spam_acp.' . $phpEx))
{
message_die(GENERAL_MESSAGE, 'Anti-Spam ACP Mod language file does not exist: language/lang_' . $language . '/lang_anti_spam_acp.' . $phpEx);
}
include_once($phpbb_root_path . 'language/lang_' . $language . '/lang_anti_spam_acp.' . $phpEx);
$error_msg .= ($board_config['as_acp_posting_url'] == 'off') ? $lang['Url_Not_Allowed'] : sprintf($lang['Url_Not_Allowed_Count'], $board_config['as_acp_posting_url_post']);
}
}
}
// End Anti-Spam ACP MOD
baerrs
Member
Member
 
Posts: 1
Joined: Sun Jun 24, 2007 8:27 pm
Blog: View Blog (0)

Re: Critical Error: In file [includes/functions_post.php]

Postby EXreaction » Mon Jun 25, 2007 11:10 am

Do you have any other modifications installed on your forum?
Grateful for the mods I've built? Then donate!
User avatar
EXreaction
Site Owner
Site Owner
 
Posts: 4988
Joined: Wed Jun 28, 2006 5:08 pm
Blog: View Blog (53)


Return to Anti-Spam ACP



Who is online

Users browsing this forum: cvghjqr2 and 1 guest

cron