PDA

View Full Version : Board Optimization - [DBTech] vB Optimise 2.0.1 (Lite)


Pages : 1 2 [3] 4 5 6

Bounce
12-25-2008, 08:42 PM
help me

add this line right under <?php

define('DISABLE_HOOKS', true);

Then disable vB Optimise 1.3.2 or change the option to File Cache

Deceptor
12-25-2008, 11:42 PM
IRANCITY - Your issue seems to be with memcached and using vBulletins memcache datastore, not vB Optimise.

Red Blaze
12-26-2008, 02:48 AM
Installed it for 3.6.+ and it works. Although I can't see any numbers, I have noticed a huge difference in response. Thanks alot!

*Even motivated me to upgrade vB Advanced. :p*

maidos
12-26-2008, 07:52 AM
had debug enabled and xcache installed, but i only noticed that pageload were slower when i had the mod enabled. without it load 0.4 seconds 59 queries and with mod enabled 0.8 seconds 57 queries

BamaStangGuy
12-26-2008, 10:36 AM
59 queries is ridiculous.

Hostboard
12-26-2008, 11:09 AM
had debug enabled and xcache installed, but i only noticed that pageload were slower when i had the mod enabled. without it load 0.4 seconds 59 queries and with mod enabled 0.8 seconds 57 queries

Reenabled and started taking a look at load times figured I could alwyas disable if the importing of plugins was an issue and found my load times are also longer with this module under xcache.

SBlueman
12-26-2008, 11:23 AM
Went to go save the vb Optimize setting in a vbAdvanced module and I got this error:

Fatal error: Call to undefined function save_settings() in /home/sblueman/public_html/forums/includes/class_activecache_vbadvanced.php on line 74

Has this issue been resolved?

Deceptor
12-26-2008, 03:58 PM
SBlueman - I believe the issue is related to non vB 3.8 installs, although some vB 3.7 installs have said the vBAdvanced install is working, perhaps between one of the 3.7 versions code changed between vB shifting save_settings(). This is a default vB function so isn't really an issue with vB Optimise, all I can say is try upgrade your vB to the latest vB 3.7 install :)

maidos - Your forum is executing a lot of queries, the two that this mod reduces will barely impact your forum because it is nearly executing 60 altogether. You really need to drop mods on your forum that are adding so many queries.

andrewkhunn
12-26-2008, 05:06 PM
SBlueman - I believe the issue is related to non vB 3.8 installs, although some vB 3.7 installs have said the vBAdvanced install is working, perhaps between one of the 3.7 versions code changed between vB shifting save_settings(). This is a default vB function so isn't really an issue with vB Optimise, all I can say is try upgrade your vB to the latest vB 3.7 install :)

I am receiving this error, like SBlueman, on vB 3.6.8 as well. You had mentioned fixing it in the next release...

Deceptor
12-26-2008, 06:36 PM
andrewkhunn - If it was an issue with vB Optimise specifically I would fix it, but it's due to using an old vB version I'm afraid.

JesusLiv3s
12-27-2008, 05:37 AM
When setting the modification to "Online", even when all features are turned off, FORUMHOME expands significantly horizontally.

Screenshot: http://i39.tinypic.com/2ai4ze0.jpg

Why's this happening? I turned the modification off until I can determine the issue.

Andreas
12-27-2008, 09:24 AM
Hmm, instead of flushing the whole cache (which seems to be a bit too much anyway), what about keeping track of cached keys and only flush those that are really needed?
Eg. when certain data gets cached add the key to an internal list and when a flush is needed flush only those keys that are affected.

That would also avoid authentication problems (which also occur with eAccelerator btw.)

Deceptor
12-27-2008, 04:00 PM
JesusLiv3s - vB Optimise won't modify output if you disable all features but just have it turned on, but with that said, try running it on a default style and see if the same occurs. Which cache method are you using?

Andreas - I agree, and with flush causing issues with authentification I figured it'd probably be better just to create a work-around where keys being used/set by vBO will be overwritten with a flag that when fetched vBO will treat it as "null".

MissKalunji
12-27-2008, 04:58 PM
I'm having a problem with Flush cache....Like i have to TURN off vboptimize then flush cache THEN turn it back on...For it to show my template edit

Deceptor
12-27-2008, 05:28 PM
MissKalunji - If you're using XCache with Authentification required, then any attempts to auto flush cache will fail because of the authentification needed. If you disable XCache authentification and set it so in vB Optimise, it will begin to work then :)

MissKalunji
12-27-2008, 05:30 PM
i'm not using any. i'm on"file cache" webhosting asked me for an outragious price to install xcache so i'm living without it for now til i have enough courage to install it myself or something...

Deceptor
12-27-2008, 05:34 PM
The filecache should drop during auto flush, perhaps there's a permission error. Do you have SuPHP option on or off in vB Optimise?

MissKalunji
12-28-2008, 12:37 AM
The filecache should drop during auto flush, perhaps there's a permission error. Do you have SuPHP option on or off in vB Optimise?

it was on OFF is that important?

i didn't even notice

Deceptor
12-28-2008, 03:23 AM
Depends on your setup, typically it should be off, but try setting it to On. It may resolve your issue :)

KHALIK
12-28-2008, 04:48 AM
Installed

mA|tRiX
12-28-2008, 11:08 AM
Thanks a lot. :) Ive installed it on a 3.7.4 Version and it works great. Thanks :)

Deceptor
12-28-2008, 04:37 PM
logicuk - Best to use the same memcache settings as defined in your vbulletins config.php :)

Deceptor
12-28-2008, 05:13 PM
Not properly, they aren't my main focus on the next release I'm afraid, there's still some default vB queries to squash and it's default vB that will impact more for all users :)

logicuk
12-28-2008, 05:42 PM
No prob i look forward to the updates :)

Thomas P
12-29-2008, 06:01 AM
Very interesting, thanks for your work

rellek
12-29-2008, 02:35 PM
Hi,

Thanks for that hack, worked fine... until now.
I've got a little problem.
I use eAccelerator and it seems like the cache is not flushed. I changed templates and styles a little bit and I only see results if I turn off vB Optimise. When I turn on again, I see old templates.
No matter when I flushed the cache (while disabled or not).

Does someone know a solution?

Thanks.

JesusLiv3s
12-30-2008, 12:37 AM
JesusLiv3s - vB Optimise won't modify output if you disable all features but just have it turned on, but with that said, try running it on a default style and see if the same occurs. Which cache method are you using?

I am using the file cache method.
This only seems to happen with Greenfox, and Greenfox based styles.
It happens even when everything but the Online switch is turned off.

Jim O
12-30-2008, 12:49 AM
Hi,

Thanks for that hack, worked fine... until now.
I've got a little problem.
I use eAccelerator and it seems like the cache is not flushed. I changed templates and styles a little bit and I only see results if I turn off vB Optimise. When I turn on again, I see old templates.
No matter when I flushed the cache (while disabled or not).

Does someone know a solution?

Thanks.

Try restarting Apache or whatever is controlling php if you are using a different web server.

You could also try changing to XCache...

Phaedrus
12-30-2008, 03:02 AM
If this doesn't get mod of the month, then it's rigged. Awesome. BTW, works well with 3.7.4 PL 1.

Thanks dude.

rellek
12-30-2008, 07:41 AM
Try restarting Apache or whatever is controlling php if you are using a different web server.

You could also try changing to XCache...
Sorry, it's a managed server where I don't have the root password.

And I heard of problems with Xcache :erm:

MissKalunji
12-30-2008, 02:52 PM
Depends on your setup, typically it should be off, but try setting it to On. It may resolve your issue :)

I got someone real nice helping me with xcache :) so all my problems should be done after that....Thank you for your help if i wasn't broke i would def make a donation you deserve it.

MissKalunji
12-30-2008, 04:35 PM
* never mind *

MissKalunji
12-30-2008, 05:41 PM
something else. When vboptimize is enabled. If someone receive an e-mail from me

it shows as - instead of dancehallareaz.com Entertainment

When i disable it it shows fine...

Any ideas on what settings i might have messed up?

KevinL
12-30-2008, 07:59 PM
If you search in the thread I think the answer was to disable caching phrases for the time being.

MissKalunji
12-30-2008, 08:07 PM
oops sorry.

KevinL
12-30-2008, 08:21 PM
haha no need to be sorry :)

I had to do it earlier myself ;)

janslu
12-30-2008, 08:44 PM
I am running a fairly busy forum at http://www.babyboom.pl/forum . We are currently running on two servers - one for web and a separate one for db.

On web server we are running nginx serving static files and proxying to apache2 with mod_php 5.2.3 and apc 3.0.19. On db - mysql 5.0.51.

The extension caused:
- a slight decrease in pageload (but hardly visible) and not consistent (some pageloads were longer some shorter),
- huge decrease in db->web bandwidh usage (from 30mbit avarage to 10mbit), but not that impressive drop in overall queries/sec numbers.
- noticeable increase in web server load (it's probably no more than few percent avarage cpu usage, but that pushed it over the limit in my case.

So far I have decided to turn it off because my web server is on it's last legs because of load (>900 concurrent users). I will resume tests when I install my new machine.

Thanks for your work :-)
It may have great influence in most situations, especially on sites where mysql is a bottleneck. But before you install, you have to consider a slight increase in load with APC...

ABDALWAHID
12-31-2008, 11:00 AM
Hello,

Warnung: Cannot modify header information - headers already sent by (output started at [path]/includes/adminfunctions.php:280) in [path]/includes/class_activecache_methods.php (Zeile 190)


vB Optimise: Your XCache requires administration authentification to be able to clear to cache, to login simply try flush the cache again. To disable admin authentification for XCache set "enable_auth" to Off in your php.ini configuration.

xcache.admin.enable_auth = Off

------

XCache
XCache Support enabled
Version 1.2.2
Modules Built cacher
Readonly Protection N/A
Opcode Cache enabled, 268,435,456 bytes, 4 split(s), with 4096 slots each
Variable Cache enabled, 268,435,456 bytes, 4 split(s), with 8192 slots each
Shared Memory Schemes mmap

Directive Local Value Master Value
xcache.admin.enable_auth Off Off
xcache.cacher On On
xcache.coredump_directory no value no value
xcache.count 4 4
xcache.gc_interval 0 0
xcache.mmap_path /dev/zero /dev/zero
xcache.readonly_protection no value no value
xcache.shm_scheme mmap mmap
xcache.size 256M 256M
xcache.slots 4K 4K
xcache.stat On On
xcache.test 0 0
xcache.ttl 0 0
xcache.var_count 4 4
xcache.var_gc_interval 300 300
xcache.var_maxttl 14400 14400
xcache.var_size 256M 256M
xcache.var_slots 8K 8K
xcache.var_ttl 7200 7200

--------------

it s not ok?

Big-K
01-01-2009, 04:14 PM
I'm a novice on Cache.

How can I identify my Cache Method and how can I change it?

Jim O
01-01-2009, 04:44 PM
I'm a novice on Cache.

How can I identify my Cache Method and how can I change it?
Run php info (you can find it in the admin control panel at the very bottom in the "Maintenance" section. Scroll down and look for XCache and/or memcache. I'm not as familiar with eAccelerator or APC but they would likely appear there as well.

In order to configure vBulletin to work with the installed cache you would need to edit includes/config.php. The line is near the bottom and will look like:

$config['Datastore']['class'] = 'vB_Datastore_ XXX';

where XXX is the method that you use.

If you are on shared hosting you should provide a "datastore prefix" with the line:

$config['Datastore']['prefix'] = 'ZZZ';

where ZZZ is some prefix that will identify your items in the cache.

If no cache methods are available and you are on shared hosting you can ask your host to install XCache for you.

turkforum
01-01-2009, 06:51 PM
We are currently using vBulletin 3.7.4 Patch Level 1. And an older version of vbadvanced.
Uploaded the files. Installed the product. did not get any message such as product installed. But it is listed on the product list.. The status of the product is "not enabled"
Then i figured out i cant make any modifications within the style templates such as header. after making changs on the tempalte when you click save nothing happens a blank screen is shown.
So i said lets go ahead and uninstall the product.. Did not get any notification such as "product uninstalled successfully". Just a screen showing one of my template being edited screen.
Then i check the product list. It was not there anymore... Well last step was to delete the uploaded optimize files..

Deleted the files. Uppss.. Cant access the forum. Upload the files everything returned to normal...

Will you please provide a detailed "uninstall" procedure please.
What modifications were made when i install the product? How can i disable those modifications?

thanks

logicuk
01-01-2009, 09:23 PM
define('DISABLE_HOOKS', true);

Simply place that in your config.php for vBulletin (./includes/config.php), it'll disable all your plugins, once do head into the Admin CP and uninstall vB Optimise product, you won't need to delete the vB Optimise files to remove completely, but your safe to do so after the product is removed.

After that, simply remove the line from config.php and your products will work again :)

here u go mate

Chadi
01-02-2009, 02:18 AM
Ok, I cannot scan 37 pages now (sorry to sound lazy) but I need a bit of help here.

vB Optimise: You have selected a cache method that vB Optimise has detected you cannot use, this may be because the extension required is either not installed or active on your server.

I get that on both eaccelerator and memcache, yet both were compiled in Apache (along with Zend Accelerator).

I'm using Cpanel / Centos / PHP 5.

I'm confused about memcache config in the vb config.php file, although I prefer to use eaccelerator. I have this:

// ****** DATASTORE CACHE CONFIGURATION *****
// Here you can configure different methods for caching datastore items.
// vB_Datastore_Filecache - to use includes/datastore/datastore_cache.php
// vB_Datastore_APC - to use APC
// vB_Datastore_XCache - to use XCache
// vB_Datastore_Memcached - to use a Memcache server, more configuration below
// $config['Datastore']['class'] = 'vB_Datastore_Filecache';

// ******** DATASTORE PREFIX ******
// If you are using a PHP Caching system (APC, XCache, eAccelerator) with more
// than one set of forums installed on your host, you *may* need to use a prefix
// so that they do not try to use the same variable within the cache.
// This works in a similar manner to the database table prefix.
// $config['Datastore']['prefix'] = '';

// It is also necessary to specify the hostname or IP address and the port the server is listening on
/*
$config['Datastore']['class'] = 'vB_Datastore_Memcached';
$i = 0;
// First Server
$i++;
$config['Misc']['memcacheserver'][$i] = '127.0.0.1';
$config['Misc']['memcacheport'][$i] = 11211;
$config['Misc']['memcachepersistent'][$i] = true;
$config['Misc']['memcacheweight'][$i] = 1;
$config['Misc']['memcachetimeout'][$i] = 1;
$config['Misc']['memcacheretry_interval'][$i] = 15;
*/

Eaccelerator settings in php.ini

[eAccelerator]
extension="eaccelerator.so"
eaccelerator.shm_size="256"
eaccelerator.cache_dir="/tmp/eaccelerator"
eaccelerator.enable="1"
eaccelerator.optimizer="1"
eaccelerator.check_mtime="1"
eaccelerator.debug="0"
eaccelerator.filter=""
eaccelerator.shm_max="0"
eaccelerator.shm_ttl="0"
eaccelerator.shm_prune_period="0"
eaccelerator.shm_only="0"
eaccelerator.compress="1"
eaccelerator.compress_level="9"

Mr[K]id
01-02-2009, 05:02 AM
not any Demo ?

Lizard King
01-02-2009, 08:51 AM
id;1699044']not any Demo ?
As you are requesting a demo , i strongly advise you not to install this mod and check others.

newsoftw
01-02-2009, 04:59 PM
that's great and nice working on vb 3.7.4 & thxxxxxxxxxxxx

Reycer
01-02-2009, 10:32 PM
I am running 3.7.4 with PHP 5.0 I installed according to installtion instructions and now my site is down with no way for me to fix it. The uninstall instructions above are NOT working. Could someone please help me figure this out, so that I can get this crap off of my forum.

www.lacledeforum.com

Reycer
01-02-2009, 10:44 PM
Parse error: parse error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/content/m/d/e/mdelcour201/html/forums/includes/class_activecache.php on line 20

This is the error that is coming up.

PhilMcKrackon
01-02-2009, 10:47 PM
After

<?php

in your config.php file add

define('DISABLE_HOOKS', true);

to disable your hooks, then you should be able to login to your forums and figure out what went wrong.

I am running 3.7.4 with PHP 5.2.6 and had not trouble with the addon - as are many others.

Reycer
01-02-2009, 10:51 PM
nothing I am getting the same error.

Reycer
01-02-2009, 10:52 PM
<?php
define('DISABLE_HOOKS', true);
/*================================================= =====================*\
|| ################################################## ################## ||
|| # vBulletin 3.7.4 Patch Level 1 - Licence Number xvxvxvxvxv
|| # ---------------------------------------------------------------- # ||
|| # All PHP code in this file is ?2000-2008 Jelsoft Enterprises Ltd. # ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
|| # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
|| ################################################## ################## ||
\*================================================ ======================*/

/*-------------------------------------------------------*\


That's where I added it. And nothing it still has the same errors

Reycer
01-02-2009, 11:01 PM
at this point I just need my forum back online.

ScienceOfMuscle
01-02-2009, 11:55 PM
Deceptor,
I am working with optimise right now, and running into an issue. I dont know if it is a problem with VB 3.8 or if optimise has a hand in it.

When setting Store CSS as files to on, I get this error:

Default Style ... (Templates) ()
Fatal error: Call to undefined method vb_activecache::flush() in /**site**/public_html/forum/includes/adminfunctions_template.php(1014) : eval()'d code on line 4

Is that something you have seen before by chance?

Reycer
01-03-2009, 12:19 AM
still don't have a site, anyone have any thoughts.

ScienceOfMuscle
01-03-2009, 12:21 AM
still don't have a site, anyone have any thoughts.

Are you able to map to the admin CP? Also, you can try uploading the tools.php, and running that.

Reycer
01-03-2009, 12:23 AM
no I can't navigate to nothing. Have a look for yourself. www.lacledeforum.com

No, I will try the tools.php now. Thanks

ScienceOfMuscle
01-03-2009, 12:47 AM
Deceptor,
I am working with optimise right now, and running into an issue. I dont know if it is a problem with VB 3.8 or if optimise has a hand in it.

When setting Store CSS as files to on, I get this error:

Default Style ... (Templates) ()
Fatal error: Call to undefined method vb_activecache::flush() in /**site**/public_html/forum/includes/adminfunctions_template.php(1014) : eval()'d code on line 4

Is that something you have seen before by chance?

Nevermind... figured it out. Didnt have optimise turned on.

ScienceOfMuscle
01-03-2009, 12:47 AM
no I can't navigate to nothing. Have a look for yourself. www.lacledeforum.com

No, I will try the tools.php now. Thanks

Hopefully you can use that to remove the optimise mod, and get things going again.

Reycer
01-03-2009, 01:06 AM
yeah, tools did nothing. This really stinks.

jupiter5
01-03-2009, 08:55 AM
Does someone knows what may cause this ?

Fatal error: Call to undefined method vb_activecache::flush() in /home/.dearths/www/mywebsite.com/forum/includes/adminfunctions_template.php(946) : eval()'d code on line 4

I did 777 Vboptimise folder in my ftp. Then Optimise Flush Cache yes again. Fatal Error dissappered. Seems to be ok now.

Ramsesx
01-03-2009, 10:02 AM
yeah, tools did nothing. This really stinks.

Sorry to ask but are you really sure you edited the includes/config.php?
Maybe you check it again.

thompson
01-03-2009, 10:40 AM
does it works on vb 3.7 also ?

and what about vbseo ?

Reycer
01-03-2009, 12:56 PM
yes, I have checked config.php several times over. Still no luck.

Reycer
01-03-2009, 01:11 PM
checked it again this morning, still getting same error, can't get into anything. Where is the original coder on this one? Still getting this error:

Parse error: parse error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/content/m/d/e/mdelcour201/html/forums/includes/class_activecache.php on line 20

And can't get to anything...VERY FRUSTRATING!

nascartr
01-03-2009, 01:23 PM
does it works on vb 3.7 also ?

and what about vbseo ?


According to some it does but this was officially released for 3.8 so to potentially avoid mdelcour's problem I would install with caution since it's not intentionally made for the 3.7 series.

MissKalunji
01-03-2009, 01:36 PM
does it works on vb 3.7 also ?

and what about vbseo ?

It works fine on 3.7 I'm using it.

and i also have vbseo no problem at all just besides the caching phrases but that's everyone.

Reycer
01-03-2009, 02:08 PM
I am about to start offering payment to fix this problem. I really need my board back online.

Andreas
01-03-2009, 02:56 PM
Are you sure you carefully read everything before installing this product, especially

1. I'm getting PHP errors, what gives?
A) You'll need to be using PHP5 for vB Optimise to work.

?

Check your config.php edit again, normally there is no way it could fail (it might be necessary to flush your XCache/eAccelerator/APC cache aferwards if you don't check mtime as the server otherwise won't notice that the file was changed).

NolF
01-03-2009, 03:00 PM
@mdelcour
Are you sure /includes/class_activecache.php is there?
Also can you be certain that you didn't cuorrupt the config.php file? line ~86 asks for
"switch (strtolower($vbulletin->config['Database']['dbtype']))"
maybe the info entered in your config.php regarding dbtype is not working (added an extra ' or " might have broken it

When did the error start coming up? after installing the product? touching config.php?


Doing http://www.vbulletin.com/forum/showthread.php?t=196688 should really disable hooks, so probly your config.php is corrupted ;)

Reycer
01-03-2009, 03:15 PM
the error started right after I installed the plugin (xml) for this mod. Right after it got done, the page reloaded and started this error. I haven't changed anything in the config file except for the define('DISABLE_HOOKS', true); code, trying to get back into my site. Yes, the class_activecache.php file is there.

Andreas
01-03-2009, 03:22 PM
Drop me a PM with your FTP and ACP login and i'll disable the product for you (when I am back in approx. 15 minutes).

Reycer
01-03-2009, 03:28 PM
Drop me a PM with your FTP and ACP login and i'll disable the product for you (when I am back in approx. 15 minutes).

done. thanks for the help.

Reycer
01-03-2009, 04:12 PM
just saw it....you are awesome!!!!!

Andreas
01-03-2009, 04:31 PM
@Deceptor
I suggest to add a dependency for PHP 5.1 to prevent users with ancient PHP versions from installing your excellent work and running into problem then ;)

BamaStangGuy
01-03-2009, 05:53 PM
Would it be possible to cache some of the queries in this plugin: https://vborg.vbsupport.ru/showthread.php?t=177778

It's a very nice plugin but a pain on my server. :(

I'd love to be able to cache some of the queries in xcache for 1 min or so... maybe longer.

PhilMcKrackon
01-03-2009, 08:53 PM
I am running 3.7.4 with PHP 5.0 I installed according to installtion instructions and now my site is down with no way for me to fix it. The uninstall instructions above are NOT working. Could someone please help me figure this out, so that I can get this crap off of my forum.

www.lacledeforum.com@Deceptor
I suggest to add a dependency for PHP 5.1 to prevent users with ancient PHP versions from installing your excellent work and running into problem then ;)

Glad you got your forums back mdelcour. Does this mean that the min PHP is 5.1 or did you not have PHP 5.0 as was stated is required?

princeedward
01-03-2009, 09:42 PM
Tested:....and seems to be working fine to vB3.6.8. PL2 without error except to vBCMPS

...but don't know if it's really working fine or enough... with my debug report below...as i see it...only FileCache Setup only has a good result...

vB Optimise: OFF

* Page Generation 0.31044 seconds
* Memory Usage 5,897KB
* Queries Executed 27 (?)
======================================

File Cache:

* Page Generation 0.19487 seconds
* Memory Usage 5,916KB
* Queries Executed 24 (?)

MemCache:

* Page Generation 0.19172 seconds
* Memory Usage 5,920KB
* Queries Executed 44 (?)

XCache:

* Page Generation 0.17345 seconds
* Memory Usage 5,921KB
* Queries Executed 44 (?)

APC:

* Page Generation 0.17240 seconds
* Memory Usage 5,920KB
* Queries Executed 44 (?)

eAccelerator:

* Page Generation 0.17216 seconds
* Memory Usage 5,924KB
* Queries Executed 44 (?)

any comment there guys...

:erm:

Reycer
01-03-2009, 10:09 PM
Glad you got your forums back mdelcour. Does this mean that the min PHP is 5.1 or did you not have PHP 5.0 as was stated is required?

No I have PHP 5.0 it obviously does not work with 5.0

Reycer
01-03-2009, 10:11 PM
5.0 is as high as GoDaddy servers go. They need to be updated.

and before you say it, I know....I need to get away..far far away from GoDaddy, but on the other hand GoDaddy is cheap. (I guess you get what you pay for..)

ShadMan
01-03-2009, 11:45 PM
I installed this about an hour ago, and it seems to be working as stated (with the exception of the email "from" issue that has been mentioned a few times previously). Thanks!

bahisyeri
01-04-2009, 05:13 AM
It has some problems with phrase caching, but other options working good but i prefer old hacks from trigunflame, like plugin accelerator :) anyway nice job

lolo?
01-04-2009, 06:54 AM
hy Deceptor
i have a small problem with recent thread on vba if i activate the cache doest aplly permission group if i apply on welcome block i'm loggin with an other user :(
Thanks for your work :)

Amenadiel
01-04-2009, 12:41 PM
it seems that WOL caching does not work with VB 3.7.3
I get this error on forumhome only:


Database error in vBulletin 3.7.3:

Invalid SQL:

SELECT
user.username, (user.options & 512) AS invisible, user.usergroupid,
session.userid, session.inforum, session.lastactivity, session.useragent,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid
FROM vb_session AS session
LEFT JOIN vb_user AS user ON(user.userid = session.userid)
WHERE session.lastactivity >;

logicuk
01-04-2009, 01:51 PM
it seems that WOL caching does not work with VB 3.7.3
I get this error on forumhome only:


Database error in vBulletin 3.7.3:

Invalid SQL:

SELECT
user.username, (user.options & 512) AS invisible, user.usergroupid,
session.userid, session.inforum, session.lastactivity, session.useragent,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid
FROM vb_session AS session
LEFT JOIN vb_user AS user ON(user.userid = session.userid)
WHERE session.lastactivity >;



Works for me fine on 3.7.2

NolF
01-04-2009, 02:49 PM
hy Deceptor
i have a small problem with recent thread on vba if i activate the cache doest aplly permission group if i apply on welcome block i'm loggin with an other user :(
Thanks for your work :)
You are only supposed to activate the cache for modules that are not usergroup dependent because of the problem you just mentioned :)

...but don't know if it's really working fine or enough... with my debug report below...as i see it...only FileCache Setup only has a good result...

Did you have said softwares installed? In other words did you have Xcache installed when selecting XCache?

thedark1
01-04-2009, 09:48 PM
man this is pretty fast, I'm using it with xcache and the forum is loading quick ... will keep testing it out to see if any problems spring up....

thanks

Chadi
01-05-2009, 01:27 AM
I need a bit of help here please.

vB Optimise: You have selected a cache method that vB Optimise has detected you cannot use, this may be because the extension required is either not installed or active on your server.

I get that on both eaccelerator, yet it was compiled in Apache (along with Zend Accelerator).

I'm using Cpanel / Centos / PHP 5.

My vbconfig:

// ****** DATASTORE CACHE CONFIGURATION *****
// Here you can configure different methods for caching datastore items.
// vB_Datastore_Filecache - to use includes/datastore/datastore_cache.php
// vB_Datastore_APC - to use APC
// vB_Datastore_XCache - to use XCache
// vB_Datastore_Memcached - to use a Memcache server, more configuration below
// $config['Datastore']['class'] = 'vB_Datastore_Filecache';

// ******** DATASTORE PREFIX ******
// If you are using a PHP Caching system (APC, XCache, eAccelerator) with more
// than one set of forums installed on your host, you *may* need to use a prefix
// so that they do not try to use the same variable within the cache.
// This works in a similar manner to the database table prefix.
// $config['Datastore']['prefix'] = '';

// It is also necessary to specify the hostname or IP address and the port the server is listening on
/*
$config['Datastore']['class'] = 'vB_Datastore_Memcached';
$i = 0;
// First Server
$i++;
$config['Misc']['memcacheserver'][$i] = '127.0.0.1';
$config['Misc']['memcacheport'][$i] = 11211;
$config['Misc']['memcachepersistent'][$i] = true;
$config['Misc']['memcacheweight'][$i] = 1;
$config['Misc']['memcachetimeout'][$i] = 1;
$config['Misc']['memcacheretry_interval'][$i] = 15;
*/Eaccelerator settings in php.ini

[eAccelerator]
extension="eaccelerator.so"
eaccelerator.shm_size="256"
eaccelerator.cache_dir="/tmp/eaccelerator"
eaccelerator.enable="1"
eaccelerator.optimizer="1"
eaccelerator.check_mtime="1"
eaccelerator.debug="0"
eaccelerator.filter=""
eaccelerator.shm_max="0"
eaccelerator.shm_ttl="0"
eaccelerator.shm_prune_period="0"
eaccelerator.shm_only="0"
eaccelerator.compress="1"
eaccelerator.compress_level="9"

Thanks.

ezak
01-05-2009, 03:26 PM
thanks its nice mod and *installed*

but I want to know something
if I want to change the dir for ./vboptimise to other place out off public_html
for security reason as the folder is 0777

or make an option to set the dir for vboptimise cache as the attachment place

princeedward
01-05-2009, 04:59 PM
Did you have said softwares installed? In other words did you have Xcache installed when selecting XCache?...thanks for the reply bro...yeah it's my mistake...don't have XCache installed to my cpanel...i'm on a shared hosting only...can't have it on there...only if i get VPS...so what you think is the setup i must used on this one for my shared host?...

best regards...

:)

snakes1100
01-05-2009, 08:37 PM
I need a bit of help here please.

vB Optimise: You have selected a cache method that vB Optimise has detected you cannot use, this may be because the extension required is either not installed or active on your server.

I get that on both eaccelerator, yet it was compiled in Apache (along with Zend Accelerator).

I'm using Cpanel / Centos / PHP 5.

My vbconfig:

Thanks.

Did you check your phpinfo and make sure eaccelerator is actually loaded?

Chadi
01-05-2009, 09:41 PM
For sure I did. Eaccelerator is installed, loaded so is memcache/memcached.

root@server [~]# /usr/local/apache/bin/httpd -l
Compiled in modules:
core.c
mod_authn_file.c
mod_authn_default.c
mod_authz_host.c
mod_authz_groupfile.c
mod_authz_user.c
mod_authz_default.c
mod_auth_basic.c
mod_cache.c
mod_mem_cache.c
mod_include.c
mod_filter.c
mod_deflate.c
mod_log_config.c
mod_logio.c
mod_env.c
mod_expires.c
mod_headers.c
mod_unique_id.c
mod_setenvif.c
mod_proxy.c
mod_proxy_connect.c
mod_proxy_ftp.c
mod_proxy_http.c
mod_proxy_ajp.c
mod_proxy_balancer.c
mod_ssl.c
prefork.c
http_core.c
mod_mime.c
mod_status.c
mod_autoindex.c
mod_asis.c
mod_info.c
mod_suexec.c
mod_cgi.c
mod_negotiation.c
mod_dir.c
mod_actions.c
mod_userdir.c
mod_alias.c
mod_rewrite.c
mod_so.c


I get this if I enable memcache

Fatal error: Memcache is not installed in [path]/includes/class_datastore.php on line 186


// $config['Datastore']['class'] = 'vB_Datastore_Filecache';

// ******** DATASTORE PREFIX ******
// If you are using a PHP Caching system (APC, XCache, eAccelerator) with more
// than one set of forums installed on your host, you *may* need to use a prefix
// so that they do not try to use the same variable within the cache.
// This works in a similar manner to the database table prefix.
// $config['Datastore']['prefix'] = '';

// It is also necessary to specify the hostname or IP address and the port the server is listening on
/*
$config['Datastore']['class'] = 'vB_Datastore_Memcached';
$i = 0;
// First Server
$i++;
$config['Misc']['memcacheserver'][$i] = '127.0.0.1';
$config['Misc']['memcacheport'][$i] = 11211;
$config['Misc']['memcachepersistent'][$i] = true;
$config['Misc']['memcacheweight'][$i] = 1;
$config['Misc']['memcachetimeout'][$i] = 1;
$conf
I get the error if I uncomment the below and make it Memcached instead of Filecache

// $config['Datastore']['class'] = 'vB_Datastore_Filecache';

(line 141)


It has to be something with this mod because my modules are loaded and showing up in the outputs, phpinfo, processes.

KevinL
01-05-2009, 09:48 PM
/*
$config['Datastore']['class'] = 'vB_Datastore_Memcached';
$i = 0;
// First Server
$i++;
$config['Misc']['memcacheserver'][$i] = '127.0.0.1';
$config['Misc']['memcacheport'][$i] = 11211;
$config['Misc']['memcachepersistent'][$i] = true;
$config['Misc']['memcacheweight'][$i] = 1;
$config['Misc']['memcachetimeout'][$i] = 1;
$conf

You have to remove the /* and \* from the section above...

Chadi
01-05-2009, 09:52 PM
Thanks but still getting this error after uploading the config

Fatal error: Memcache is not installed in [path]/includes/class_datastore.php on line 186

With below config:

// $config['Datastore']['class'] = 'vB_Datastore_Filecache';

// ******** DATASTORE PREFIX ******
// If you are using a PHP Caching system (APC, XCache, eAccelerator) with more
// than one set of forums installed on your host, you *may* need to use a prefix
// so that they do not try to use the same variable within the cache.
// This works in a similar manner to the database table prefix.
// $config['Datastore']['prefix'] = '';

// It is also necessary to specify the hostname or IP address and the port the server is listening on

$config['Datastore']['class'] = 'vB_Datastore_Memcached';
$i = 0;
// First Server
$i++;
$config['Misc']['memcacheserver'][$i] = '127.0.0.1';
$config['Misc']['memcacheport'][$i] = 11211;
$config['Misc']['memcachepersistent'][$i] = true;
$config['Misc']['memcacheweight'][$i] = 1;
$config['Misc']['memcachetimeout'][$i] = 1;
$config['Misc']['memcacheretry_interval'][$i] = 15;

KevinL
01-05-2009, 09:59 PM
And you're sure your memcache server is running? and you uncommented the second \* after that section you just copied there?

Chadi
01-05-2009, 10:23 PM
Yes to both questions.

//$config['Datastore']['class'] = 'vB_Datastore_Memcached';

// ******** DATASTORE PREFIX ******
// If you are using a PHP Caching system (APC, XCache, eAccelerator) with more
// than one set of forums installed on your host, you *may* need to use a prefix
// so that they do not try to use the same variable within the cache.
// This works in a similar manner to the database table prefix.
// $config['Datastore']['prefix'] = '';

// It is also necessary to specify the hostname or IP address and the port the server is listening on

$config['Datastore']['class'] = 'vB_Datastore_Memcached';
$i = 0;
// First Server
$i++;
$config['Misc']['memcacheserver'][$i] = '127.0.0.1';
$config['Misc']['memcacheport'][$i] = 11211;
$config['Misc']['memcachepersistent'][$i] = true;
$config['Misc']['memcacheweight'][$i] = 1;
$config['Misc']['memcachetimeout'][$i] = 1;
$config['Misc']['memcacheretry_interval'][$i] = 15;

// ****** The following options are only needed in special cases ******

// ****** MySQLI OPTIONS *****


root@server [~]# ps aux | grep memcache
root 6140 0.0 0.0 5316 736 pts/0 S+ 18:22 0:00 grep memcache
nobody 27945 0.0 0.0 2896 836 ? Ss 16:06 0:00 /usr/local/bin/memcached -u nobody -d -m 2048 -l 127.0.0.1 -p 11211


root@server [~]# ps aux | grep memcached
root 6150 0.0 0.0 4156 736 pts/0 S+ 18:22 0:00 grep memcached
nobody 27945 0.0 0.0 2896 836 ? Ss 16:06 0:00 /usr/local/bin/memcached -u nobody -d -m 2048 -l 127.0.0.1 -p 11211

KevinL
01-06-2009, 12:26 AM
hmmm weird. The only other thing I can think of is...do you have memcache installed with memcached server? I'm sure you do...just a thought though.

These are two good write ups...

http://www.vbulletin.com/forum/showpost.php?p=1237714&postcount=39

http://pastebin.com/m695d4b5b

Chadi
01-06-2009, 12:55 AM
That vb.com guide is what I already used. I already pasted earlier the output to show memcached is running. I installed all 3: libevent, memcache, memcached and recompiled apache via Easy apache, restarted httpd before/after, etc.

root@server [~]# php -i | grep -i 'memcache'
OLDPWD => /root/memcache-3.0.2
_SERVER["OLDPWD"] => /root/memcache-3.0.2
_ENV["OLDPWD"] => /root/memcache-3.0.2


root@server [~]# ps aux | grep memcached
root 4823 0.0 0.0 5024 736 pts/0 S+ 20:55 0:00 grep memcached
nobody 27945 0.0 0.0 2896 836 ? Ss 16:06 0:00 /usr/local/bin/memcached -u nobody -d -m 2048 -l 127.0.0.1 -p 11211

Chadi
01-06-2009, 01:00 AM
Ok got it. I had to remove the entire path to memcache.so (from php.in file) and just leave it as memcache.so

I enabled memcache in the vboptimize module successfully.

However, two things:

noticed no speed difference
this monitoring tool shows no difference (even on refresh)
http://livebookmark.net/journal/2008/05/21/memcachephp-stats-like-apcphp/

KevinL
01-06-2009, 01:04 AM
That last one is all I had haha sorry. Wish I could do more. That really would have been what I thought it would have been when I looked at it again. It was saying that memcache is not installed....maybe ask your host to check it out for you and make sure?

KevinL
01-06-2009, 01:07 AM
In all honesty I have found that xcache seemed faster them memcache for this.

Chadi
01-06-2009, 01:14 AM
Xcache is not compatible with Zend Optimizer (even confirmed by Cpanel level III analyst the other day).

Memcache is working now, but I'm wondering what does the graph mean by "misses"?

What's a good method of testing the results before and after?

I tried using eaccelerator, but I get the same error that its not active or installed, meanwhile it is compiled
and outputted in php -m

PS: thanks for the help

KevinL
01-06-2009, 01:24 AM
Thats old...xcache works fine with zend now. I have it running just fine ;)

Also misses are fine..you want to keep an eye out for OOMs (out of memory) :)

No worries any time.

BeoRski
01-06-2009, 04:50 PM
chadi, you need to compile eaccelerator with the "--with-eaccelerator-shared-memory" option.

Chadi
01-06-2009, 05:08 PM
Yes, I had done that based on below steps suggested by cpanel tech:

1) cd /var/cpanel/easy/apache/rawopts
2) touch all_suphp
3) nano -w all_suphp ( considering you are running SuPHP )
4) Within the file add per line the following:
--enable-eaccelerator=shared
--with-eaccelerator-shared-memory
--with-php-config=$PHP_PREFIX/bin/php-config

Likewise if you were only running DSO/CGI within PHP5 steps 2-4 would be repeated after touching and editing the file all_php5.

This would be all that would need to be in place so that Easy Apache would add the configured flags to your PHP build.

Recompiled and still does not work (although eaccelerator shows up in php otherwise, but the vb mod here is not picking it up)

msu2k
01-06-2009, 08:35 PM
I'm having an issue where some users are reporting that the CSS isn't loading for them in various styles sporadically since I installed this mod. I'm using XCache and have tried clearing the cache several times. I'm unable to replicate this issue myself unfortunately and can't pin it down to a specific browser.

Any suggestions?

BeoRski
01-06-2009, 08:53 PM
chadi, I guess Memcache will have to do for you right now...

msu2k, it doesn't cache CSS files. Have you tried moving your CSS to the filesystem (if you haven't done so yet)?

msu2k
01-07-2009, 01:29 AM
msu2k, it doesn't cache CSS files. Have you tried moving your CSS to the filesystem (if you haven't done so yet)?
Yes, the CSS files have been moved to the filesystem. Pages seem to be loading for people without any CSS files, then appear normal later. I can't seem to figure it out.

briansol
01-07-2009, 02:37 AM
i'm using eaccelerator only (xcache just doesn't like my server.... ) no memcache, or anything else.
php 5.2.6, mysql 5.0.65-com

before:

vBulletin 3.7.2 Debug Information

* Page Generation 0.02674 seconds
* Memory Usage 4,640KB
* Queries Executed 9 (?)



After:

(1st load (obviously there is no cache yet...))

vBulletin 3.7.2 Debug Information

* Page Generation 0.52209 seconds
* Memory Usage 4,865KB
* Queries Executed 9 (?)



(2nd load)

vBulletin 3.7.2 Debug Information

* Page Generation 0.02992 seconds
* Memory Usage 4,865KB
* Queries Executed 7 (?)




the 2 query drop is nice, but it doesn't seem to have any effect on total performance

:shrug:

briansol
01-07-2009, 04:19 AM
WOL cache messes up display of bots with this mod:

bots should show last

Almotmaiz.Net
01-07-2009, 08:02 AM
I cant Say .. Just Well Done !

Installed and voted in MOTM !

doraj
01-07-2009, 12:41 PM
Hello Briansol,

same problem for me! It reduces my query but it doesn't seem to have any effect on total performance...is very strange.
I think perhaps it can depend from vbulletin's version (I use 3.7.3) or server's configuration?

Betwenn few time I must update vB to 3.8 and after I want see if there are other effect on performance..

Chadi
01-07-2009, 01:10 PM
I show that the eaccelerator shared memory configure command executed the options during apache recompile.


Configure Command './configure' '--enable-bcmath' '--enable-calendar' *****'--enable-eaccelerator=shared' '--enable-exif' '--enable-fastcgi' '--enable-ftp' '--enable-gd-native-ttf' '--enable-libxml' '--enable-magic-quotes' '--enable-mbstring' '--enable-pdo=shared' '--enable-sockets' '--enable-zip' '--prefix=/usr/local' '--with-apxs2=/usr/local/apache/bin/apxs' '--with-curl=/opt/curlssl/' '--with-curlwrappers' *****'--with-eaccelerator-shared-memory' '--with-freetype-dir=/usr' '--with-gd' '--with-imap=/opt/php_with_imap_client/' '--with-imap-ssl=/opt/openssl' '--with-jpeg-dir=/usr' '--with-kerberos' '--with-libexpat-dir=/usr' '--with-libxml-dir=/opt/xml2/' '--with-mcrypt=/opt/libmcrypt/' '--with-mysql=/usr' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-mysqli=/usr/bin/mysql_config' '--with-pdo-mysql=shared' '--with-pdo-sqlite=shared' *****'--with-php-config=$PHP_PREFIX/bin/php-config' '--with-png-dir=/usr' '--with-sqlite=shared' '--with-ttf' '--with-xmlrpc' '--with-xpm-dir=/usr/X11R6' '--with-xsl=/opt/xslt/' '--with-zlib' '--with-zlib-dir=/usr'
--


Is anyone else having issues with eaccelerator?

MrApples
01-07-2009, 02:36 PM
This mod tampers with the installation of styles and products, and also the "save display order" of styles.

briansol
01-07-2009, 04:28 PM
Is anyone else having issues with eaccelerator?

chad, do you have the two get/put options enabled? they are off by default in eaccelerator

http://eaccelerator.net/ticket/37

msu2k
01-07-2009, 04:34 PM
Is there any reason that this mod would have issues with VB installations that span multiple servers? We have three load balanced servers and a DB server and I'm wondering if that might be causing issues with the cache not flushing, etc.

msu2k
01-07-2009, 07:34 PM
I just noticed this in a thread on vbulletin.com. The original poster in that thread was having problems with styles similar to the ones I was having. Looks like I'm going to have to do the same.

Wayne Luke
vBulletin Team

Remove vBOptimize. It caches things that vBulletin hasn't been designed to cache and can cause problems like this.


Thread:
http://www.vbulletin.com/forum/showthread.php?t=295707

tekguru
01-07-2009, 08:18 PM
A great pity, just installed it and it was working well!

KevinL
01-07-2009, 08:52 PM
I think it has been mentioned in this thread many times. You have to clear the cache THEN install plugins or new styles and everything works fine. ;)

Magnumutz
01-07-2009, 09:07 PM
Question: Will this mod work with YSLOW (https://vborg.vbsupport.ru/showthread.php?t=178286)?

briansol
01-07-2009, 11:24 PM
vb's answer to everything is to put your board back to 100% stock. i wouldn't go there for help if you have one mod or template change because they won't even bother helping you anyway.

But yes, as kevin mentioned, I found it easiest to disable the plugin, do whatever i gotta do, clear out my eaccelerator cache, re-enable the plugin.

MrApples
01-08-2009, 12:35 AM
The mod simply needs to shut itself down during any administrative actions like installing a plugin or editing a theme.

NolF
01-08-2009, 07:06 AM
@ MrApples
I had problems with those activities until I added xcache.admin.enable_auth = Off. After that all those activities went smoothly (don't forget to restart httpd)

Martell
01-09-2009, 05:10 AM
Error:

Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /xxx/xxx/xxx/docs/includes/class_activecache.php on line 20

class_activecache.php on line 20 => static $class = __CLASS__; :confused:

msu2k
01-09-2009, 01:22 PM
The issue I was having with this mod was with using XCache over multiple servers. I have a four server cluster and the cache was not be flushed properly by this mod over all four servers.

I was advised to use memcache instead:

xcache datastore is for use where database is on same server as xcache. On multi-web server setup use memcached for datastore

msu2k
01-09-2009, 07:08 PM
Ok, I now have memcache installed on our cluster.

vBulletin's config.php is using memcache
vBSEO is using memcache

Do I have to use memcache for vB Optimise? After enabling it for vB Optimise it seems a little slower than the File Cache. Any reason I can't just stick with the File Cache even though I am using memcache on the other two?

goyo
01-09-2009, 07:29 PM
The mod simply needs to shut itself down during any administrative actions like installing a plugin or editing a theme.

In my opinion it's not that simple.

I have experienced xcache "problems" (not obvious at first because xcache caching and no error logs) on several servers with fastcgi php and/or suphp (irregardless of vboptimise).

The xcache garbage collection somehow works differently on those servers...so I'm not sure at all that you have a vboptimise specific problem.

cafenetland
01-09-2009, 10:56 PM
installed.

thx

shlomot
01-10-2009, 04:27 AM
Hello,

My picture viewing via LightBox has gone bad. When clicking (or hovering) a picture - the screen region that should have been the LightBox's frame goes Grey but no frame opens up.

There are three changes to my community settings since it stop functioning properly that may have been relevant to the problem. I wonder if you can help me to pinpoint the actual cause:

1. Upgrades from vb3.8 RC1 to RC2 (now it's Gold and the problem persists).

2. Upgraded vB Optimized to 1.2 (now it's 1.3.2 and the problem persists).

3. Changed attachment storage from database to file storage following vB Optimize recommendation and the ever-growing number of attachments.

Thanks for any help, tip or trick.

tteal
01-10-2009, 04:06 PM
Error:

Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /xxx/xxx/xxx/docs/includes/class_activecache.php on line 20

class_activecache.php on line 20 => static $class = __CLASS__; :confused:

I just installed this mod and have the same exact error. How did you fix it?

tteal
01-10-2009, 04:38 PM
Currently my board is completely down due to this mod and I'm getting the following error:

Parse error: parse error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/content/xxxx/forum/includes/class_activecache.php on line 20

Any help/support would be greatly appreciated.

Thank you.

rinkrat
01-10-2009, 04:50 PM
Me too!! HELP!!

rinkrat
01-10-2009, 05:00 PM
QUICK FIX

Add this to your config.php

define('DISABLE_HOOKS', 1);

This will turn off all of your mods.

Go into admin and uninstall this mod.

return your original config.php

tteal
01-10-2009, 05:25 PM
I can't get to my admin section to delete / uninstall this mod. Can someone please help me?

thanks.

tteal
01-10-2009, 05:29 PM
QUICK FIX

Add this to your config.php

define('DISABLE_HOOKS', 1);

This will turn off all of your mods.

Go into admin and uninstall this mod.

return your original config.php

Thank you so very much. I disabled/uninstalled this mod with your help!

Appreciate the quick help!

Adem GEN?
01-10-2009, 08:44 PM
Thanks, Installed

Turkish Language files
Türkçe dil dosyası, mevcut Türkçe dosyanızın üstüne yazın
(Çeviri devam edecek)

anestetic
01-11-2009, 11:11 AM
bende burdaki hatayı verdi ama sebebını anlayamadım

https://vborg.vbsupport.ru/showpost.php?p=1707443&postcount=629

CORSO
01-11-2009, 09:50 PM
I have installed VB Optimise using File Cache and since there all the threads with more than one page only show the last page, all the other ones show a white page

I am using vB 3.8.0 running on apache 5.2.8

some help?

logicuk
01-11-2009, 10:37 PM
<font size="3">any updates coming soon Deceptor?</font>

Jaxel
01-12-2009, 04:27 PM
How does this mod work with this one?:
https://vborg.vbsupport.ru/showthread.php?t=178286

Will there be issues? Is there any reason I would want both? Or is one good enough?

ssslippy
01-13-2009, 01:53 AM
Yslow does nothing this does. I recomend using both.

Hannan
01-13-2009, 05:51 AM
Thanks, It's really awesome mod!

tmc
01-13-2009, 12:34 PM
Breaks the Notices system... I get blank notices. A manual flush seems to help, but should it really be necessary to flush every single time something is changed?

MV Blackie
01-13-2009, 02:05 PM
I receive this error

Fatal error: Call to undefined method vb_activecache::flush() in /usr/home/deb9981n2/domains/motovrienden.be/public_html/forum/includes/adminfunctions_options.php(490) : eval()'d code on line 8

when I flus cache

MV Blackie
01-13-2009, 02:22 PM
and also this error when installing other mods :

Fatal error: Call to undefined method vb_activecache::flush()
in /usr/home/deb9981n2/domains/motovrienden.be/public_html/forum/includes/adminfunctions_template.php(2359) : eval()'d code on line 6

even after uninstalling the optimise mod

MissKalunji
01-13-2009, 05:15 PM
does this cache vbgallery too? just wondering (not asking for compatiblity either)

pein87
01-14-2009, 12:44 AM
He Deceptor I installed your mod on my forum but all I get is blank pages? I did a test on my home server and it works but my hosts server for some reason is not showing my site after i added your mod. Can you help me out? My domain is http://www.anime-dreamz.com but my forum is http://www.anime-dreamz.com/forum/index.php. I cant even use the admincp either to try and fix it and my host has a limit on how many bites i can add when I import my backup making it impossible to do so.

KevinL
01-14-2009, 02:40 AM
does this cache vbgallery too? just wondering (not asking for compatiblity either)

He was going to work on that...

He Deceptor I installed your mod on my forum but all I get is blank pages? I did a test on my home server and it works but my hosts server for some reason is not showing my site after i added your mod. Can you help me out? My domain is http://www.anime-dreamz.com but my forum is http://www.anime-dreamz.com/forum/index.php. I cant even use the admincp either to try and fix it and my host has a limit on how many bites i can add when I import my backup making it impossible to do so.

Do this...

QUICK FIX

Add this to your config.php

define('DISABLE_HOOKS', 1);

This will turn off all of your mods.

Go into admin and uninstall this mod.

return your original config.php

Then uninstall the mod.

Doomday
01-14-2009, 05:28 PM
Installed on vb 3.7.5 works just great my forum is working at least 100% more faster

pein87
01-14-2009, 05:30 PM
thanks kevin you saved my forum dirty host didnt allows php 5 on there how stupid can they be

tpearl5
01-14-2009, 06:42 PM
If anyone is wondering why your notices aren't showing up correctly - flush your cache I think there's a small bug when you have more than one notice with different criteria - I haven't pinned it down yet.

neto614
01-14-2009, 09:21 PM
im getting this message

Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /hermes/bosweb/web190/b1906/ipw.sirius1/public_html/includes/class_activecache.php on line 20

how can i fix it

Brandon Sheley
01-15-2009, 05:32 PM
im getting this message

Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /hermes/bosweb/web190/b1906/ipw.sirius1/public_html/includes/class_activecache.php on line 20


how can i fix it

yeah!
I decided to try this on a clients site and I get this big old nasty error too..

Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/******/forum/includes/class_activecache.php on line 20


* Brandon Sheley adds define('DISABLE_HOOKS', true);

gamerscms
01-15-2009, 05:49 PM
im getting this message

Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /hermes/bosweb/web190/b1906/ipw.sirius1/public_html/includes/class_activecache.php on line 20


how can i fix it

Im also getting this error any ideas how to fix this?

thanks

neto614
01-15-2009, 06:33 PM
in your config php add this

define('DISABLE_HOOKS', true);

this fixxed it for me than uninstall the mod ]


it should look like this


ini_set('display_errors', true);
define('DISABLE_HOOKS', 1); <--------add it here


// ****** DATABASE TYPE ******
// This is the type of the database server on which your vBulletin database will be located.
// Valid options are mysql and mysqli, for slave support add _slave. Try to use xxxx if you are using PHP 5 and MySQL 4.1+
// for slave options just append _slave to your preferred database type.


and thank you for all your help for helping me out ....:D

gamerscms
01-15-2009, 06:55 PM
Thanks for the help do you mean the main vb config file?

I cant find ini_set('display_errors', true); in my config file

gamerscms
01-15-2009, 07:10 PM
All fixed up now, thanks again for your help.

Brandon Sheley
01-15-2009, 09:18 PM
I just added it after the first line. :)
<php?

in your config php add this

define('DISABLE_HOOKS', true);

this fixxed it for me than uninstall the mod ]


it should look like this


ini_set('display_errors', true);
define('DISABLE_HOOKS', 1); <--------add it here


// ****** DATABASE TYPE ******
// This is the type of the database server on which your vBulletin database will be located.
// Valid options are mysql and mysqli, for slave support add _slave. Try to use xxxx if you are using PHP 5 and MySQL 4.1+
// for slave options just append _slave to your preferred database type.


and thank you for all your help for helping me out ....:D

psychotica
01-15-2009, 09:51 PM
I use xCache as database store on the config.php, and for vBSEO i want to know if there aren't problems if i run this with the XCache Cache method?, thanks.

deadlySniper
01-16-2009, 04:35 AM
OK, I did upload everything in the right areas in the FTP. But after I uploaded the XML file VIA the ACP I got this error

Failed opening required '/home/content/p/s/e/pseudosnoecks/html/TestForums/includes/class_activecache.php' (include_path='.:/usr/local/lib/php') in /home/content/p/s/e/pseudosnoecks/html/TestForums/includes/init.php(298) : eval()'d code on line 12. Its a good thing that I was test 3.8.x in a test forum area and not on my real site.

shaqoneal
01-16-2009, 03:05 PM
this looks pretty sweet! thanks!

globalmoney
01-17-2009, 01:26 AM
Has Tried in adjustment, choose instead of File Cache, eAccelerator, in an effort save adjustment, get the following message:


vB Optimise: You have selected a cache method that vB Optimise has detected you cannot use, this may be because the extension required is either not installed or active on your server.


В than can be a problem?

munnakv
01-17-2009, 06:54 AM
Installed. Thanks :)

lifanovsky
01-17-2009, 10:11 AM
Installed. Took me seconds. Working fine. Thank you very much!

Jaxel
01-17-2009, 01:29 PM
This mod is screwing with my skins... For some reason, the "Go to first new post" and "Go to last post" icons are only calling from my default skin. I use the non-default skin on my forum; but its calling those icons from the wrong skin, and it looks out of place. This is in vBadvanced.

satlazone
01-17-2009, 03:44 PM
I use xCache as database store on the config.php, and for vBSEO i want to know if there aren't problems if i run this with the XCache Cache method?, thanks.
im asking the same question
any respone?

KevinL
01-17-2009, 03:48 PM
im asking the same question
any respone?

No problems

princeedward
01-18-2009, 07:25 AM
currently disabled this to my site...coz' it make my currently active members comma disappear...pls view attachment HERE (https://vborg.vbsupport.ru/showthread.php?t=202159)

Watch Yours Guys!

do we have any possible solution here?

:(

bjhuang
01-18-2009, 10:43 AM
did anyone try with APC? it refused to flush cache anyway unless restarting the web server.

Chelf12
01-18-2009, 04:41 PM
I tried this, and it messed up the Infraction Manager. Any solution to this?

It removed the name of any custom added infractions.

Deriel
01-19-2009, 08:43 AM
I had to uninstall it. Problems with Notices (user side) and with another Security Mod that I use to detect multiple registers.

There is another thing: the number of queries was reduced, but the performance was the same, using xCache ou Memcache.

tmc
01-19-2009, 10:08 PM
Yeah, I strongly recommend anyone to NOT install this.. It ended up breaking too many things. Notices, the ACP was screwy and even unusable (with ACP caching turned OFF), and it actually INCREASED server load while it was on because PHP or PHP as FastCGI take up more CPU to serve the massive amount of templates and phrases than MySQL does. There were blank automated threads and PMs from some of my modifications, and I can't even remember what else went wrong....

So I certainly don't recommend using a PHP cache or File Caching with this (still parses through PHP) as PHP has a hard enough time running vB on busy boards.

I may try Memcache soon on a live site, though, but it seemed slightly slower in testing. But I think it may bypass the high CPU issue with using PHP accelerators.. And I'd only use it if the ACP could actually start working again, and I wouldn't be receiving the dozen other errors I had from it.

It's kind of sad, actually, that this is being so blindly voted for in MOTM. Most of the voters don't even need it, or know how it works. Whereas I am a programmer myself and administer all my own servers and can see the havoc this wreaked in the limited time I allowed it to run on a live site.

Jaxel
01-19-2009, 10:48 PM
I cant properly uninstall this mod... it hangs at the "Updating style information for each style" while uninstalling.

neto614
01-19-2009, 11:18 PM
I Agree with him ( DO NOT INSTALL )

Yeah, I strongly recommend anyone to NOT install this.. It ended up breaking too many things. Notices, the ACP was screwy and even unusable (with ACP caching turned OFF), and it actually INCREASED server load while it was on because PHP or PHP as FastCGI take up more CPU to serve the massive amount of templates and phrases than MySQL does. There were blank automated threads and PMs from some of my modifications, and I can't even remember what else went wrong....

So I certainly don't recommend using a PHP cache or File Caching with this (still parses through PHP) as PHP has a hard enough time running vB on busy boards.

I may try Memcache soon on a live site, though, but it seemed slightly slower in testing. But I think it may bypass the high CPU issue with using PHP accelerators.. And I'd only use it if the ACP could actually start working again, and I wouldn't be receiving the dozen other errors I had from it.

It's kind of sad, actually, that this is being so blindly voted for in MOTM. Most of the voters don't even need it, or know how it works. Whereas I am a programmer myself and administer all my own servers and can see the havoc this wreaked in the limited time I allowed it to run on a live site.

Jaxel
01-19-2009, 11:24 PM
I was using XCache with this mod... but I saw ZERO performance increase (I think load actually went up)... Not to mention, it screwed with my skins and started mixing images from one skin, with another skin. So now I've uninstalled this, as I feel its a waste of time. The server load got so high that it actually took my website down until I restarted the server.

BamaStangGuy
01-20-2009, 04:39 AM
Yeah, I strongly recommend anyone to NOT install this.. It ended up breaking too many things. Notices, the ACP was screwy and even unusable (with ACP caching turned OFF), and it actually INCREASED server load while it was on because PHP or PHP as FastCGI take up more CPU to serve the massive amount of templates and phrases than MySQL does. There were blank automated threads and PMs from some of my modifications, and I can't even remember what else went wrong....

So I certainly don't recommend using a PHP cache or File Caching with this (still parses through PHP) as PHP has a hard enough time running vB on busy boards.

I may try Memcache soon on a live site, though, but it seemed slightly slower in testing. But I think it may bypass the high CPU issue with using PHP accelerators.. And I'd only use it if the ACP could actually start working again, and I wouldn't be receiving the dozen other errors I had from it.

It's kind of sad, actually, that this is being so blindly voted for in MOTM. Most of the voters don't even need it, or know how it works. Whereas I am a programmer myself and administer all my own servers and can see the havoc this wreaked in the limited time I allowed it to run on a live site.
Its working perfectly fine for me. No one is blindly voting it MotM. You won't notice a difference or you will notice an increase in load if your server is already overloaded because of PHP/Apache is working harder than MySQL. This mod takes the load OFF OF MYSQL and puts the templates either in memory or in a file. So, obviously, if MySQL isn't your weak spot and you install this you won't notice a difference.

tmc
01-20-2009, 07:54 AM
@Bama

Sorry but we're both using the same modification last I checked, and there are more people with the SAME problems, than just you with "no problems".

I even turned the ACP cache option OFF but try the following:

Managing notices
Managing styles/templates
Managing plugins
Using ANY modification that uses phrases and custom templates.

And you'll see that you simply won't be able to. But please, since you know so much, enlighten me.

You will not be able to:

See notices
Save styles or templates
Save plugins, install new plugins, or uninstall plugins
See automated messages from custom modifications (in my experience) but who KNOWS what else is broken when you use custom modifications with this mod.

---

Customer service at vB dot com have even urged people to uninstall this mod, so I can't see why it's still up for MOTM anyway. It causes instability and in some cases completely breaks forums.

I'll stick to my assertion that people are blindly voting this for MOTM, unless you can prove to me that all 133 of them have some inside information that I don't. But I gather it's only because "Optimize" is in the title.

But please, fill me in if there's some magical way you're keeping this modification from breaking your forum. I've looked through the code and it's fantastically coded, but vBulletin just wasn't meant to be caching this information.

Here's a simple test: Write a small plugin that automatically posts to a forum, whenever ______ happens on your board. Have it private message you as well. It's quite easy to code for, but you're going to get BLANK subjects and BLANK messages with this mod. (Make it phrased and templated like most mods).

I can't somehow make it "Flush Cache" everytime it needs to do so on my boards. Since that has been the "Go-to" answer everytime someone has a problem.

You won't notice a difference or you will notice an increase in load if your server is already overloaded because of PHP/Apache is working harder than MySQL. This mod takes the load OFF OF MYSQL and puts the templates either in memory or in a file. So, obviously, if MySQL isn't your weak spot and you install this you won't notice a difference.

As far as I'm concerned, MySQL is everybody's weak spot. I'm not even using Apache, but php-cgi takes up a huge amount of CPU time. It's already doing all the parsing, and serving a huge amount of data through Xcache's opcode cache, and 10x more from the Var cache (datastore), so why on earth would anybody want to try to fit more data through Xcache? I think PHP took up nearly 2x as much CPU time with this mod installed. And with this mod on/off, there was absolutely ZERO change in MySQL throughput.

Maybe I'm wrong, but I'm fairly sure if you've let MySQL cache queries it's saving every SINGLE template and every single phrase as a result, since those tables almost never change. Meaning, MySQL actually is not bothered whatsoever by the phrase and template queries, and this mod is therefore useless.

---

Anyway, I'm just trying to warn people that the word "Optimize" sounds awful nice, but if you already have MySQL optimized you're only harming yourself by installing this. Both in the sense that it breaks most things about your forum while increasing load.

And certainly check all your modifications if you're using this. Most likely at least one of them will no longer work.

KevinL
01-20-2009, 11:40 AM
I have this working on my board just fine. Not one single problem you have listed above.

tpearl5
01-20-2009, 12:37 PM
tmc, this is working wonderfully for me with memcache - How many servers are you running?

See my post here: https://vborg.vbsupport.ru/showpost.php?p=1691195&postcount=398

nascartr
01-20-2009, 02:53 PM
I'm using File Cache and can save templates just fine. No other issues either unless I change phrases and then I can either wait for them to be recached or flush the cache myself. I have actually never had an issue with the ACP from the beginning.

TheComputerGuy
01-20-2009, 02:56 PM
It's working fine with memcache as well.

mindhunter77
01-20-2009, 05:59 PM
Why does this happen to me all the time, ?

I turn on template chche and my forum loses all css styling or something,

peek at the screenshot.

monster64
01-20-2009, 07:16 PM
Running this mod actually made my forum run slightly slower. I assume this is because I was using the file cache system and not a memory based one. Does anyone happen to know what enabling one of the accelerators directly in config.php does?

Swiss_Tony
01-20-2009, 07:35 PM
I thought this would be a great tool. Downloaded it and installed it as per the read me
Logged in as admin into our admincp, selected the xml file and this is what I know get !!!

http://img.photobucket.com/albums/0903/cdodsworth/Scooby/Picture3.png


The whole forum is ++++ed !!
Cant log into the admincp, have not got a clue what has happened. Help someone please

GreasySpoon
01-20-2009, 07:38 PM
Tried to reupload the files?

Swiss_Tony
01-20-2009, 08:09 PM
Tried to reupload the files?

Are you saying that if I try and upload the files from vb optimise, that may fix it ?

MissKalunji
01-20-2009, 09:03 PM
Yes that happens won't CHMOD or you uploaded files in the WRONG folder or not at all (that's what it's telling you that the cache file is missing)

Do you have a cache installed on your server?

Did you have time to set anything in vb optimise?

if all fails : just do the edit in your config.php to turn off all plugins and you'll have access to your site again

GreasySpoon
01-20-2009, 09:09 PM
Are you saying that if I try and upload the files from vb optimise, that may fix it ?

Yes, thats what i am saying. I think you have uploaded the files in the wrong folder.

Swiss_Tony
01-20-2009, 09:16 PM
Yes that happens won't CHMOD or you uploaded files in the WRONG folder or not at all (that's what it's telling you that the cache file is missing)

Do you have a cache installed on your server?

Did you have time to set anything in vb optimise?

if all fails : just do the edit in your config.php to turn off all plugins and you'll have access to your site again

Maybe I did upload them in the wrong directory..christ schoolboy error :(
No I did not have any time or option to do anything remotely to do with vb optimise. It just went like that the minute I ran the xml file.
Have tried to do the whole 3.8.0 upgrade again and still nothing

regarding the config.php. How do I edit that file so it turns off all the plug ins. Do Need to upload that config.php file ?
Sorry for the numptie questions here

MissKalunji
01-20-2009, 09:29 PM
Maybe I did upload them in the wrong directory..christ schoolboy error :(
No I did not have any time or option to do anything remotely to do with vb optimise. It just went like that the minute I ran the xml file.
Have tried to do the whole 3.8.0 upgrade again and still nothing

regarding the config.php. How do I edit that file so it turns off all the plug ins. Do Need to upload that config.php file ?
Sorry for the numptie questions here

Try reuploading that should fix it...that's what it's saying it's missing it's file in that directory

Swiss_Tony
01-20-2009, 09:36 PM
Try reuploading that should fix it...that's what it's saying it's missing it's file in that directory

Okay so to confirm
In the vboptimise upload folder there are these files

http://img.photobucket.com/albums/0903/cdodsworth/Scooby/Picture4.png


And this is a snapshot of the forum in the ftp software

http://img.photobucket.com/albums/0903/cdodsworth/Scooby/Picture5.png

So do I upload the whole lot into the forum directory ?
If so does that not replace the admincp folder which in vboptimise has only one file whilst the proper forum software has tons of files ?
Or do I just upload the individual files into the right folders ?

MissKalunji
01-20-2009, 09:39 PM
you can upload the folders itself (the whole thing)

example : include image itself etc etc it won't overwrite the folder it will just UPLOAD the file and not delete nothing

Swiss_Tony
01-20-2009, 09:43 PM
you can upload the folders itself (the whole thing)

example : include image itself etc etc it won't overwrite the folder it will just UPLOAD the file and not delete nothing

okay so Uploading the admincp folder does not overwrite the original admincp folder then ??

MissKalunji
01-20-2009, 09:44 PM
No it won't rest assure :)

Swiss_Tony
01-20-2009, 09:44 PM
No it won't rest assure :)

Okay here goes nothing :)

Swiss_Tony
01-20-2009, 09:47 PM
It worked !!!

That was a close call, I thought I might have to finish off this bottle of vodka sitting next to me :)

Cant thank you enough. now I must stop messing around with this forum :)

MissKalunji
01-20-2009, 09:50 PM
lol no problem

and no don't stop :-p that's how you learn

2 rules

- always back up
- if you mess up with a plugin you can turn it off from config.php

Nadeemjp
01-20-2009, 10:40 PM
marked installed:)

kollam003
01-21-2009, 03:41 AM
Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/*****/*****/***/forum/includes/class_activecache.php on line 20.

The forum stopped working and giving this error what to do?

kollam003
01-21-2009, 03:49 AM
Oh..........solved ................. Uninstalled

BamaStangGuy
01-21-2009, 05:54 AM
@Bama

Sorry but we're both using the same modification last I checked, and there are more people with the SAME problems, than just you with "no problems".

I even turned the ACP cache option OFF but try the following:

Managing notices
Managing styles/templates
Managing plugins
Using ANY modification that uses phrases and custom templates.

And you'll see that you simply won't be able to. But please, since you know so much, enlighten me.



I just did all that and have been doing that fine. But please, continue to be a smartass. It'll get you far.

You will not be able to:

See notices
Save styles or templates
Save plugins, install new plugins, or uninstall plugins
See automated messages from custom modifications (in my experience) but who KNOWS what else is broken when you use custom modifications with this mod.

---

and yet I can

Customer service at vB dot com have even urged people to uninstall this mod, so I can't see why it's still up for MOTM anyway. It causes instability and in some cases completely breaks forums.


Now there's a shocker. vb.com telling someone to uninstall a mod.

I'll stick to my assertion that people are blindly voting this for MOTM, unless you can prove to me that all 133 of them have some inside information that I don't. But I gather it's only because "Optimize" is in the title.

But please, fill me in if there's some magical way you're keeping this modification from breaking your forum. I've looked through the code and it's fantastically coded, but vBulletin just wasn't meant to be caching this information.

Here's a simple test: Write a small plugin that automatically posts to a forum, whenever ______ happens on your board. Have it private message you as well. It's quite easy to code for, but you're going to get BLANK subjects and BLANK messages with this mod. (Make it phrased and templated like most mods).

I can't somehow make it "Flush Cache" everytime it needs to do so on my boards. Since that has been the "Go-to" answer everytime someone has a problem.


and yet I don't!!!!!!!!


As far as I'm concerned, MySQL is everybody's weak spot. I'm not even using Apache, but php-cgi takes up a huge amount of CPU time. It's already doing all the parsing, and serving a huge amount of data through Xcache's opcode cache, and 10x more from the Var cache (datastore), so why on earth would anybody want to try to fit more data through Xcache? I think PHP took up nearly 2x as much CPU time with this mod installed. And with this mod on/off, there was absolutely ZERO change in MySQL throughput.

Oh this is interesting! You can't possibly be getting different results from us since you are using a completely different http server! Gee, if you took a survey of those 133 motm nominations I bet they all run some version of Apache.

Consider yourself filled in!

---

Anyway, I'm just trying to warn people that the word "Optimize" sounds awful nice, but if you already have MySQL optimized you're only harming yourself by installing this. Both in the sense that it breaks most things about your forum while increasing load.

And certainly check all your modifications if you're using this. Most likely at least one of them will no longer work.

and I'm just telling you that lighttpd isn't the standard here and issues you have can very well be related to your use of lighttpd and fast-cgi.

In the future, when you respond to me, lose the attitude. I was simply telling you what I thought it could be and I was in no way being disrespectful to you. I'd expect the same in return.

tmc
01-21-2009, 07:34 AM
I just did all that and have been doing that fine. But please, continue to be a smartass. It'll get you far.



and yet I can



Now there's a shocker. vb.com telling someone to uninstall a mod.



and yet I don't!!!!!!!!




Oh this is interesting! You can't possibly be getting different results from us since you are using a completely different http server! Gee, if you took a survey of those 133 motm nominations I bet they all run some version of Apache.

Consider yourself filled in!



and I'm just telling you that lighttpd isn't the standard here and issues you have can very well be related to your use of lighttpd and fast-cgi.

In the future, when you respond to me, lose the attitude. I was simply telling you what I thought it could be and I was in no way being disrespectful to you. I'd expect the same in return.
Sorry but it has also happened to another completely different server using APACHE.. And I'm not using lighttpd.

So how about YOU lose the attitude. I don't see attitude in my OP but I sure see it in yours.

But now that you've brought the 'tude, I'll gladly do the same.

bahattab
01-21-2009, 01:26 PM
Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/xxxxxxx/public_html/vb/includes/class_activecache.php on line 20

how to uninstall this hack or fix?

it dammeg my forum

thanks

nascartr
01-21-2009, 02:25 PM
Yeah, I strongly recommend anyone to NOT install this.. It ended up breaking too many things. Notices, the ACP was screwy and even unusable (with ACP caching turned OFF), and it actually INCREASED server load while it was on because PHP or PHP as FastCGI take up more CPU to serve the massive amount of templates and phrases than MySQL does. There were blank automated threads and PMs from some of my modifications, and I can't even remember what else went wrong....

So I certainly don't recommend using a PHP cache or File Caching with this (still parses through PHP) as PHP has a hard enough time running vB on busy boards.

I may try Memcache soon on a live site, though, but it seemed slightly slower in testing. But I think it may bypass the high CPU issue with using PHP accelerators.. And I'd only use it if the ACP could actually start working again, and I wouldn't be receiving the dozen other errors I had from it.

It's kind of sad, actually, that this is being so blindly voted for in MOTM. Most of the voters don't even need it, or know how it works. Whereas I am a programmer myself and administer all my own servers and can see the havoc this wreaked in the limited time I allowed it to run on a live site.

Blindly voted? The goal was to cut down on queries, this does exactly that or it did for my site. How did that cause me to blindly vote for MOTM? The mod did exactly as it promised. Before making accusations about how people vote consider that the mod did as promised on everyone elses site that voted as well.

MissKalunji
01-21-2009, 02:42 PM
Yeah, I strongly recommend anyone to NOT install this.. It ended up breaking too many things. Notices, the ACP was screwy and even unusable (with ACP caching turned OFF), and it actually INCREASED server load while it was on because PHP or PHP as FastCGI take up more CPU to serve the massive amount of templates and phrases than MySQL does. There were blank automated threads and PMs from some of my modifications, and I can't even remember what else went wrong....

So I certainly don't recommend using a PHP cache or File Caching with this (still parses through PHP) as PHP has a hard enough time running vB on busy boards.

I may try Memcache soon on a live site, though, but it seemed slightly slower in testing. But I think it may bypass the high CPU issue with using PHP accelerators.. And I'd only use it if the ACP could actually start working again, and I wouldn't be receiving the dozen other errors I had from it.

It's kind of sad, actually, that this is being so blindly voted for in MOTM. Most of the voters don't even need it, or know how it works. Whereas I am a programmer myself and administer all my own servers and can see the havoc this wreaked in the limited time I allowed it to run on a live site.

Uhm i don't know i've been using it for 3 weeks i believe with xcache and it's working smoothly my loads as dropped down half and it loads faster (per what other ppl have told me)



I Agree with him ( DO NOT INSTALL )

May i ask what's your reasons?

adhmwagde
01-21-2009, 02:54 PM
problem ...

Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in c:\appserv\www\vb\includes\class_activecache.php on line 20

thanks :)

MissKalunji
01-21-2009, 03:24 PM
uhm just asking i don't know exactly wha tmight have caused it

but one

1. which method of caching did you select?

BamaStangGuy
01-21-2009, 04:43 PM
Sorry but it has also happened to another completely different server using APACHE.. And I'm not using lighttpd.

So how about YOU lose the attitude. I don't see attitude in my OP but I sure see it in yours.

But now that you've brought the 'tude, I'll gladly do the same.


You aren't using Apache. That's the point. None of the crap you said was happening to you is happening to me or a bunch of others that are running this, including people that run this that aren't posting on here. There are a lot of people in this thread that don't enjoy having you imply that because it doesn't work for you then it obviously doesn't work for us, we are just too dumb to realize it. So lose that attitude.

I have over 12 products installed and not one of them breaks with this enabled. The only thing I have turned off is Cache Phrases and ACP caching.

BeoRski
01-21-2009, 04:58 PM
Well I'm running nginx + php-cgi and it's running perfectly fine. Same settings with BamaStangGuy (no cache phrases, and no acp cache).

MissKalunji
01-21-2009, 05:07 PM
same as both of you but with the ACP cache

bashy
01-21-2009, 05:11 PM
Just to add a bit more, i have 69 products installed and activate and about 90 installed
but disabled and this modification works 100% for me also :)

redlabour
01-21-2009, 08:05 PM
How does this mod work with this one?:
https://vborg.vbsupport.ru/showthread.php?t=178286

Will there be issues? Is there any reason I would want both? Or is one good enough?

Question: Will this mod work with YSLOW (https://vborg.vbsupport.ru/showthread.php?t=178286)?

Works great together!

pedroenf
01-21-2009, 09:55 PM
WOW. What a GREAT job. Saved me 2 querys in index (did not count other pages querys). Sure i'll vote this for MOTM.

Jorge Gomez
01-22-2009, 03:17 AM
hi, i need a problem

Fatal error: Call to undefined method vb_activecache::flush() in /home/foropai2/public_html/includes/adminfunctions_options.php(490) : eval()'d code on line 30

Trek
01-22-2009, 03:48 AM
Question, if I install this and have problems... How difficult is to to remove/turn it off, etc? I know, backup, etc... but I just want to know, can I turn it off and have things back to normal *IF* I have problems?

Jaxel
01-22-2009, 04:21 AM
You aren't using Apache. That's the point. None of the crap you said was happening to you is happening to me or a bunch of others that are running this, including people that run this that aren't posting on here. There are a lot of people in this thread that don't enjoy having you imply that because it doesn't work for you then it obviously doesn't work for us, we are just too dumb to realize it. So lose that attitude.

I have over 12 products installed and not one of them breaks with this enabled. The only thing I have turned off is Cache Phrases and ACP caching.
I had HUGE problems with this mod... and I am using apache... This mod tripled my server load, using xcache. And it was a pain in the ass to uninstall.

BamaStangGuy
01-22-2009, 05:45 AM
I had HUGE problems with this mod... and I am using apache... This mod tripled my server load, using xcache. And it was a pain in the ass to uninstall.
No where did I say no one had problems. With a modification like this it is going to depend vastly on your server setup, vbulletin version and any modifications you have installed.

With the Server setup in my signature this mod works fine. I have it installed on all of my websites as well. All sites run 3.8.

Nadeemjp
01-22-2009, 01:10 PM
hello there
i am in deep trouble.
i installed this hack and from vbulletin options, i checked the cache thing to yes and saved. that gave an error. I got scared and i immediately deleted the uploaded files and then uninstalled the product.

the moment i did that, i suffered an even bigger error:

Warning: require_once([path]/includes/class_activecache.php) [function.require-once]: failed to open stream: No such file or directory in [path]/includes/init.php(298) : eval()'d code on line 418

Fatal error: require_once() [function.require]: Failed opening required '/home/****/public_html/forums/includes/class_activecache.php' (include_path='.:/usr/local/php52/pear') in /home/****/public_html/forums/includes/init.php(298) : eval()'d code on line 418

now i cant acces the admincp the forum, anything.
only this error is displayed.

what do i do? i am really nervous right now.............

please help

KevinL
01-22-2009, 01:29 PM
hello there
i am in deep trouble.
i installed this hack and from vbulletin options, i checked the cache thing to yes and saved. that gave an error. I got scared and i immediately deleted the uploaded files and then uninstalled the product.

the moment i did that, i suffered an even bigger error:

Warning: require_once([path]/includes/class_activecache.php) [function.require-once]: failed to open stream: No such file or directory in [path]/includes/init.php(298) : eval()'d code on line 418

Fatal error: require_once() [function.require]: Failed opening required '/home/****/public_html/forums/includes/class_activecache.php' (include_path='.:/usr/local/php52/pear') in /home/****/public_html/forums/includes/init.php(298) : eval()'d code on line 418

now i cant acces the admincp the forum, anything.
only this error is displayed.

what do i do? i am really nervous right now.............

please help
Originally Posted by rinkrat View Post

QUICK FIX

Add this to your config.php

define('DISABLE_HOOKS', 1);

This will turn off all of your mods.

Go into admin and uninstall this mod.

return your original config.php

Then uninstall the mod.

You should really read through the entire thread...

redlabour
01-22-2009, 01:31 PM
eAccelerator is installed but vBOptimize still tells me it was not installed or activated.

Zend Engine v2.2.0
eAccelerator v0.9.5.3
PHP 5.2.6
MySQL-Version 5.0.72

dholt
01-22-2009, 01:41 PM
were is this config.php file

define('DISABLE_HOOKS', 1);

as I done the same stupid thing

KevinL
01-22-2009, 01:44 PM
The config.php is in your includes folder

Add that line after the first <?php

dholt
01-22-2009, 01:47 PM
Thanks as I found it, and as I should go back up and read some more

Nadeemjp
01-22-2009, 02:33 PM
Originally Posted by rinkrat View Post

QUICK FIX

Add this to your config.php

define('DISABLE_HOOKS', 1);

This will turn off all of your mods.

Go into admin and uninstall this mod.

return your original config.php

Then uninstall the mod.

You should really read through the entire thread...

dear kevin
i am sorry for not reading the whole thread.
but the problem is, i dont know what to do.
i uninstalled it before everything went bizzare.
once i disable the hooks, i dont see it in the product list.
how should i uninstall it can you please advice?:(

cykelmyggen
01-22-2009, 04:41 PM
I've installed this Mod and so far it's working OK, but I would like to enable the APC cache method.

I'm on a hosted server and has asked my webhost if this was enabled on server, which they confirmed.

However, when i click on the APC in vBoptimise my acp, I recieve this message:

"vB Optimise: You have selected a cache method that vB Optimise has detected you cannot use, this may be because the extension required is either not installed or active on your server."

I have enabled the APC in my config, with the line below

$config['Datastore']['class'] = 'vB_Datastore_APC';

Any help would be appreciated:confused:

KevinL
01-22-2009, 05:12 PM
For both of you I think you may have to have it recompiled with PHP....don't quote me on it though...

BamaStangGuy
01-22-2009, 08:19 PM
I lied. I have right at 30 products installed. Those things pile up fast.

abode
01-22-2009, 11:51 PM
my forum has 21000 users registered . also with ~13500 visits and about 1456 visitor per day
do vB Optimise 1.3.2 help in this without any mistakes or errors

Gino1012
01-23-2009, 03:30 AM
Thanks for destroying my site it didn't work and now my database is corrupt and my luck the db I have is also corrupt so thanks.

Edit sorry didnt read the few posts up
QUICK FIX

Add this to your config.php

define('DISABLE_HOOKS', 1);

This will turn off all of your mods.

Go into admin and uninstall this mod.

return your original config.php

Then uninstall the mod.

You should really read through the entire thread...

Thank god for him posting :)

BamaStangGuy
01-23-2009, 03:51 AM
Thanks for destroying my site it didn't work and now my database is corrupt and my luck the db I have is also corrupt so thanks.

Edit sorry didnt read the few posts up
QUICK FIX

Add this to your config.php

define('DISABLE_HOOKS', 1);

This will turn off all of your mods.

Go into admin and uninstall this mod.

return your original config.php

Then uninstall the mod.

You should really read through the entire thread...

Thank god for him posting :)
What version of PHP did you have?

cykelmyggen
01-23-2009, 07:06 AM
I've installed this Mod and so far it's working OK, but I would like to enable the APC cache method.

I'm on a hosted server and has asked my webhost if this was enabled on server, which they confirmed.

However, when i click on the APC in vBoptimise my acp, I recieve this message:

"vB Optimise: You have selected a cache method that vB Optimise has detected you cannot use, this may be because the extension required is either not installed or active on your server."

I have enabled the APC in my config, with the line below

$config['Datastore']['class'] = 'vB_Datastore_APC';

Any help would be appreciated:confused:
Problem solved ... webhost screwed the server-configs...fixed now, and running smooth :up:

kingvillain
01-23-2009, 08:11 AM
I am impressed, after configuring and activating this mod my forum is lightning fast, thanyou very much :D

TCB
01-23-2009, 08:22 AM
Would it be possible to add vboptimise function to the video directory remixed (https://vborg.vbsupport.ru/showthread.php?t=200819) mod ?

Vaupell
01-23-2009, 12:11 PM
hmm it wont update links etc after installed on vba.. :down:

take the lottery module as an eksample, enabled vbo 1.3.2 in it
and set the timer to 60, howewer ewen now more than 12 hours
after nochange to the module, ewen though i changede the module links.

---------------------------------------------------------

But on the up side :up:

This mod have improved loading speed from 5-10sec ish to 1-5sec and on
googlechrome browser instant ewen though it has never seen the page before.

Thank you :up: great for vbulletin, just have a few grrr on vba.. highly recomended mod!

djbaxter
01-24-2009, 05:27 PM
The recommended values for eaccelerator configuration (which, btw has worked for years without fail):


./configure \
--enable-eaccelerator=shared \
--with-php-config=$PHP_PREFIX/bin/php-config


Changes insisted by your code (and ONLY your code, btw):

./configure \
--enable-eaccelerator=shared \
--with-eaccelerator-shared-memory \
--with-php-config=$PHP_PREFIX/bin/php-config


Again, this should be done properly, so that individuals DON'T have to recompile and reconfigure eacc, especially when they can't.

Where exactly are these configuration options set or changed?

I'm having the same issue: eAccelerator is installed and working (as far as I know). phpinfo shows:

This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
with eAccelerator v0.9.5.3, Copyright (c) 2004-2006 eAccelerator, by eAccelerator
with the ionCube PHP Loader v3.1.33, Copyright (c) 2002-2007, by ionCube Ltd., and
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies

eAccelerator support enabled
Version 0.9.5.3
Caching Enabled true
Optimizer Enabled true
Memory Size 16,777,152 Bytes
Memory Available 936 Bytes
Memory Allocated 16,776,216 Bytes
Cached Scripts 110
Removed Scripts 0
Cached Keys 0

Directive Local Value Master Value
eaccelerator.allowed_admin_path no value no value
eaccelerator.cache_dir /tmp/eaccelerator /tmp/eaccelerator
eaccelerator.check_mtime 1 1
eaccelerator.compress 1 1
eaccelerator.compress_level 9 9
eaccelerator.debug 0 0
eaccelerator.enable 1 1
eaccelerator.filter no value no value
eaccelerator.log_file no value no value
eaccelerator.name_space no value no value
eaccelerator.optimizer 1 1
eaccelerator.shm_max 0 0
eaccelerator.shm_only 0 0
eaccelerator.shm_prune_period 0 0
eaccelerator.shm_size 16 16
eaccelerator.shm_ttl 0 0

TheGreatTK
01-25-2009, 03:14 AM
Holy crap, works with 3.7, and trimmed a frankly ridiculous amount of space off of my DB. Things do seem a wee bit snappier!

Installed and voted for MOTM - good luck :D

djbaxter
01-25-2009, 03:49 AM
Among other problems, when enabled it sent out emails from my forum from "-".

Nice idea but this clearly still needs some work.

KevinL
01-25-2009, 03:51 AM
You should really read the thread. If you don't cache the phrases the emails are fine.

djbaxter
01-25-2009, 04:12 AM
Among other problems, when enabled it sent out emails from my forum from "-".

Nice idea but this clearly still needs some work.

You should really read the thread. If you don't cache the phrases the emails are fine.

And you shouldn't make assumptions, especially when they're pathetically wrong. I have read all 50 pages of this thread. Did you miss the part above where I said "among other problems"? I mentioned the email one only because I don't recall seeing that specific one mentioned.

If you had read the thread, you would have seen a long list of fairly serious issues with this add-on and I encountered some of those. I've now uininstalled it but I'll keep an eye on future developments.

I'm not knocking the coder. I'm simply pointing out that this needs a lot of work before I could recommend it to anyone for a live installation.

KevinL
01-25-2009, 04:14 AM
I have read every page and haven't had an issue yet.

djbaxter
01-25-2009, 04:52 AM
I have read every page and haven't had an issue yet.

Well good for you. That's not a whole lot of comfort for those of us who've had problems with it, though, is it?

Deimos
01-25-2009, 07:12 PM
Installed and working fine here
Can't say I've noticed any difference mind you, heh
But I'm already using Memcache and APC anyways.

aircool52
01-26-2009, 02:29 AM
I did install this mod and my forum , and came out with a blank page , I reload all the same files from the original vbulletin version 3.8.0 and still the same , blank page , upgrade to version 3.8.2 and same blank page , do you have any idea how can i fix it ?

aircool52
01-26-2009, 03:16 AM
In place this in the config and star working the forum :
define('DISABLE_HOOKS', true);

but all the plug ins i have is not working now , do I need to reinstall?

KevinL
01-26-2009, 03:48 AM
No just uninstall this mod and then you can remove that line and your plugins will start working again.

aircool52
01-26-2009, 04:28 AM
No that eazy , I uninstall all the plug ins , and reinstalled again , but when I do install the product : vboptimizer , again , it fail.

Nadeemjp
01-26-2009, 04:29 AM
I am impressed, after configuring and activating this mod my forum is lightning fast, thanyou very much :D

no one here seems to help us out, would you mind telling what you did and how you did for this to work?

i am really disappointed to see that people really dont like to share. if this modification is only for those with prior knowledge of the darn technical stuff, then please say it so in the introductory paragraph. so that people like me do not end up with nothing and on top of it, not having any support as well:mad:

KevinL
01-26-2009, 04:37 AM
No that eazy , I uninstall all the plug ins , and reinstalled again , but when I do install the product : vboptimizer , again , it fail.

What version of php are you using? It maybe be possible that it doesn't work with your version. Anything below 5.1 I think doesn't work.

Read through the thread. There are some little bits and pieces that might help you out ;)

Zia
01-26-2009, 09:46 AM
just curious...for xcache user..

how much ram do u allocate
for Php cache & var cache ?

1.Which types of server ur on ? (shared/Vps/Dedictaed)
2.Guaranteed ram for ur host?

U allocate :
For PHP cache :
FOR varcache:

unp
01-26-2009, 11:24 AM
vps with 2gb ram

32mb for php and 3 mb for var

aircool52
01-26-2009, 11:35 AM
I have PHP Version 4.4.7 and MySQL Version
5.0.45 .