Community

Trouble Removing Drupal6 Modules installed in Drupal7

As a novice and non-programmer non-web-guy I installed Drupal, Ubercart and a number of other modules and was mostly successful.

But, I goofed and installed some Drupal 6 modules into my Drupal 7 site.

Now I can't get them out of my Admin page and I think they may be causing some problems.

I put the module files in the right place and they showed up on my Module admin page with all the enabled and disabled information for dependencies, "requires" or "required bys." Just about everything has the green enabled indication.

But on the three Drupal6 modules I installed in error, there is a little red pill like bullet with a white "x" where the little enable square check boxes are in the installed modules. I used an "X" to show where it is on the Thickbox module below. When I click on it, I can't see that it does anything. It does not change at all.

By the way, these modules are typically now built into Drupal 7 so I didn't need them at all ... it seems.

Here's what it says in my admin modules page for these wrong modules:

X Thickbox 6.x-1.6 Enables Thickbox, a jQuery plugin.
This version is not compatible with Drupal 7.x and should be replaced.

The other two wrong modules are:


CCK

for Drupal 6.x and

Imagecache

for Drupal6.x.

They have a number of modules within them and each also has a red pill bullet with the same white x and similar message.

Imagecache for Drupal6.x.


X ImageAPI 6.x-1.10 ImageAPI supporting multiple toolkits.
This version is not compatible with Drupal 7.x and should be replaced.
Required by: ImageCache (disabled), ImageCache UI (disabled)
'
X Incompatible with this version of Drupal core.
ImageAPI GD2 6.x-1.10 Uses PHP's built-in GD2 image processing support.
This version is not compatible with Drupal 7.x and should be replaced.

X Incompatible with this version of Drupal core.
ImageAPI ImageMagick 6.x-1.10 Command Line ImageMagick support.
This version is not compatible with Drupal 7.x and should be replaced.

Incompatible with this version of Drupal core.
X ImageCache 6.x-2.0-rc1 Dynamic image manipulator and cache.
This version is not compatible with Drupal 7.x and should be replaced.
Requires: ImageAPI (incompatible with this version of Drupal core)
Required by: ImageCache UI (disabled)

Incompatible with this version of Drupal core.
X ImageCache UI 6.x-2.0-rc1 ImageCache User Interface.
This version is not compatible with Drupal 7.x and should be replaced.
Requires: ImageCache (incompatible with this version of Drupal core), ImageAPI (incompatible with this version of Drupal core)


CCK

is similar.

AT first, I just didn't understand how the Uninstall Tab worked. To be honest I was afraid that if I clicked it maybe the modules I installed and wanted to keep, would all disappear. I didn't realize it was a page but thought it was and uninstall button. Newbie mistake. Maybe I am the only one ever to make such a silly mistake here but maybe the Uninstall tab could be labeled "Uninstall Page." So instead I just removed the 3 - Drupal 6 module files from the C:\xampp\htdocs\drupal718\sites\all\modules . Actually first I just renamed the files xxxxcck xxxxImageCache and xxxxThickbox ... but then just moved them out of there.

Then, I found some of the answers about to how to use Uninstall that I had missed before. duh!
But when I clicked the Uninstall tab I got this:

"The uninstall process removes all data related to a module. To uninstall a module, you must first disable it on the main Modules page.

Uninstall Name Description

No modules are available to uninstall.

"

So, I took off the xxxxx to fix their names and then put them back in the folder as I think I read not to remove them until after you had disabled them and uninstalled them.

But I still got the "No modules are available to uninstall. " message at the Uninstall tab.

I think I even tried to reinstall these 3 wrong modules again and clicked Uninstall again but still did nothing.

I am assuming the red pill bullet with the white "x" means it is disabled already. Is that a wrong assumption?

I don't know why they don't show up on the Uninstall page. I don't know why I can't uninstall these and remove them from the module admin page. How do I uninstall them and remove them?

Thanks a milion.

Comments

Just remove the folders and

Just remove the folders and their contents for the Drupal 6 modules.

contents for the Drupal 6 modules?

Ok. Thanks! Much appreciated Nevets.

Now, I know how to remove the folders. I can do that part.

Actually, I had removed these folders before and it didn't seem to change anything. But I will try again.

I'm still struggling with keeping the terminology straight under different contexts.

I think you just mean "contents" as in "The stuff that is in the file folders." not "content" as in node "content."

Is there another step? Maybe something to do with "content" that I'm not grasping?

Doesn't "removing the folders" also remove the "contents" of the folder? Or are you referring to "Content." as in some other tab, or perhaps what goes into a node?

Am I correct in saying "Removing the folders, should get rid of the 3 Drupal 6 modules on my Admin Modules page."

=================================
Just to be sure ..... I just went looking for the Content tab on the black Admin menu bar and didn't find these 3 Drupal6 modules there.

==================

But ... when I clicked the Configuration link I got this message:

Fatal error: Only variables can be passed by reference in C:\xampp\htdocs\drupal718\sites\all\modules\cck\includes\content.crud.inc on line 57

... which seems to include the cck a module I installed in error. Or I think it is. Maybe this cck is the part built into Drupal 7.x?
===========================
Also, when I clicked the store tab I got

Fatal error: Only variables can be passed by reference in C:\xampp\htdocs\drupal718\sites\all\modules\cck\includes\content.crud.inc on line 57

on this page http://localhost/drupal718/admin/store

Which also seems to include the cck module I installed in error.

=========================

This error seems unrelated but ...

The ctools link on the black bar takes me to:

http://localhost/drupal718/admin/settings/ctools_plugin_example

Fatal error: Unsupported operand types in C:\xampp\htdocs\drupal718\includes\theme.inc on line 1071

==================================
I will remove those 3 folders again and see what happens.

Thanks again.

Placing a module under

Placing a module under sites/all/modules does not install the module, on the module admin page the first time you enable a module it is also installed. Unchecking a module simply disables and leaves in a state where it can be re-enabled. Modules that have been enabled and then disabled can be uninstalled, this removes (or at least should) any data created by the module. At no time files removed from under sites/all/modules, that must be done manually.

Can I just consider the red-pill-bulleted as disabled?

Man, you reply fast. Thanks!

These Drupal 6 modules I installed in error have that little red pill bullet with the white "x". There is no check box to enable them or disable them eitherway, so can I just consider them disabled?

When I removed the folders before, the listing of them on the List tab or page did not disappear. They were still on the List page. But I will go try it now to see what happens. Maybe my errors will disappear too. Thanks Nevets.

Thickbox is removed and CCK and ImageCache are smaller.

Thanks again. I removed the 3 file folders and I had some good success.

First - Thickbox 6.x is no longer on the List page. Cool.

The errors I mentioned for the most part are gone even though 2 of the Drupal 6.x modules seem to have left some parts behind. But there are fewer parts than before ... I think.

=======================
Second - CCK 6.x seems to have fewer modules left on the List page. That's better. But these are still left:

Enabled Name Version Description Operations
Incompatible with this version of Drupal core.
FileField 6.x-3.10 Defines a file field type.
This version is not compatible with Drupal 7.x and should be replaced.
Requires: Content (missing)
Required by: FileField Meta (disabled), ImageField (disabled)

Incompatible with this version of Drupal core.
FileField Meta 6.x-3.10 Add metadata gathering and storage to FileField.
This version is not compatible with Drupal 7.x and should be replaced.
Requires: FileField (incompatible with this version of Drupal core), Content (missing), Getid3 (missing)

Incompatible with this version of Drupal core.
ImageField 6.x-3.10 Defines an image field type.
This version is not compatible with Drupal 7.x and should be replaced.
Requires: Content (missing), FileField (incompatible with this version of Drupal core)
=============================
Third - ImageCache6.x also seems to have fewer modules left on List, which is good, but these are still left:

Enabled Name Version Description Operations
Incompatible with this version of Drupal core.
ImageAPI 6.x-1.10 ImageAPI supporting multiple toolkits.
This version is not compatible with Drupal 7.x and should be replaced.

Incompatible with this version of Drupal core.
ImageAPI GD2 6.x-1.10 Uses PHP's built-in GD2 image processing support.
This version is not compatible with Drupal 7.x and should be replaced.

Incompatible with this version of Drupal core. ImageAPI
ImageMagick 6.x-1.10 Command Line ImageMagick support.
This version is not compatible with Drupal 7.x and should be replaced.
======================

Aside from that the only errors are in the ctools link mentioned earlier:
Fatal error: Unsupported operand types in C:\xampp\htdocs\drupal718\includes\theme.inc on line 1071
==================
The store link seems to work now. I think it was one of the errors earlier. There are some problems down inside store but they can wait I think.

That's progress and I appreciate your help.

It appears you have tried to

It appears you have tried to use a number of Drupal 6 module on a Drupal 7 installation.

FileField, ImageField, ImagAPI and ImageMagick are all separate modules that would need their folders to remove. You may want to clear cache after removing the files to see if that helps remove them from the modules list.

Thank you so much Nevets. It is all clear now.

Thank you so much Nevets. It is finally all clear. I thought those separate files where all in those 3 folders. Thank you.

=============
My only other major problem is something that just keeps popping up every time I try to create content or a page, article etc. I've seen this many times. The only difference is one number but it is a message that looks like this:

Array ( [:db_condition_placeholder_0] => 5 ) the 5 is always a different number.

My Mysql database is called Stone2 but apparently the Table "stone2.tracker_node" doesn't exist as I keep getting this nearly identical error, as shown in the example below.

Example 1) I tried to create a new node, of type Article, with tags and publish it to the Main Menu, I assume on the Home Page. I've checked published and promote to front page and either alone.
But I got an error … Error message

PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'stone2.tracker_node' doesn't exist: SELECT 1 AS expression FROM {tracker_node} tracker_node WHERE ( (nid = :db_condition_placeholder_0) ) FOR UPDATE; Array ( [:db_condition_placeholder_0] => 5 ) in _tracker_add() (line 264 of C:\xampp\htdocs\drupal718\modules\tracker\tracker.module).
The website encountered an unexpected error. Please try again later.

I did check to see if the file C:\xampp\htdocs\drupal718\modules\tracker\tracker.module was there and it was. But I don't know what all that other stuff means. Learning a lot though. ;-)

Anyway, I'm going to see if I can re-download the Tracker module and see what happens.
Wish me luck.

nobody click here