I need update image.module from 4.7 to Drupal 5 however I can't find anywhere any information on how to do this, only handbook is about updating this module from 5 to 6 http://drupal.org/node/342269, issues doesn't help me a bit http://drupal.org/node/203722 http://drupal.org/node/158334 nothing in readme.txt, author of the module is not responding.

Comments

v8powerage’s picture

.

vm’s picture

there is nothing you do to code manually.

first disable all non core modules
upgrade core from 4.7.x to 5.x, by removing all core files and folders and uploading the new ones
run update.php in your browser

once core is updated correctly.
remove each non core module
upload new version
enable
run update.php

I HIGHLY suggest doing these tasks on a test installation, which is an export of your production database. This will ensure that your production site stays working while you work through any problems that may come up during an upgrade.

The only other words of advice are BACKUP, BACKUP, BACKUP!

v8powerage’s picture

Hi
I already done this, but image.module simply doesn't works, I tried run image module updates but I was getting only such a messages:

* The original image size was missing so no changes were made. See this image module issue for more information. Include the following:

Array
(
[0] => Array
(
[label] => thumbnail
[operation] => scale
[width] => 320
[height] => 320
[link] => 0
)

[1] => Array
(
[label] => preview
[operation] => scale
[width] => 640
[height] => 640
[link] => 0
)

)

* user warning: Table 'image' already exists query: CREATE TABLE image ( `nid` INTEGER UNSIGNED NOT NULL, `fid` INTEGER UNSIGNED NOT NULL, `image_size` VARCHAR(32) NOT NULL, PRIMARY KEY (`nid`, `image_size`), INDEX image_fid(`fid`) ) /*!40100 DEFAULT CHARACTER SET utf8 */; in /home/unitra/htdocs/new/includes/database.mysql.inc on line 174.

I wrote several issues, but someone closed all of them soon afterwards, without giving me any kind of help… These are the issues:

http://drupal.org/node/203722
http://drupal.org/node/158334
http://drupal.org/node/395418

vm’s picture

You've had help in those issues. First off: hijacking issues that have nothing to do with your problem that have already been closed isn't helpful.

2nd being vaugue in your issues "it doesn't work" isn't helpful either.

lastly, making statements like:

I'm very well aware that everyone is volunteering, I'm volunteering as well updating my website which is non-profit, but the trouble is that I found no help whatsoever in here, in contrast to other (also non-profit) forums.

Most modules here are sponsored by a companies, I guess if I would propose nice sum to the author he would respond to my email, but I have only small budget since I'm running a non-profit community portal and I don't have a couple k $ for an update like drupal.org.

and telling those that are trying to help you that they are unhelpful only makes others not want to help you.

It doesn't look like you ever deleted the image table as you were once instructed and if you have you need to give a step by step by step of what you've done and what happens after every step. Developers aren't mind readers and need the issue creator to be as verbose as possible when filing an issue. I also note that at the top of a new issue creation form, is a parapgraph of information that should be given and you've never provided that information.

If you are having too much trouble at this point. Reverse and go back to the back up you took and start over. You should be doing all of this on a test site so it shouldn't be much trouble. If you are doing all of this on a production site without backups. You may be SOL.

v8powerage’s picture

I've deleted image table, and went thru all the steps before, obviously I'm doing this at the test site, and I have automatic backups since I'm not complete idiot.

This "statement" is my opinion I can have my own, can I? Beside that I wrote this basing on well known facts…

vm’s picture

but of course you aren't helping any one help you by offering information other then "it don't work".

Either way. I don't have any 4.7.x sites to test your issue with.

good luck.