Quote:
Originally Posted by h_kakashi
I get the following Error :
Warning: Unknown(template_cache.php): failed to open stream: No such file or directory in /admincp/options.php(1025) : eval()'d code on line 15
Warning: (null)(): Failed opening 'template_cache.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /admincp/options.php(1025) : eval()'d code on line 15
Fatal error: Call to undefined function: clear_template_cache() in /home/kakashi/public_html/forums/admincp/options.php(1025) : eval()'d code on line 16
When I attempt to enable it via vbuleltin options. I attempted to enter in the path to the template folder but no joy.
The forums , templates and files in the templates directory are all set to 777. So I really can't see the problem :S
|
I've got the same problem ... but I uploaded it to the correct folder, my forums folder. I can't give an url cause it's currently on our test site. When I uploaded the php file also to the AdminCP directory, the problem was solved (and options.php could find it, in the AdminCP directory, but the file should be normally only in the forums folder).
Edit: I could fix it easily by correcting the product file:
Change the include of the two admin plugins (admin_global and admin_options_processing) to:
PHP Code:
include_once('./template_cache.php');
instead of
PHP Code:
include_once('template_cache.php');
Note: a require_once function would be better instead of a include_once (also just to follow the vBulletin coding standards).
Edit 2: I discovered a new bug, the archive isn't working any more, you need to add a plugin there too.