How to kill "zombie" add-on?

Permalink
(hope this is the proper forum ~)

Hi,

I have a “zombie” add-on that I cannot get rid of, and now it is interfering with my ability to edit my site (specifically, I cannot add blocks to existing pages).

Some time ago I had (presumably) installed the add-on “Load MathJax,” thinking it would come in handy should I need to display more advanced math concepts on my web pages, but I never actually used it. For quite a while I’ve been seeing notices that an update for that add-on is available, but whenever I clicked on “update,” nothing ever happened, and the notice would remain. I learned to ignore the notice.

Well, today I made the mistake of giving it another try, and of course there was no apparent change – until I tried to add a block to one of my existing web pages. I now get the following error messages, which I have never seen before:

Warning: require_once(/home2/summite4/public_html/packages/gnt_mathjax/blocks/gnt_mathjax/controller.php) [function.require-once]: failed to open stream: No such file or directory in /home2/summite4/public_html/updates/concrete5.6.2.1_updater/concrete/core/libraries/loader.php on line 218

Fatal error: require_once() [function.require]: Failed opening required '/home2/summite4/public_html/packages/gnt_mathjax/blocks/gnt_mathjax/controller.php' (include_path='/home2/summite4/public_html/libraries/3rdparty:/home2/summite4/public_html/updates/concrete5.6.2.1_updater/concrete/libraries/3rdparty:.:/usr/lib64/php:/usr/share/pear') in /home2/summite4/public_html/updates/concrete5.6.2.1_updater/concrete/core/libraries/loader.php on line 218

I can’t uninstall the add-on, because when I click on “edit,” nothing happens. If I go to the /packages directory on my server to try and get rid of it manually, there is no “gnt_mathjax” or anything even indicating that the add-on exists.

Furthermore, if I go to “System & Settings” and click on the “MathJax Settings” under “Environment,” I get the following message:

Warning: include() [function.include]: Failed opening '/home2/summite4/public_html/packages/gnt_mathjax/single_pages/dashboard/system/environment/mathjax.php' for inclusion (include_path='/home2/summite4/public_html/libraries/3rdparty:/home2/summite4/public_html/updates/concrete5.6.2.1_updater/concrete/libraries/3rdparty:.:/usr/lib64/php:/usr/share/pear') in /home2/summite4/public_html/updates/concrete5.6.2.1_updater/concrete/core/libraries/view.php on line 945

Naturally, I suspect this particular add-on is the source of all my woes, and I want to be rid of it and be able to edit my website. In particular, I just purchased a new theme and am anxious to implement a new design. In point of fact, I cannot even do that because when I try to edit new blocks arising from the change in themes, I get the errors stemming from the “require_once” function as indicated above.

I would greatly appreciate it if anyone could help me with this. I am not a coder, but I can follow direction provided they are not terribly complex or arcane :)

Thanks so much!

norbie
 
A3020 replied on at Permalink Reply
A3020
What you *could* do is make a database backup and delete the package in the database. Look for the 'Packages' table and just delete the specific row.
JohntheFish replied on at Permalink Reply
JohntheFish
Your originally described symptoms are typical of where a package's files have been deleted without being uninstalled from concrete5 first. The usual fix is to manually copy the files back in place via ftp and then run the uninstall.
norbie replied on at Permalink Reply
norbie
Thanks for the input. I contacted the developer, and it turns out there was an error in his package, which he has subsequently fixed. For some reason, when I had tried to update the add-on, the old version was removed from the /packages directory although the system still thought it was present.

The issue has been resolved, and things are copacetic now ;)
keeasti replied on at Permalink Reply
keeasti
copacetic - eh? ... now there's a rare word!