Looks like you are missing an opening / on line 2 ofjquerymenu.module which is causing the install to fail.
I correctly commented this out and manually deleted the module and am now getting the following error:
DatabaseSchemaObjectExistsException: Table <em class="placeholder">jquerymenus</em> already exists. in DatabaseSchema->createTable() (line 652 of /var/www/html/mytheme/includes/database/schema.inc).
Weird as I cleared cache down and had already manually deleted the jquerymenus table
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | jquerymenu-install-fix.patch | 4.57 KB | likewhoa |
Comments
Comment #1
pat redmond commentedHmm, that is strange. I can't see where you mean. The opening line is
for both jquerymenu.module and jquerymenu.install, so adding an extra slash shouldn't be required...
Can you paste a few lines of code so I can get an idea of what you are looking at? And check whether it is the module file or the install file.
Can you also let me know which version of D7 you are using?
Comment #2
dp_warren commentedSure - the opening lines for jquerymenu.module for me are:
I've downloaded the module again this morning to double check but it definitely what I'm seeing.
Drupal version 7.12
Comment #3
pat redmond commentedOK, that sucks... How did I manage to upload the wrong version? So, the first D7 release isn't actually the D7 release. I will fix it in the morning - off to paint the bathroom now.
Comment #4
brst t commentedAnd jquerymenu.info Line 4 is showing 6.x instead of 7.x
Package should reuse a pattern like "User interface" or "Other" so people can readily find it in the module listing, too.
Comment #5
pat redmond commentedOK, thanks. I've included that in the code for the next release.
I have changed the package to 'User Interface', although I wonder if long-term jquerymenu users will be used to it being in 'Advanced Navigation Pack'? Despite that, I think 'User Interface' is probably more correct, and so I have included that.
Comment #6
brst t commentedJust downloaded 7.x-2.0-alpha2 and that info file still has the 'doesn't work for 7' 6.x
Nothing's changed in this regard.
Comment #7
brst t commentedComment #8
pat redmond commentedOk, this too has been updated in 2.0-alpha3. Again, an issue with whatever I am doing wrong with git.
Comment #9
giupenni commentedSame problem in 7.x-2.0-alpha6.
When I enable the module I have this error:
DatabaseSchemaObjectExistsException: La tabella <em class="placeholder">jquerymenus</em> esiste già. in DatabaseSchema->createTable() (linea 652 di /media/dude/www/mysite/drupal/includes/database/schema.inc).Comment #10
pat redmond commentedCan you uninstall the module entirely, then re-install 7.x-2.0-alpha6? Let me know if that fixes the problem.
Comment #11
R2-D8 commentedI was having the same problem as mentioned in #9.
Problem and solution are simple:
The jquerymenu.install-file is wrong.
In drupal-7.x both, the install- and uninstall-function, do not have to call for a schema installation/uninstallation anymore.
Instead one could provide status-messages.
Fixed jquerymenu.install:
Comment #12
likewhoa commentedattached patched based on #11, also apply #1515292: Parse error: syntax error, unexpected '*' in jquerymenu.module so you're able to enable the module properly.
Comment #13
likewhoa commentedComment #14
pat redmond commentedThanks. That is definitely fixed in the new version.
Comment #15
dadaisme commentedHi!
Same error appears whit the 7.x-3.x-dev : DatabaseSchemaObjectExistsException: Table jquerymenus already exists.
Thx.
[edit: I tried 7.x-2 and I obtained the same error.]
Comment #16
pat redmond commentedOK, I've added it again. Must have been lost in the problems I was having with git.
Let me know if it is still causing you issues.