Has now been upgraded to the latest version, but the "Available updates" shows still "Content Construction Kit (CCK) 6.x-2.0-RC7", while I have uploaded "6.x-2.5 ". I have also tried to delete old directory first

CommentFileSizeAuthor
#6 feil-med-cck-moduler.png29.39 KBOle Martin

Comments

markus_petrux’s picture

Make sure the .info file of the content module contains the correct information. You may also want to click the "Check manually" link in the "Available updates" page to make sure your site has up to date information about projects.

Ole Martin’s picture

I have checked the version number and it is ok, run the "Check manually", but nothing changed. Have a page where everything is ok and copied all of the modules from the page, but it did not. Is the database updated, or is it the old values that ogsø apply there?
Modules in terms of:
Content 6.x-2.0-RC7
Content Copy 6.x-2.0-RC7
Content Permissions 6.x-2.0-RC7
Field Group 6.x-2.0-RC7
Reference Node 6.x-2.0-RC7
Number 6.x-2.0-RC7
Option Widgets 6.x-2.0-RC7
Text 6.x-2.0-RC7
User Reference 6.x-2.0-RC7

All other modules related to CCK is "Up to date" .
Can I do anything about this in the database without destroying anything on the page?

markus_petrux’s picture

hmmm.. maybe you have a CCK package installed in another directory than the one you have updated?

Ole Martin’s picture

No, it is in "sites/all/modules",
and I checked in Modules also. It is so strange ... thought I' Should delete all these modules in the database in the "system" table. Have back-up. But then I have to do it later

markus_petrux’s picture

Maybe you have a CCK package installed in sites/domain/modules.

Visit modules administration page, then check the {system} table to see which is the path Drupal is looking at for CCK.

SELECT * FROM {system} WHERE name = 'content'

The filename column contains the path to content.module. Then, check the file content.info in that directory.

This is the information that uses the Update status report.

Ole Martin’s picture

StatusFileSize
new29.39 KB

I was in and looked after the path and I found something strange. This is an old page, where several have previously worked. Do not know how this should happend ;-) , but found that the Path to the modules were: "sites/all/modules/admin_menu/CCK /content.module".

Checking in "admin menu" module, but there was nothing. Have been erased by previous work since I deleted almost all the modules and loaded theme up again new.

It's probably just to delete these tables and activate CCK again?

markus_petrux’s picture

Nope. Do not delete the rows in the {system} table. Just remove the cck folder from the admin_menu folder. Then visit the Modules administration page. Drupal should update these rows with the correct path to the CCK package in your installation.

If you remove rows from the {system} table, you'll get an inconsistent state of the module, because it was already installed, and its own tables were already created, etc. But if those rows are removed, the Schema version of the module is lost.

Ole Martin’s picture

I think that the CCK module was removed from the admin menu module some time ago when I wore it on and uploaded it again. Now I have tried to run "update.php" and selected all the modules to CCK. Still, there is no change.

Ole Martin’s picture

I took another round of updates and now it came. Thank you for all the help.

markus_petrux’s picture

Status: Active » Fixed

Sweet :)

Status: Fixed » Closed (fixed)

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