![]() |
Quote:
Maybe you check it again. |
does it works on vb 3.7 also ?
and what about vbseo ? |
yes, I have checked config.php several times over. Still no luck.
|
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! |
Quote:
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. |
Quote:
and i also have vbseo no problem at all just besides the caching phrases but that's everyone. |
I am about to start offering payment to fix this problem. I really need my board back online.
|
Are you sure you carefully read everything before installing this product, especially
Quote:
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). |
@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 ;) |
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.
|
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).
|
Quote:
|
just saw it....you are awesome!!!!!
|
@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 ;) |
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. |
Quote:
Quote:
|
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: |
Quote:
|
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..) |
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!
|
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
|
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 :) |
it seems that WOL caching does not work with VB 3.7.3
I get this error on forumhome only: Code:
Database error in vBulletin 3.7.3: |
Quote:
|
Quote:
Quote:
|
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 |
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: Code:
// ****** DATASTORE CACHE CONFIGURATION ***** Code:
[eAccelerator] |
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 |
Quote:
best regards... :) |
Quote:
|
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 Quote:
// $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. |
Quote:
|
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; |
And you're sure your memcache server is running? and you uncommented the second \* after that section you just copied there?
|
Yes to both questions.
Code:
//$config['Datastore']['class'] = 'vB_Datastore_Memcached'; Code:
root@server [~]# ps aux | grep memcache |
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/showp...4&postcount=39 http://pastebin.com/m695d4b5b |
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.
Code:
root@server [~]# php -i | grep -i 'memcache' Code:
root@server [~]# ps aux | grep memcached |
1 Attachment(s)
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...s-like-apcphp/ |
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?
|
In all honesty I have found that xcache seemed faster them memcache for this.
|
All times are GMT. The time now is 07:43 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|