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)

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!


All times are GMT. The time now is 07:40 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.01872 seconds
  • Memory Usage 1,745KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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