vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Board Optimization - [DBTech] vB Optimise 2.0.1 (Lite) (https://vborg.vbsupport.ru/showthread.php?t=199207)

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

Quote:

Originally Posted by Deceptor (Post 1694856)
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

Quote:

Originally Posted by rellek (Post 1696414)
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

Quote:

Originally Posted by Jim O (Post 1696877)
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

Quote:

Originally Posted by Deceptor (Post 1695274)
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

Quote:

Originally Posted by Big-K (Post 1698613)
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:

Code:

$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:

Code:

$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

Quote:

Originally Posted by Deceptor (Post 1688831)
Code:

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:

Code:

    // ****** 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

Code:

[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

Quote:

Originally Posted by Mr[K]id (Post 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

Quote:

Originally Posted by mdelcour (Post 1699888)
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

Quote:

Originally Posted by ScienceOfMuscle (Post 1699872)
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

Quote:

Originally Posted by mdelcour (Post 1699893)
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

Quote:

Originally Posted by Leo Brazil (Post 1691864)
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.


All times are GMT. The time now is 09:41 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02418 seconds
  • Memory Usage 1,842KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete