Recent Topics

1 Aug 29, 2006 17:03    

I am attempting to upgrade to 1.8.1 - I have already done one upgrade on a smaller blog and am now attempting to upgrade on my blog. After I run the installation from previous install, I get the following error:

Altering table «evo_antispam»...

* Added index UNIQUE aspm_string (aspm_string)
An unexpected error has occured!

If this error persits, please report it to the administrator.

Go back to home page
Additional information about this error:

MySQL error!

Duplicate key name 'aspm_string'(Errno=1061)

Your query:

ALTER TABLE evo_antispam ADD UNIQUE aspm_string (aspm_string)

I have tried on both SQL 4 and SQL 5. Any ideas?

UPDATE: Here was the solution, via my personal b2e guru Danny:

Make a backup copy of /install/_db_schema.inc.php, then edit the original and remove line 254: UNIQUE aspm_string (aspm_string)

Save the file, then retry the upgrade on a clean copy of your old db.

This worked perfectly. But make sure you back everything up!!!


Form is loading...