Welcome to Geeklog, Anonymous Tuesday, April 30 2024 @ 12:18 am EDT

Geeklog Forums

uninstall plugin error?


Status: offline

raffles

Forum User
Newbie
Registered: 06/03/03
Posts: 11
Hi! Is it only in my installations (local and on the server) that I only can uninstall plugins when they are "activated"? The reason for this seems to be that in line 79 of lib.plugins.php the function for deinstallation cannot be found as the functions.inc of deactivated plugins seems not to be included (wherever this is made or not made). Is that normal or a mistake? I thought usually plugins should first be deactivated before deinstallation. regards Daniel P.S. my system runs 1.3.7 SR2 with: plugins: staticpages 1.2 menu 1.61 birthdays 1.0 lists 0.3 external 1.0 contact 1 (which claims to be 1.1 on the download) blocks: themechanger calendar groupaccess emailchecker
 Quote

Mark

Anonymous
I experience the same thing where I can uninstall plugins without ever deactivating them. The plugins I have installed include a check for this, but it\'s never executed. I was trying to figure out if it was my installation or a bug.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
lazy
The problem is that the uninstall function is (usually) in the plugin\'s functions.inc - but that file is not loaded when the plugin is not active. I guess the we need to check for this in the plugin editor and load functions.inc there, if necessary ... Someone would need to submit this as a bug report. bye, Dirk
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by Dirk:I guess the we need to check for this in the plugin editor and load functions.inc there, if necessary ...
I just noticed that we\'re already doing this - so it shouldn\'t be a problem to uninstall a plugin that is not active. Which plugin is causing you problems? bye, Dirk
 Quote

Mark

Anonymous
The plugins uninstall okay when not active. They also uninstall when they are still active. I think the problem is the latter point. I tried this out on external pages, file manager, and lists.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by Mark:They also uninstall when they are still active. I think the problem is the latter point.
Hmm, I don\'t see this as a problem. Why should you be forced to deactivate the plugin first? If you decide to uninstall the plugin, it should let you do that. bye, Dirk
 Quote

Status: offline

raffles

Forum User
Newbie
Registered: 06/03/03
Posts: 11
Hi! Well for me they don\'t uninstall when they are not active (but maybe that\'s my weired installation). They ask for the uninstall function which is in the functions.inc which is not included as the plugin is not active. But I think the programmers wanted admins to disable first before uninstlling. I mean ... if this is not wanted any more then this should be made clear and not just forgotten or overlloked. Especially as the universal plugin also claims to work like this. regards Daniel
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
As I wrote above, you should be able to uninstall a plugin at any time - no matter if it\'s active or not. And that does work in Geeklog 1.3.8, AFAICS. However, you are running 1.3.7 and, as you noticed, you can\'t uninstall plugins which are not active there because it can\'t find the uninstall function. That has been fixed in Geeklog 1.3.8. bye, Dirk
 Quote

All times are EDT. The time is now 12:18 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content