The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Forum Down :(
ok, I'm asking this question here, because I can't seem to get an answer on the mod. I installed the "VBOpitimise" mod on my site, because it sounded promising, and it was getting an over-abundant amount of ratings for MOTM. Right after I uploaded the plugin I got 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"
No one can seem to come up with an answer, excpet to say "add define('DISABLE_HOOKS', true); to the begining of your config.php file" well, that isn't working, and I can't do anything on my site right now, it seems to be down completely. tools.php isn't working either. Can anyone come up with any other help? www.lacledeforum.com/forums Would love to just have this mod uninstalled so that I can have my forum back. But, as of right now, I can't get into anything. I just keep getting that same error. --------------- Added [DATE]1231000008[/DATE] at [TIME]1231000008[/TIME] --------------- sorry I just realized I posted this in the wrong place. So if a moderator wants to move it, please do. ~MD |
#2
|
|||
|
|||
It seems that it's a problem with /includes/class_activecache.php which is NOT a vBulletin default file.
Firstly, I suggest you remove the non-default files first. Listed:
|
#3
|
|||
|
|||
tried this yesterday, and it just created more problems. It tried to hunt for those files, and when it could not find them, it locked me out. So, I had to upload it again just to get back to where I was.
--------------- Added [DATE]1231000251[/DATE] at [TIME]1231000251[/TIME] --------------- I really wish there was a way to unistall a mod (in case this happens) without having to use your admincp. |
#4
|
|||
|
|||
Okay, well this will be interesting then.
Either you can use the attached php file or you can apply the change yourself. Within /includes/class_activecache.php, try replacing: Code:
static $class = __CLASS__; static $instance; Code:
var $class = __CLASS__; var $instance; The only way to uninstall is either going through the database and datastore (I think -- have never tried this way) or using DISABLE_HOOKS. I don't know why DISABLE_HOOKS won't work but, I'll try to fix it for your situation. There's also the fact everyone says to backup before you install a mod. =/ |
#5
|
|||
|
|||
will give it a try. Luckily I do have my forum backedup.
|
#6
|
|||
|
|||
Actually... what FTP program are you using? Are you sure it's overwriting your configuration file when you're trying to reupload it with the define('DISABLE_HOOKS', true); at the top of your configuration?
Edit: Ah, that's good. |
#7
|
|||
|
|||
ok, now getting this error:
Parse error: parse error, unexpected ')', expecting '(' in /home/content/m/d/e/mdelcour201/html/forums/includes/class_activecache.php on line 35 line 35 is this: return (self::$instance) ? self::$instance : (self::$instance =& new self::$class()); --------------- Added 03 Jan 2009 at 08:46 --------------- Quote:
<?php define('DISABLE_HOOKS', true); /*================================================= =====================*\ || ################################################## ################## || || # vBulletin 3.7.4 Patch Level 1 - Licence Number xxxxxx || # ---------------------------------------------------------------- # || || # All PHP code in this file is ?2000-2008 Jelsoft Enterprises Ltd. # || || # This file may not be redistributed in whole or significant part. # || || # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # || || # http://www.vbulletin.com | http://www.vbulletin.com/license.html # || || ################################################## ################## || \*================================================ ======================*/ /*-------------------------------------------------------*\ | ****** NOTE REGARDING THE VARIABLES IN THIS FILE ****** | +---------------------------------------------------------+ --------------- Added 03 Jan 2009 at 08:53 --------------- ok....I completely deleted the file from my server, then re-uploaded it, with the define('DISABLE_HOOKS', true); code in it, and am still getting the same error. --------------- Added 03 Jan 2009 at 10:21 --------------- problem fixed.......whew!!! |
#8
|
|||
|
|||
I have The same plroblem , What did you do? can you tell Step By Step?
Thanks |
#9
|
|||
|
|||
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. That will disable all mods, and then you can delete the mod that is causing the problem. For me the problem was the VB Optimise Mod. for more info on that: https://vborg.vbsupport.ru/showthrea...199207&page=44 |
#10
|
|||
|
|||
Fixed, really thanks! I fixed following what you said and accesing to my site by mysite.com/index.php
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|