Closed (fixed)
Project:
Role Expire
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Jul 2011 at 06:54 UTC
Updated:
7 Jul 2011 at 08:02 UTC
Below is the error message when i enable role expire the very first time.
DatabaseSchemaObjectExistsException: Table <em class="placeholder">role_expire</em> already exists. in DatabaseSchema->createTable() (line 629 of/var/www/mydomain.com/public_html/includes/database/schema.inc).
After that i try to access my user notification and got error pop out. Forget to copy error message for other error message, after i have restored my database.
Comments
Comment #1
stewsnoozeWas this site ever a d6 site that had role expire installed on it. It looks like you upgraded to d7 without role expire and then just turned it on but the d6 table still exists.
Comment #2
spacereactor commentedno, this is a new site, starting from drupal 7 few weeks ago, i already have other modules like og, panel ctools, notifications and etc. Can't remember if any of the modules require a role expire field.
Comment #3
spacereactor commentedForget inform you my server spec. Run on Mariadb 5.2.7, Nginx 1.04, php-fpm 5.3.5 and APC 3.1.9
I try to backup my database and try again.
Comment #4
stewsnoozeHI,
I realised that the d6 install file is still in place. I've removed the schema install stuff. I've pushed a change into git. It should be available in the next dev release.
Please let me know if this fixes it for you by closing the issue?
Thanks
Stew
Comment #5
spacereactor commentedthere are some of the example of the error after i enable role expire.
The first is on top when i enable role expire.
Next i find at user notifications tab
Same error when i update another user account using user1 account.
Comment #6
stewsnoozeI've raised the issue in #5 as #1211598: Form arrays not set properly