Quote:
Originally Posted by Rik Brown
After upgrading from vb 4.1.6 to 4.1.7, I got the following error:
PHP Fatal error: Call to undefined function build_post_index() in /home/www/html/subs/forums/includes/functions_nntp.php on line 623
What I found is that in the forum's /include directory there is a file named functions_databuild.php that holds the build_post_index function. I see in the 4.1.6 code that the build_post_index function has all the code between the initiation of the function and the end of the function commented out. In 4.1.7, the function has been totally removed from the functions_databuild.php file.
Since the mod worked fine with vb 4.1.6, this would indicate that the function wasn't being utilized by this mod at all. So I commented out the call to the build_post_index function from within functions_nntp.php. And, as far as I can tell, that gets the mod back up and running again with vb 4.1.7.
|
I'd rather patch that one, for "compatibility":
PHP Code:
// Index post for searching
if (function_exists('build_post_index')) build_post_index($postid, $foruminfo);