Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InvalidArgumentEception and deleting users #39

Closed
ghost opened this issue Feb 27, 2016 · 2 comments
Closed

InvalidArgumentEception and deleting users #39

ghost opened this issue Feb 27, 2016 · 2 comments
Assignees
Labels

Comments

@ghost
Copy link

ghost commented Feb 27, 2016

Hello,

First at all I would like to say that this project is amazing! I have succesfully installed the Contentify demo on a local virtual machine, everything is working correctly beside when I click on "Modules" in the backend panel I recieve this error:
InvalidArgumentException in Finder.php line 677: The "/var/www/html/contentify/app/modules" directory does not exist. here is the fully detailed error: http://pastebin.com/uAyHufNE

This is from the standard demo installation without any adjustements made running on Ubuntu 14.04. I expect this error occurs because certain files link to the directory contentify/app/modules/ while the folder is called contentify/app/Modules/ ?

I also wonder if it's possible to delete certain users instead of just deactivating them (suggestion?), I tried deleting them manually in the database with a query to remove them on ID in the users table but that caused the site to go blank after removing serveral users, I guess because certain users are linked to a team this causes the database to go faulty?

Thank you in advance!

Regards,
Joseph

@chriskonnertz chriskonnertz self-assigned this Feb 27, 2016
@chriskonnertz
Copy link
Member

Hi,

First at all I would like to say that this project is amazing!

Thanks! :)

everything is working correctly beside when I click on "Modules" in the backend panel I recieve this error

The demo website is not 100% up-to-date. I believe there is a fix for this bug:

180dad8

Sounds like that is what you have already detected. Can you apply the fix from the commit and leave a note here if it worked?

I also wonder if it's possible to delete certain users instead of just deactivating them (suggestion?)

That's not possible atm. Why? Well you have experienced why. ;) There are a lot of dependencies and SQL queries might fail if a user is missing but models / content created by this user still exists.

Honestly, deleting is a general problem. It's on the to-do-list for Contentify 2 but currently I do not expect that deleting users will be possible.

@ghost
Copy link
Author

ghost commented Feb 27, 2016

Sounds like that is what you have already detected. Can you apply the fix from the commit and leave a note here if it worked?

Applied the commit and that did fix the issue, Thank you!

That's not possible atm. Why? Well you have experienced why. ;) There are a lot of dependencies and SQL queries might fail if a user is missing but models / content created by this user still exists.

Honestly, deleting is a general problem. It's on the to-do-list for Contentify 2 but currently I do not expect that deleting users will make it the code.

No problem, that's understandable.

@ghost ghost changed the title Contentify Demo Errors InvalidArgumentEception and deleting users Feb 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant