Andreas |
04-22-2017 05:58 PM |
Quote:
Originally Posted by Phaedrus
(Post 2475733)
On Version 4.2.2
I rem'd out line 20 in the forums/admincp/templateedits.php file and it now works again.
Right as rain...
|
If $vbulletin, the global registry object, is not an object when this line is being executed, then smth, is seriouly broken on your installation.
Quote:
Originally Posted by RavenDust
(Post 2488699)
You could alway do the (kind of) right thing and do something like
Code:
// double output buffering does some weird things, so turn it off
define('CVS_REVISION', '$RCSfile$ - $Revision: 146 $');
define('NOZIP', 1);
$vbulletin = new stdClass();
$vbulletin->nozip = true;
|
*eek*
Overwriting the registry is a really, really, really bad idea and could cause dangerous things.
I can't stress enough how much I'd recommend not to do that.
Besides that, TMS with patch as given in the first post works just fine on 4.2.3 (which is pretty amazing as the code is almost 5 years old), but could use some love to get up-to-date with current PHP versions.
|