I am looking to go to the dev version, or 2.1 for that matter. I have deleted the Ad module folder in the "modules" directory, but the ad section still shows in my admin / modules section?

Any idea?

Comments

eelkeblok’s picture

Did you actually uninstall the module prior to deleting the files? Once a module is activated, references to it will also be added to the database. Uninstalling the module will remove those.

dsellers154’s picture

I feel like a nub. How do you actually uninstall this module. It is listed in the modules listing. It is not listed in the admin by module listing. The file is deleted from the Modules folder. Should I add the Ads 2.0 folder back to modules?

Thanks

dsellers154’s picture

OK, so i reinstalled 6.x 2.0, ran the update, then uninstalled the module, deleted the file from the "modules" folder, and it is still showing in the admin/modules section. I have uploaded 6x 2.1, and it still shows as 2.0 in the admin/module section.

Anybody having this problem or any ideas?

dsellers154’s picture

can anybody help with this? what hooks are there to keep a module listed even though it is gone?

jeremy’s picture

Status: Active » Postponed (maintainer needs more info)

The ad module will show up in the module list so long as the ad.info file is still in your web root. Disabling and uninstalling the module simply means it is no longer loaded and its data was removed from the database. To remove it from from your modules listing, you will have to completely remove it from your filesystem. (Simply moving it to another directory under your webroot often won't work, as Drupal may still be able to find it...)

dsellers154’s picture

I uninstalled it and completely deleted the whole ads file from the modules directory, yet it is still showing. I am pretty stumped.

dsellers154’s picture

Any idea where to start trying to figure out what is going on here?

techypaul’s picture

I just had a very similar problem to this. Some of my modules were not getting updated. I discovered that I had accidentally uploaded a module into another module. drupal was using that sub-module as the main one. No matter if I deleted or updated the correct module, it wouldn't change. I discovered this by chance using the drupal tweaks suggestions feature which said not to have modules with the same name. I removed the duplicates and all is ok now.

Could be similar?

P.

dsellers154’s picture

I guess it could be possible. I was using firebug to see if I could dig out where the code was being pulled from but can not seem to figure out how to dig that out. Any ideas on how to find out where this particular file could be located/buried?

dsellers154’s picture

funny thing is, this was acutally the problem. I had to go through all the module folders till i found where i must have dropped the ad folder at some point into another folder.. what a pain..

Thanks for the help

techypaul’s picture

Title: Ad module is deleted from module directory but still shows in module list » Multiple modules with same name confusion
Project: Advertisement » Drupal core
Version: 6.x-2.0 » 7.x-dev
Component: installation » other
Category: bug » feature
Status: Postponed (maintainer needs more info) » Active

Yay! Nice to finally help someone else for a change :) Only been a year lol. You'd think drupal would at least warn somewhere on two modules being the same name, maybe D7!

I am moving this to the drupal 7 issues as I think it might be something of interest to them.

p.

eelkeblok’s picture

Category: Feature request » Support request
Issue summary: View changes
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.