Log in

View Full Version : how can a plugin generate an error even when it is disabled?


actolearn
01-15-2016, 08:39 PM
hello,

i am running vbulletin 3.8.7 and have a few plugins that are no longer supported installed. so i'm dealing with some old technology here, which i know is the problem. :(

anyway, i am seeing the following error on my site:

Site error: the file /home/informed/public_html/plugins/advertise_plugins.php requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the site administrator.

i have php 5.2 installed, and i have ioncube installed. i tried referencing it in the .htaccess file and the php.ini file, but to no avail. i also tried disabling all the plugins associated with the vbadvertise product (via an SQL query), and i still get the error. i found that to be most strange.

any ideas here? my site is down so i'm getting anxious.

Dave
01-15-2016, 08:45 PM
You say you disabled it using a SQL query, why don't you just disable it at the "Plugin Manager" in the AdminCP?

Lynne
01-16-2016, 02:34 AM
Additionally, did you remove the files you uploaded for the product?

blind-eddie
01-16-2016, 07:13 AM
Contact your host regarding the ioncube_loader_lin_5.2.so. They will correct that issue for you, that is a server related issue, not an addon.

actolearn
01-16-2016, 12:09 PM
okay, i realized there was one plugin associated with the product that i hadn't previously deactivated; i since have. however, now i am getting a different error:

Fatal error: Class 'vBAdvertise_Plugins' not found in /home/informed/public_html/global.php(355) : eval()'d code on line 1

vbadvertise is totally disabled, but it still seems to be looking for it. Line 355 of global.php is

($hook = vBulletinHook::fetch_hook('cache_templates')) ? eval($hook) : false;

so is there anyway i can remove vbadvertise from cache_templates?

Dave
01-16-2016, 01:08 PM
Go to the "Plugin Manager" and look for any hooked "cache_templates" that are associated with vBAdvertise. Then just disable them.