bpocallaghan / laravel-admin-starter

A Laravel Admin Starter project with Page Builder, Roles, Impersonation, Analytics, Blog, News, Banners, FAQ, Testimonials and more
http://bpocallaghan.co.za
341 stars 92 forks source link

Controller not exist on new setup #38

Closed mohd-aidi closed 5 years ago

mohd-aidi commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

i didnt do composer dump-autoload.

i am sorry and thank you very much sir

bpocallaghan commented 5 years ago

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

Please shout when you have any questions. Thanks