Getting the following Errors in my php log - not loads but quite a few...
################
[06-Mar-2014 18:38:38 Europe/London] PHP Warning: require(/forum/dbtech/vboptimise/templatecache/downloads2_postbit-94.php): failed to open stream: No such file or directory in /forum/dbtech/vboptimise_pro/hooks/template_render_output.php on line 22
[06-Mar-2014 18:38:38 Europe/London] PHP Fatal error: require(): Failed opening required '/forum/dbtech/vboptimise/templatecache/downloads2_postbit-94.php' (include_path='.:/usr/local/lib/php') in /forum/dbtech/vboptimise_pro/hooks/template_render_output.php on line 22
################
Template Render Output PHP file
LINE 22:
require(DIR . '/dbtech/vboptimise/templatecache/' . $tmpl . '-' . STYLEID . '.php');
################
[06-Mar-2014 18:38:38 Europe/London] PHP Warning: require(/forum/dbtech/vboptimise/templatecache/downloads2_postbit-94.php): failed to open stream: No such file or directory in /forum/dbtech/vboptimise_pro/hooks/template_render_output.php on line 22
[06-Mar-2014 18:38:38 Europe/London] PHP Fatal error: require(): Failed opening required '/forum/dbtech/vboptimise/templatecache/downloads2_postbit-94.php' (include_path='.:/usr/local/lib/php') in /forum/dbtech/vboptimise_pro/hooks/template_render_output.php on line 22
################
Template Render Output PHP file
PHP:
<?php
if ($vbulletin->options['vbo_cache_templates_filesystem'])
{
// use legacy postbit if necessary
$tmpl = ($vbulletin->options['legacypostbit'] AND $this->template == 'postbit') ? 'postbit_legacy' : $this->template;
if (file_exists(DIR . '/dbtech/vboptimise/templatecache/' . $tmpl . '-' . STYLEID . '.php'))
{
// We have our template
$actioned = true;
if (!isset(self::$template_usage[$this->template]))
{
self::$template_usage[$this->template] = 1;
}
else
{
self::$template_usage[$this->template]++;
}
// Require our template file
require(DIR . '/dbtech/vboptimise/templatecache/' . $tmpl . '-' . STYLEID . '.php');
// Trick the eval into not degrading performance
$template_code = '$final_rendered = $final_rendered;';
}
}
?>
LINE 22:
require(DIR . '/dbtech/vboptimise/templatecache/' . $tmpl . '-' . STYLEID . '.php');