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)

oly51 02-07-2009 12:10 AM

Quote:

Originally Posted by John69Steph (Post 1735893)
Hello, I'm French... Don't Speak english, sorry.

I'm Upload my FTP = OK
I'm import the XML = Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homepages/14/d163806435/htdocs/xng/includes/class_activecache.php on line 20

Edit class_activecache.php line20 : static $class = __CLASS__;


Please help me... i'm use vb3.8.0

Thank you

Quote:

Originally Posted by John69Steph (Post 1735918)
I'm r?solve my probleme :

In your config.php file add
right under <?php
Code:

define('DISABLE_HOOKS', true);

Uninstalle vB Optimise hack

delet
Code:

define('DISABLE_HOOKS', true);
config.php

My forum is OK

I had the same problem and had to do the config edit and uninstall. I think it is because this mod requires PHP 5 and my server is running php 4.4.9.

buileminh 02-07-2009 03:10 AM

I dont know why but after I installed this mod, Thread Prefixes are disappeared in Thread Prefix Manager (ACP) and if show online blank when posting new thread.

My environment:
Quote:

PHP Version 5.2.8
MySQL Version 5.0.67
vBulletin Version 3.8.1
Nevermind, just fixed by:
- CHMOD ./vboptimise to 0777
- Flush cache

John69Steph 02-07-2009 06:35 AM

Quote:

Originally Posted by neto614 (Post 1736094)
:down:I installed it but the forum keeps crashing is there something extra i have to do im running 3.8.1 and get a sql server error ....


can some one help me please .......:confused:

Edit config.php your ftp
right under <?php


Code:

define('DISABLE_HOOKS', true);

Replace config.php your ftp and actualise....

After Admin CP, uninstall vB Optimiser

Edit config.php your ftp

Delet :

Code:

define('DISABLE_HOOKS', true);
Your forum is OK, problem resolving


Use this craftiness has every time there is a crash after has the import of a Hack



Sorry i'm Speack French...

John

Vaupell 02-07-2009 07:41 AM

Quote:

Originally Posted by buileminh (Post 1736724)
I dont know why but after I installed this mod, Thread Prefixes are disappeared in Thread Prefix Manager (ACP) and if show online blank when posting new thread.

My environment:


Nevermind, just fixed by:
- CHMOD ./vboptimise to 0777
- Flush cache

tx same issue,
everything is fine, by prefix's are gone :p gonna try the chmod.

oly51 02-07-2009 01:51 PM

Quote:

Originally Posted by John69Steph (Post 1736812)
...Your forum is OK, problem resolving.
Use this craftiness has every time there is a crash after has the import of a Hack
Sorry i'm Speack French...
John

Thanks, John. I used that code to fix my forum.
I commented it out instead of deleting it after the fix by putting a "//" before it so it would be in my config.php if needed again.

Mecho 02-07-2009 10:05 PM

I'm using XCache , tried to flush and i got this error :

Quote:

Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/adminfunctions.php:279) in [path]/includes/class_activecache_methods.php on line 190
xcache.admin.enable_auth is off .

thanks in advance .

KevinL 02-08-2009 01:57 PM

I actually just had a problem with this.

When I shut off "GZIP HTML Output" because my server is already using mod_gzip or mod_deflate. I can't do anything. I can't install mods, I can't make changes to skins nothing. I actually get the same error as above (mecho). As soon as I turn "GZIP HTML Output" back to on, everything goes back to normal.

Just to let everyone know...

IRANCITY 02-08-2009 07:21 PM

i cant use it....
i install eAccelerator system on my server but when i change Cache Method to eAccelerator i give this err

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.

how can i solve this err
& how edit config.php for eAccelerator

when i change my config.php
and put $config['Datastore']['class'] = 'vB_Datastore_eAccelerator';
i give this err
Fatal error: eAccelerator not installed in [path]/includes/class_datastore.php on line 45

KevinL 02-08-2009 07:47 PM

I'm pretty sure you have to recompile it with php. Talk to your host.

Lautaro 02-09-2009 04:29 AM

hey after I imported the product now I have this problem >.<"

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

How do i fix this ? my forums are not working now !

RedTrinity 02-09-2009 09:57 AM

I've just had to disable this hack, after upgrading to 3.8.1 it was making our forumdisplay.php pages turn blank.... :confused:

ChrisChristian 02-09-2009 11:36 AM

Hi!

I have eAccelerator installed and working perfect on my server (php 5.2.8 fcgi). But vB Optimize keeps telling that it´s not installed.

How to fix this?

Another problem: if I enable memcache in vB Optimize, I can´t save templates anymore. Any ideas how to fix this?

auto 02-09-2009 02:03 PM

I am also getting this:

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

on all pages.

Skyrider 02-09-2009 02:17 PM

Hey Deceptor. Admins with only user access is able to access the Optimal Settings Check, is this normal? They don't have access in the other 2. I want the customized admins with specific access no to have access within the optimal settings.

Coop1979 02-09-2009 02:29 PM

Beautiful mod. Greatly increased the speed of my site.

auto 02-09-2009 02:44 PM

Needed to insert
define('DISABLE_HOOKS', true);
in config.php
to get basic functionality back to uninstall the hack. If it requires php5 then it should be specified somewhere in HUGE BOLD LETTERS :D

Nitro212 02-09-2009 07:13 PM

i am gettign this erro when i activate the "vB Optimise: Cache Forumhome WOL" i tried puttign 10, 20 and still once is active get that error what could it be?

Code:

Database error in vBulletin 3.8.1:

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 >
                ORDER BY username ASC;

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY username ASC' at line 8
Error Number  : 1064
Classname    : vB_Database
MySQL Version : 5.0.67-community


IRANCITY 02-09-2009 07:24 PM

no one like help us ?

djxcee 02-10-2009 08:23 AM

This only works with Apache webserver correct?

bioanarchism 02-10-2009 01:14 PM

Quote:

Originally Posted by ChrisChristian (Post 1738606)
Hi!

I have eAccelerator installed and working perfect on my server (php 5.2.8 fcgi). But vB Optimize keeps telling that it?s not installed.

How to fix this?

Another problem: if I enable memcache in vB Optimize, I can?t save templates anymore. Any ideas how to fix this?

I think I am facing a similar problem. I have compiled and installed eAccelerator, with the relevant module showing up on phpinfo().

However, I am also unable to load up eAccelerator via $config['Datastore']['prefix']='vB_Datastore_eAccelerator';

Am I missing out something here? Or do I need to recheck my php.ini? But everything seems to be working as intended. Perhaps I really did miss out something.

Mecho 02-11-2009 06:35 AM

Quote:

Originally Posted by djxcee (Post 1739529)
This only works with Apache webserver correct?

i have this mod on my Litespeed Server.

djxcee 02-11-2009 06:43 AM

Quote:

Originally Posted by Mecho (Post 1740519)
i have this mod on my Litespeed Server.

Wow, perfect! I have LiteSpeed as well.

How is it working for you?

oly51 02-11-2009 09:40 AM

Quote:

Originally Posted by Lautaro (Post 1738374)
hey after I imported the product now I have this problem >.<"

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

How do i fix this ? my forums are not working now !

This mod requires PHP5 to work. You will need to uninstall it if you are getting this error.

ChrisChristian 02-11-2009 10:54 AM

Bugs that I found:

vB Optimise: Cache Phrases -> YES (when using memcache)
When a member register, the email received don?t have the "FROM" part and it removes the "Vbulletin Message" text ($vbphrase[vbulletin_message]) in some templates.

vB Optimise: Cache Templates -> YES (when using xcache)
Don?t allow templates to be saved.

vB Optimise: Cache Forumhome WOL -> YES (when using eAccelerator) - but I think this occurs with any cache/opcode system
Adds a "," comma before the username in online list, when only 1 user is browsing the forums

I think I will unistall this mod for now. Too many problems. The mod has potential, but I will wait for the mod author to fix these bugs first.

flashwave 02-11-2009 12:21 PM

I have the latest version of eaccelerator installed (phpinfo is confirming this), but:

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.

When I turn on vB Optimise with Filecache, forum homepage is showing:

Code:

Database error in vBulletin 3.7.4:

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 vb3_session AS session
                LEFT JOIN vb3_user AS user ON(user.userid = session.userid)
                WHERE session.lastactivity >;

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 7
Error Number  : 1064
Request Date  : Wednesday, February 11th 2009 @ 08:17:55 AM
Error Date    : Wednesday, February 11th 2009 @ 08:17:56 AM
Script        : ...
Referrer      : ...
IP Address    : ...
Username      : ...
Classname    : vB_Database
MySQL Version : 5.0.51a

Any help would be much appreciated!

ChrisChristian 02-11-2009 01:02 PM

Quote:

Originally Posted by flashwave (Post 1740789)
post

You need to recompile eAccelerator. The following switch needs to be passed to get it working properly "--with-eaccelerator-content-caching".

Mecho 02-12-2009 06:29 AM

Quote:

Originally Posted by djxcee (Post 1740524)
Wow, perfect! I have LiteSpeed as well.

How is it working for you?

it seems that it works very well . as i'm not still good at all in Litespeed , it is not optimized at all but as i said it seems that this mod helps the server to load faster... let me know if u find something else about this mod on Litespeed :)

good luck :up:

admin0 02-12-2009 07:28 AM

Hi,

My eaccelerator configure option is:

./configure --with-eaccelerator-content-caching --with-eaccelerator-sessions --with-eaccelerator-optimizer --with-eaccelerator-encoder

[root@root eaccelerator-0.9.5.3]# php -v
PHP 5.1.6 (cli) (built: Jul 16 2008 19:52:52)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
with eAccelerator v0.9.5.3, Copyright (c) 2004-2006 eAccelerator, by eAccelerator
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies

phpinfo();

eAccelerator
eAccelerator support enabled
Version 0.9.5.3
Caching Enabled true
Optimizer Enabled true
Memory Size 67,108,800 Bytes
Memory Available 34,307,856 Bytes
Memory Allocated 32,800,944 Bytes
Cached Scripts 146
Removed Scripts 0
Cached Keys 0

When I select eAccelerator, I get this:

vBulletin 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.

restarted httpd, rebooted .. same results .

What could be the issue?

Cheers,

djxcee 02-12-2009 08:51 AM

Working great! I noticed a huge decline in queries and quicker load :D

Support for vBadvanced Dynamics would be great :)
I'll even pay for it!

tpearl5 02-12-2009 03:39 PM

Quote:

Originally Posted by tpearl5 (Post 1712395)
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.

Has anyone figured this out yet? It seems that if there is more than one notice only one of them will display.

BeoRski 02-12-2009 10:28 PM

Quote:

Originally Posted by admin0 (Post 1741602)
Hi,

My eaccelerator configure option is:

./configure --with-eaccelerator-content-caching --with-eaccelerator-sessions --with-eaccelerator-optimizer --with-eaccelerator-encoder

[root@root eaccelerator-0.9.5.3]# php -v
PHP 5.1.6 (cli) (built: Jul 16 2008 19:52:52)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
with eAccelerator v0.9.5.3, Copyright (c) 2004-2006 eAccelerator, by eAccelerator
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies

phpinfo();

eAccelerator
eAccelerator support enabled
Version 0.9.5.3
Caching Enabled true
Optimizer Enabled true
Memory Size 67,108,800 Bytes
Memory Available 34,307,856 Bytes
Memory Allocated 32,800,944 Bytes
Cached Scripts 146
Removed Scripts 0
Cached Keys 0


When I select eAccelerator, I get this:

vBulletin 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.

restarted httpd, rebooted .. same results .

What could be the issue?


Cheers,

You need --with-eaccelerator-shared-memory

GoTTi 02-14-2009 10:37 PM

prolly behind, but i wanna make sure i understand this mod:

once it is installed and enabled, this will cache the forums data or do threads and posts need to be viewed in order for it to be cached in the memory to be pulled faster @ a later time if viewed again?

im just a LITTLE bit confused as to what this does....

its suppose to speed the forum up how?

eh69 02-16-2009 08:01 AM

my admin tell me that eaccelerator is installed on server but i have info
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.
why?

coolnikin 02-16-2009 09:26 AM

Quote:

Originally Posted by GoTTi (Post 1744303)
prolly behind, but i wanna make sure i understand this mod:

once it is installed and enabled, this will cache the forums data or do threads and posts need to be viewed in order for it to be cached in the memory to be pulled faster @ a later time if viewed again?

im just a LITTLE bit confused as to what this does....

its suppose to speed the forum up how?

it doesn't cache thread/post data

mindhunter77 02-16-2009 12:02 PM

Quote:

Originally Posted by eh69 (Post 1745706)
my admin tell me that eaccelerator is installed on server but i have info

why?

You need to enable
Code:

--with-eaccelerator-shared-memory
and if you use vBSEO you also need caching functions get and put

admin0 02-16-2009 02:24 PM

Quote:

Originally Posted by BeoRski (Post 1742338)
You need --with-eaccelerator-shared-memory

Worked fine. Thanks.

A note to others, if you have enough ram, set the eaccelerator cache directory to /dev/shm - which is the memory.

briansol 02-17-2009 05:14 PM

Quote:

Originally Posted by ChrisChristian (Post 1740703)
Bugs that I found:
vB Optimise: Cache Templates -> YES (when using xcache)
Don?t allow templates to be saved.

it should save. you just need to flush the cache so the new settings go into the cache.

i have no issues with this.

Quote:

vB Optimise: Cache Forumhome WOL -> YES (when using eAccelerator) - but I think this occurs with any cache/opcode system
Adds a "," comma before the username in online list, when only 1 user is browsing the forums
confirmed, but i think caching the users online isn't a good idea anyway. You always want "you" to be first on the list IMO.



also, eAccelerator folks-- eaccelerator ships without the get and put methods enabled as a security feature.
YOU MUST ENABLE THESE FEATURES.
see:
http://www.vbseo.com/blogs/danny-bem...ccelerator-45/

booktoweb 02-19-2009 03:22 PM

do you have function can i put it in the end of specified cron i have to flush xcache automatically after cron finished ?

tyranny 02-21-2009 03:15 PM

This is the same thing that happened to me. I had to uninstall it to get the site to show again, otherwise when it was installed all pages, user end and admin side were blank. I am using php 5, too.

Would love to try it out if I could figure out the trouble.

Quote:

Originally Posted by GamerGirl27 (Post 1738551)
I've just had to disable this hack, after upgrading to 3.8.1 it was making our forumdisplay.php pages turn blank.... :confused:


Slayerz 02-24-2009 02:08 AM

Quote:

Originally Posted by tyranny (Post 1750766)
This is the same thing that happened to me. I had to uninstall it to get the site to show again, otherwise when it was installed all pages, user end and admin side were blank. I am using php 5, too.

Would love to try it out if I could figure out the trouble.

I have same problem.
Only once I deleted the files it still didn't show the site.
So I had to disable the plugin system and delete in manually.

Anyways you need to reconfigure your code.


All times are GMT. The time now is 11:56 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.04532 seconds
  • Memory Usage 1,861KB
  • 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
  • (7)bbcode_code_printable
  • (23)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