I created a website using a database prefix and node style threw errors. I reinstalled using another prefix, but without deleting the existing tables. Again, I had errors. Before I started from scratch again, I looked at the database tables and they were all prefixed (twice, with both prefixes) except node_style which only was present once, and with no prefix.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | install_24.patch | 1.58 KB | hass |
Comments
Comment #1
hass commentedI checked the code and yes, the .install file have some bugs inside... i have created the attached patch for fixing this. please try out.
Comment #2
arzajac commentedI tried it out and it works for me.
Thank you.
How do I apply the patch and fix this on an installed site? I could only test it out by starting out fresh on a test LAMP server.
Comment #3
hass commentednever done this yet... therefor on your own risk.
1. delete the not correctly created node_style tables.
2. remove "sites/all/modules/node_style/node_style.module" entry from "system" table - if exists
3. try out activating the module again... should work.
Comment #4
arzajac commentedThanks, that worked.
Comment #5
hass commentedsound good, let's set the case to RTBC.
Comment #6
Zen commentedDupe of http://drupal.org/node/117319 . Fixed with today's sync with HEAD.
Thanks,
-K