-
-
Notifications
You must be signed in to change notification settings - Fork 193
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
User class does not exist #2
Comments
Hi @vbezruchkin, thanks for your report. Can you be more specific, where do you get this error, when you load the web in browser? Can you please check, if you accidentaly don't have both |
@vbezruchkin we are about to merge this PR BRACKETS-by-TRIAD/admin-generator#2 which should fix problem with app/App folders. I'm not sure if this relates to this issue as well, but I guess that it does relate. |
Hi, Yes, it's when I run the server. Exactly - I have both app & App folders. Please advise. Thanks |
@vbezruchkin we have fixed this in BRACKETS-by-TRIAD/admin-generator#2 Easiest solution is to delete whole project and start over again with |
It worked fine in my MacOS environment. I managed to run it when I followed the instructions. I will check the issue tomorrow on my Windows (that's where I had this issue) and let you know the results. Thanks |
Guys, I still have the same problem on my windows:
I recreated the project using craftable new project_name command, but I still see two folders (app & App) in the project root :(( |
@vbezruchkin This is really weird. I have thought that on Windows there is not possible to have two folders that differ only in case. Anyway, we have tested this on windows as well and it works for us. So we need really more details. Can you send us version of windows, PHP, composer, craftable-installer and your composer.lock file? |
Well, I actually use Linux subsystem for windows 10, so I virtually use Ubuntu 16.04 on my windows box. Here is what I have:
Let me know if you need anything else. Thanks |
@vbezruchkin okay I think I know where the problem is. Problem is in your PHP version - for development (includes also for creating a craftable project) PHP 7.1 is required. If you have exiting Craftable project, 7.0 is enough for serving it in production. But 7.1 is required. What is actually happening here is that your Craftable is using other our package |
Ah ok thanks for the information. I will give it another chance later on mac. Cheers |
We will consider of simplifying our Documentation and just say you have to have PHP 7.1 (because now it may be confusing). |
I had the same issue. For solution i Created a new folder (App\Models) and dragged User.php into it. everything worked fine. |
hi guys,
I tried to install your package. No errors, it went smoothly.
Anyhow, here is what I get when I run it after installation:
Though I have App/Models/User.php
Please advise. Thanks
The text was updated successfully, but these errors were encountered: