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)

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

Quote:

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 :

Quote:

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

Quote:

Originally Posted by MissKalunji (Post 1711164)
does this cache vbgallery too? just wondering (not asking for compatiblity either)

He was going to work on that...

Quote:

Originally Posted by pein87 (Post 1711580)
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...

Quote:

Originally Posted by rinkrat (Post 1707501)
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

Quote:

Originally Posted by neto614 (Post 1712590)
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


[high]* Brandon Sheley adds define('DISABLE_HOOKS', true);[/high]

gamerscms 01-15-2009 05:49 PM

Quote:

Originally Posted by neto614 (Post 1712590)
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?

Quote:

Originally Posted by neto614 (Post 1713705)
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

Code:

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:

Quote:

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

Quote:

Originally Posted by psychotica (Post 1713908)
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

Quote:

Originally Posted by satlazone (Post 1715855)
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

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 )

Quote:

Originally Posted by tmc (Post 1718328)
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

Quote:

Originally Posted by tmc (Post 1718328)
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.

Quote:

Originally Posted by BamaStangGuy (Post 1718601)
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....&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.


All times are GMT. The time now is 08:36 PM.

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

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02338 seconds
  • Memory Usage 1,849KB
  • 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
  • (1)bbcode_code_printable
  • (14)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