Hi,
I installed Image and after a few issues I uninstalled.
Today I reinstalled the module, ran through install.txt.
error on database because tables don't exist.

1. Is there a correct uninstall procedure to ensure all tables and functions are removed fully and correctly?
2. Following reinstall the tables don't exist. Have I missed something out, or can I do something to ensure the correct tables are added?

I don't see any procedure for adding correct table structure to the database.

Many thanks in advance.
Mark

CommentFileSizeAuthor
#2 Capture1.jpg137.88 KBmarkmason7
#2 Capture2.jpg32.41 KBmarkmason7

Comments

Hetta’s picture

Which tables don't exist? 5.x-1.x -versions don't use the image table, and I don't think image uses any other image-specific tables ...

markmason7’s picture

StatusFileSize
new32.41 KB
new137.88 KB

The image_attach table: please see screenshots below.
I think it's related to the image attach module, which is a function I would like to add to every content.

Hetta’s picture

OK, run this bit of SQL on your database (if it's MySQL):

CREATE TABLE `image_attach` (
  `nid` int(10) unsigned NOT NULL default '0',
  `iid` int(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`nid`),
  KEY `iid` (`iid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

That'll set up the missing table for you, after which things should work.

markmason7’s picture

Hetta,
Perfect! Thank you so much for your prompt assistance.
All is working fine now.

Mark

Hetta’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

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