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)

mindhunter77 01-20-2009 05:59 PM

1 Attachment(s)
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/09...y/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

Quote:

Originally Posted by GreasySpoon (Post 1719382)
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

Quote:

Originally Posted by Swiss_Tony (Post 1719403)
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

Quote:

Originally Posted by MissKalunji (Post 1719444)
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

Quote:

Originally Posted by Swiss_Tony (Post 1719462)
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

Quote:

Originally Posted by MissKalunji (Post 1719478)
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/09...y/Picture4.png


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

http://img.photobucket.com/albums/09...y/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

Quote:

Originally Posted by MissKalunji (Post 1719490)
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

Quote:

Originally Posted by MissKalunji (Post 1719494)
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

Quote:

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

Quote:

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

Quote:

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.

Quote:

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!!!!!!!!


Quote:

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!

Quote:

---

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

Quote:

Originally Posted by BamaStangGuy (Post 1719798)
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

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.

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

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.

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)



Quote:

Originally Posted by neto614 (Post 1718375)
I Agree with him ( DO NOT INSTALL )

May i ask what's your reasons?

adhmwagde 01-21-2009 02:54 PM

problem ...

PHP Code:

Parse errorparse errorexpecting `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

Quote:

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

Quote:

Originally Posted by Jaxel (Post 1709859)
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?

Quote:

Originally Posted by Magnumutz (Post 1704509)
Question: Will this mod work with YSLOW?

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

Quote:

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

Quote:

Originally Posted by BamaStangGuy (Post 1720283)
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

Quote:

Originally Posted by Jaxel (Post 1720869)
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:

Code:

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

Quote:

Originally Posted by Nadeemjp (Post 1721159)
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:

Code:

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


All times are GMT. The time now is 06:46 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.02255 seconds
  • Memory Usage 1,886KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (24)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