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

Controller not exist on new setup #38

Closed
mohd-aidi opened this issue Jan 14, 2019 · 4 comments
Closed

Controller not exist on new setup #38

mohd-aidi opened this issue Jan 14, 2019 · 4 comments
Assignees

Comments

@mohd-aidi
Copy link

I just cloned and setting up in local. the setup went good and the website is good. but when trying to login or register it return error as below.

ReflectionException (-1)
Class Bpocallaghan\Titan\Http\Controllers\Auth\RegisterController does not exist

Class Bpocallaghan\Titan\Http\Controllers\Auth\LoginController does not exist
ReflectionException
C:\xampp\htdocs\las\vendor\laravel\framework\src\Illuminate\Container\Container.php
779
[object Object]

please someone help me if anything i missed out during the setup. maybe i need to add spmething in config folder?

@bpocallaghan
Copy link
Owner

Hi @mohd-aidi
Thanks for your interest.
I did some updates to the 'titan' package where these files must be.
Will checkout a new version now to have a looksy. Be back shortly

@bpocallaghan bpocallaghan self-assigned this Jan 14, 2019
@bpocallaghan
Copy link
Owner

bpocallaghan commented Jan 14, 2019

Hi @mohd-aidi
Mmmm, not having the same issue as you.

Do you mind sharing:

You did a "composer dump-autoload"?
The url (or are you using the login popup)?
Did you publish any of the files / controllers to your application?
Can you please verify that the files do exist in /vendor/bpocallaghan/titan/app/Controllers/Auth/...?
Also try "composer update" - to get latest packages including titan?
You did not change any routes / url - it still post the login to /auth/login?

Thanks!

@mohd-aidi
Copy link
Author

i didnt do composer dump-autoload.

i am sorry and thank you very much sir

@bpocallaghan
Copy link
Owner

Hi @mohd-aidi
Awesome, happy it is working for you!

Please shout when you have any questions. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants