![]() |
Mental - What sensitive data?
vidan - Could you tell me where you recieve that error? matthew - It can reduce internal bandwidth if your web and db server are two seperate machines, but it won't impact bandwidth sent to the user, that's not what this is for. |
Quote:
|
its index.php, my config is, xcache 1.3 + php-fpm latest + php 5.3.0 + vb 3.8.4
in index php it will be like this in the header Warning: trim() expects parameter 1 to be string, array given in [path]/includes/class_activecache.php on line 123 Warning: trim() expects parameter 1 to be string, array given in [path]/includes/class_activecache.php on line 123 Warning: trim() expects parameter 1 to be string, array given in [path]/includes/class_activecache.php on line 123 Warning: trim() expects parameter 1 to be string, array given in [path]/includes/class_activecache.php on line 123 and when i login, then it will say unable to add header cookies. thanks deceptor |
Early on into 3.8.4 and I've not encountered the errors as above. But...I'm on file cache not x cache if that makes a difference.
|
Installed again - thanks
One odd thing I have noticed when enabling WOL feature names appear in wrong order, ie google bot appeared before my name turned this off for now, otherwise running on 3.8.4 |
Mental - I see no replication of this myself, if you disable vB Optimise does this problem go away? The ACP isn't something we directly hook into.
vidan - Seems a function which is part of a blank failsafe is triggering the error as items returned are not srrings (although they should be). Try editing the class_activecache.php file, find this: Code:
if (trim($item) == '{_______VB_ACTIVE_CACHE_BLANK_______}') Code:
if (@trim($item) == '{_______VB_ACTIVE_CACHE_BLANK_______}') Red-Devil - The WOL cache can be a little tipsy, something that needs to be reviewed :) |
Quote:
|
Interesting, could you PM me the information that is outputted? Ofcourse remove any sensitive information like email, password, etc.. :)
|
deceptor, it works, btw, how i know that vboptimize is work on my server?
no files or something like cache in /vboptimize/ how to know that vboptimize work in the server? |
vidan - As the FAQ in the top post implies, the /vboptimise/ folder is only for Filecache. To check if vB Optimise is working you'll need to enable debug mode on your forum which you can do by adding the following code in your config.php
$config['Misc']['debug'] = true; After which, your forums footer will now display debug information (it isn't a security threat of any kind, so no harm in normal users seeing this for a short while). Within the debug information there's a drop down listing messages, within that you should see several entries which start with "vB Optimise: ......", read those, if you continually see that vB Optimise is fetching and caching then it means the caching is failing, but if you see vB Optimise only fetching then it would be working. Another quick way would be the following test with debug mode enabled: 1. Disable vB Optimise 2. Load your forum home page, check the number of queries 3. Enable vB Optimise 4. Refresh your forum homepage, check the number of queries 5. Refresh again, queries should be lower |
67 Queries with 69 without is that about right?
Quote:
|
Yes, the 2 query reduction is coming from templates and styles. But 67 queries is still extremely heavy, on a default vB install vB Optimise reduces queries on forum homepage to 4.
See the drop down menu for the messages, it's at the very bottom of your footer titled "Messages:". |
there are a lot of "uncached templates"
Wonder why mine is so high anyway :( |
Quote:
have you discovered the reason please ? |
matthew - Uncached templates means bad code really, some mods you're using are not caching the templates required.
Sayid - Custom Datastore Cache is a vB Optimise option, the error you're reporting is not related to vB Optimise. |
Quote:
Have no idea how to sort it |
That site simply runs your forum through XHTML/HTML validation, that is not related to Uncached Templates. To resolve uncached templates, you'll need to find out which uncached templates are related to the mods on your forum, then contact the mod authors.
|
uncached template forumhome_forumbit_level2_post returning default icon
Thats what they all say... I know a long shot but any clues? and would this be effecting performance? |
forumhome_forumbit_level2_post is a default template. Are all templates uncached?
|
It's just that one repeated loads of times and one thats
Level1_no post returning poll icon |
Hmm. That seems to be the message in the drop down menu (returning default icon) which is fine. With debug mode enabled however, you should get an overview of "Template Usage", there it will show all templates used to generate the page you see and the number of times used. If any of those templates are "red" or highlighted (colour may change depending on your skin) then the template is uncached.
How many templates are uncached? |
Can you go on my site and see the debug information http://www.chattaboxforums.com
In the debug information 2 are showing up red forumhome_forumbit_level1_nopost (21) forumhome_forumbit_level2_post |
That would mean 2 templates are uncached, which isn't too bad actually but they are normal templates so they should really be cached. It'd be a case of enabling/disabling mods to find out if any of them are causing it.
Other than that I see vB Optimise is doing its job fine and the cache is being pulled successfully. If you can I recommend using the vB Optimise options with vB Advanced which you seem to use to further reduce queries, see the top post for more information on that :) |
Where do I get Vb Advanced from?
|
Oh if you don't already have it no worries, I figured with that Sidebar on your forum you were running it :)
|
Hi Deceptor,
Are you available for custom work? |
Hey Megatron :)
Depends really, but send me a PM with the details and I'll certainly take a look! |
I don,t want to upgrade my forum to 384 until I make sure that this works fine with :(
|
Quote:
|
Im not sure if anyone has brought this up before but I have this installed and it has the coolest side benefit for me.
Every morning my forum exceeds the number of sql connections my host allows when ppl wake up and check the forum. Before vBoptimize, it closed my forum down and gave an error but now, you only get the error if you are trying to post. Because stuff is cached, most of the time, I never notice that my forum was temporarily offline till I get the pile of emails. It is also shut down for a much smaller time, will come back online faster and really smooths things out. This is a really great hack. Thanks a ton. |
Upgraded to 384 and works perfectly like a charm :D
BTW, I use file cache system and most of features except vba cuz I don,t yet have it :) |
Hey Deceptor,
Strange since I have been running this for a long while now. I use this mod to get stats at the bottom of my board. With you mod off, my forumhome is 25 queries. With it on it jumps to 42. Similar results on my vba home page. I am using XCache and have all the optimal settings set. Ideas? |
Wow, I have to say this plugin works! The CPU was running at 90%+ during peak hours giving our forums DB errors but now its not going over 70%.
Great job! |
Not sure if this mods causing the problem, but it is deffinatly some sort of cache problem.
On my site, If I used the "back" button on internet explorer my style totally messes up.... see image. http://i32.tinypic.com/1zqr6nr.jpg Vs http://www.chattaboxforums.com --------------- Added 19 Aug 2009 at 00:56 --------------- Noticed something else, when you press the back button, the forum looks like it did hours ago. I.E the time at the bottom says it's 3.43 pm when it's actuallty 12.55 am, and lists the newest member as the previous one --------------- Added 19 Aug 2009 at 01:32 --------------- UPDATE* I deleted all my cookies tempoary internet files etc and it's working fine now. But what is the problem tho? As google as Cached my page that way also, so it's not just a problem with my pc |
Does the flush feature work if the mod is turned off? I am finding that PHP w/fastCGI gives us the best increase, but I am wondering if the flush cache feature works when mod off?
(we are on PHP 5.2.9) |
Im getting this error when installing.
Code:
Updating style information for each style |
Good this working fully for myforum
this modification requirements for biggest forum community will running stable & faster ... recommended your system using Web Server nginx 0.8.13-latest as cgi-fcgi installed memcache & eaccelerator & xcache PHP 5.2.9 or 5.2.10 PHP Max Post Size 512.00 MB PHP Maximum Upload Size 100.00 MB PHP Memory Limit 1.00 GB MySQL Version 5.1.35 MySQL Packet Size 1.00 GB After i'm using this modification see this my server Server Load Averages at admincp Quote:
Regards |
seemed to be a good mod but ++++ed up my page.
|
Quote:
|
Quote:
|
All times are GMT. The time now is 02:21 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:
|