![]() |
Huh. Weird. Did it show with the other version?
And try to clear the cache. Any PHP errors in your logs? |
Quote:
Yep used to show with old version Yep Clear Cache No Php errors in logs |
Is that welcome plugin an addon I can install to find out what happens?
|
Yep a plugin that one : https://vborg.vbsupport.ru/showthread.php?t=83124
|
Okay then I'll install it and find out what happens.
|
oki dokie
|
It's the way the cache works, it replaces the template with an include() statement.
The plugin replaces a certain string in a template with a new string, and because the template just consists of an include() it won't replace anything. Sorry :( I don't think there is an easy way to fix this. |
ohhh ok uhm
|
Theres More i had a BUMP thread Mod as well wich doesnt work either
|
I'll try to add an array of templates to be excluded from being replaced with an include() statement. You'd have to find out which ones you have to exclude though...
Well then downgrade again until I get that working, disable the product, clear templates/, upload the old template_cache.php and enable it again. |
Thanks orban! you rock! They did that for template compressor to exclude some template to compress that would be fine!
|
Updated the template_cache.beta.php file.
KissKalunji: Code:
$vbulletin->templatecache['FORUMHOME'] = str_replace('$navbar','$navbar ' . $vbulletin->templatecache[forumhome_welcomepanel],$vbulletin->templatecache['FORUMHOME']); Then check the other plugin for a smiliar line, just a template that gets modified, and exclude that one too. I guess I should extend my plugin a bit and add two settings you can edit in the admincp instead of hardcoding it to the PHP file. Oh well. |
Sweet thanks! yeah i know php :)
Let u know how everything worked out |
works :) thanks!
|
Quote:
|
Scared to edit the PHP file? ;)
|
Quote:
I already run your last version, seems to work good. What will this version do for my site? Would you be willing help me out a bit? |
Quote:
yeah it will make the board run faster i have it as well trust me it snot hard just adding the template thats IF you have mods that are messing up the forum |
Quote:
|
so far only two has problems :) and my board is heavy moded
|
knock knock, Orban, you there?
|
Sorry yeah. Can't live here 24/7 ;)
You're running the template_cache.beta.php? If it works, what exactly is your problem then? |
Okay, I've added a few options that can be edited under "vBulletin Options".
Follow the green upgrade steps (you have to install both template_cache.php and product.xml, both files got updated). template_cache.beta.php is now included in template_cache.php and can be enabled with the setting "Cache Templates Seperatly". Please note that there is NO need to upgrade if it runs fine. There are no bugfixes/improvements included in this version. It's really just the few options I added that can be edited in the admincp. Nothing else. |
Seems with 3.5.4 I get the following error:
Code:
Fatal error: Cannot redeclare cache_templates_with_file_cache() (previously declared in /home/*****/public_html/template_cache.php:2) in /home/*****/public_html/template_cache.php on line 2 |
Did you upgrade? Did you check Allow Overwrite?
You probably have all the plugins twice. |
i get the same error i even removed the product and reinstalled it and the same thing...
|
Quote:
|
mine still working fine *knocks on wood*
|
lol lucky you i tried to upgrade to the newest one and poof broke lol
|
Code:
Fatal error: Cannot redeclare cache_templates_with_file_cache() in /home/*****/public_html/forums/template_cache.php on line 2 I just tried the install for the first time 3.5.3 |
Quote:
|
yeah i shouldnt have either lol... now it dont work... ill install the other one back in again till they fixes this
|
Quote:
|
Quote:
|
any word on a fix?
|
Sorry, I'm not getting thread notifications.
Import to product.xml again, overwrite: yes. It must be because my error reporting doesn't work or something, because I tried this plugin of course on a vanilla 3.5.4 installation before uploading. |
*send notify emails*
|
nope, same error.
Code:
Fatal error: Cannot redeclare cache_templates_with_file_cache() in |
GREAT vbulletin.org didn't overwrite the old product.xml.
I think I'll scream now. Try again, I'm really sorry about this mess. :( |
new error
Code:
Fatal error: Call to undefined function: clear_template_cache() in options.php(843) : eval()'d code on line 6 |
All times are GMT. The time now is 01:33 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|