Comments (4)
I think the issue is that when you remove the plugin it doesn't clean the all the tables properly and when you try reinstalling the plugin, this error is thrown. I had to manually remove all the columns injected by the plugin to make this work.
from userextended.
Yea, I was struggling with this a few months ago and I was hoping I had fixed it. It has to do with the original tables structure having two primary keys and the DB migration scripts not playing nicely with that.
Thanks for the report, I will look into a way to solve this problem later today. I may end up just creating a separate users_groups table rather than trying to inject a column.
from userextended.
Potential fix: Creating a migration which drops the the users_groups and user_groups table and rebuilds them from scratch. On artisan down, it will drop the tables again, and create them exactly how Rainlab.User creates them.
This should provide compatibility with other plugins and features which utilize existing Rainlab user_groups models as well as migrations.
Drawback:
- It will remove any existing groups relations in the application at the time of installing the plugin.
I've coded this up and pushed to the pre-release branch.
from userextended.
Ran a fresh install test on this and then ran php artisan plugin:refresh on the UserExtended plugin. The solution above seems to have fixed the problem.
from userextended.
Related Issues (20)
- Forcing Friends causes friend list error HOT 3
- Password Validation should not be required on settings update
- Creating a timezone throws SQL error HOT 1
- SQL Errors in backend HOT 1
- Installation fails on MariaDB HOT 7
- Cant find .../Route/fields.yaml, in Backend\Behaviors\FormController." on line 63 HOT 1
- "attempts" cant be NULL on adding route (PostgreSQL) HOT 1
- clake_userextended_route_restriction.attempts cant be NULL HOT 1
- Permissions are not working
- Mysql error and not install HOT 2
- Change username URL HOT 2
- Error when submitting comment
- Role Manager: Trying to get property of non-object
- config_form.yaml error in path Fix.
- While registering Im getting undefined property error. HOT 1
- Add UE support to Social Connect
- Cannot access to user profile.
- Maria DB Support
- Enhance documentation to provide support to modify default components partials
- How to access fields in the Front end?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from userextended.