2013-05-04, 11:45 AM
Hello,
i recently installed the plugin Edit History Log. After activating, if i go on the history log and click on the "compare" option, i get this error:
"Fatal error: require_once() [function.require]: Failed opening required '/home/a2044248/public_html/forum/inc/3rdparty/diff/Diff/Renderer/Inline.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/a2044248/public_html/forum/edithistory.php on line 98"
Here is line 82 till 101red marked= 98)
----------------------------------------------------------------------------------------------------------------------------
if(!$editlog['eid'])
{
error($lang->error_no_log);
}
if($editlog['pid'] != $pid)
{
error($lang->error_cannot_compare_other_posts);
}
$lang->edit_history = $lang->sprintf($lang->edit_history, $post['subject']);
$dateline = my_date($mybb->settings['dateformat'], $editlog['dateline']).", ".my_date($mybb->settings['timeformat'], $editlog['dateline']);
$lang->edit_as_of = $lang->sprintf($lang->edit_as_of, $dateline);
require_once MYBB_ROOT."inc/3rdparty/diff/Diff.php";
require_once MYBB_ROOT."inc/3rdparty/diff/Diff/Renderer.php";
require_once MYBB_ROOT."inc/3rdparty/diff/Diff/Renderer/Inline.php";
$message1 = explode("\n", $editlog['originaltext']);
$message2 = explode("\n", $post['message']);
----------------------------------------------------------------------------------------------------------------------------
i recently installed the plugin Edit History Log. After activating, if i go on the history log and click on the "compare" option, i get this error:
"Fatal error: require_once() [function.require]: Failed opening required '/home/a2044248/public_html/forum/inc/3rdparty/diff/Diff/Renderer/Inline.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/a2044248/public_html/forum/edithistory.php on line 98"
Here is line 82 till 101red marked= 98)
----------------------------------------------------------------------------------------------------------------------------
if(!$editlog['eid'])
{
error($lang->error_no_log);
}
if($editlog['pid'] != $pid)
{
error($lang->error_cannot_compare_other_posts);
}
$lang->edit_history = $lang->sprintf($lang->edit_history, $post['subject']);
$dateline = my_date($mybb->settings['dateformat'], $editlog['dateline']).", ".my_date($mybb->settings['timeformat'], $editlog['dateline']);
$lang->edit_as_of = $lang->sprintf($lang->edit_as_of, $dateline);
require_once MYBB_ROOT."inc/3rdparty/diff/Diff.php";
require_once MYBB_ROOT."inc/3rdparty/diff/Diff/Renderer.php";
require_once MYBB_ROOT."inc/3rdparty/diff/Diff/Renderer/Inline.php";
$message1 = explode("\n", $editlog['originaltext']);
$message2 = explode("\n", $post['message']);
----------------------------------------------------------------------------------------------------------------------------