Closed (fixed)
Project:
Content Templates (Contemplate)
Version:
master
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
10 Oct 2010 at 11:32 UTC
Updated:
3 Jan 2014 at 02:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
bradleyvance commentedI received the same error.
Comment #2
gr33nman commentedThis pops up when you attempt to enable contemplate in Drupal Head:
DatabaseSchemaObjectExistsException: Table <em class="placeholder">contemplate_files</em> already exists. in DatabaseSchema->createTable() (line 621 of /home/lowlidrupal/dev.low.li/includes/database/schema.inc).Module then shows as enabled in Drupal.
Comment #3
molave commentedI just received the same error as well. Were you guys able to proceed?
Comment #4
sammyframson commentedI am receiving the same error when trying to enable the module in D7 alpha:
DatabaseSchemaObjectExistsException: Table contemplate_files already exists. in DatabaseSchema->createTable() (line 630 of /.../includes/database/schema.inc).
However, the module then shows enabled.
Comment #5
linuxamartillazos commentedi have a similar error in drupal 7.
Comment #6
tinny commentedGot same error on enabling module.
DatabaseSchemaObjectExistsException: Table contemplate_files already exists. in DatabaseSchema->createTable() (line 630 of C:\Program Files\xampp\htdocs\describe\includes\database\schema.inc).
The website encountered an unexpected error. Please try again later.
Comment #7
tuongaz commentedThis is because the
drupal_install_schema('contemplate');is called under the contemplate_install hook under the contemplate.install file.Drupal will automatically install tables returned from the contemplate_schema() hook so we don't need to call drupal_install_schema()
Comment #8
maddentim commented#7 patch resolved the issue for me. Thanks,
Comment #9
agerson commentedthis patched worked for me as well.
Comment #10
MGParisi commentedWorks! Can someone contribute it?
Comment #11
jrglasgow commentedthis patch has been committed