Is there is any help for me I have been learning laravel for a while but I have never work in group team and I nead to test my experince is there is any help or u have a team work to share with u?

|
stealthSnake 2021-02-16 21:10:09
amir_0787 2021-02-16 21:05:39
Target class [TermsController] does not exist.

Can you search globally in your text editor where you used the TermsController class in your project?

amir_0787 2021-02-16 21:13:39
stealthSnake 2021-02-16 21:10:09
Can you search globally in your text editor where you used the TermsController class in your project?

folder bootsrat/cache
vendor/composer
it is in these folder

stealthSnake 2021-02-16 21:16:06
Try run
composer install
amir_0787 2021-02-16 21:17:57
stealthSnake 2021-02-16 21:16:06
Try run
composer install

i did

stealthSnake 2021-02-16 21:19:27
Is your laravel project is fresh installed?
amir_0787 2021-02-16 21:20:31
stealthSnake 2021-02-16 21:19:27
Is your laravel project is fresh installed?

yes bro

stealthSnake 2021-02-16 21:21:00
How about clearing the caches of your project?
amir_0787 2021-02-16 21:22:56
stealthSnake 2021-02-16 20:16:42
If error still persist. Stop your server and enter all of this commands. Then rerun your server

i tried these

stealthSnake 2021-02-16 21:23:37
Screenshot your current route file. Include all the routes
amir_0787 2021-02-16 21:24:35
stealthSnake 2021-02-16 20:56:36
Try to comment out all of your routes then paste this.

use AppHttpControllersIndexController;
Route::get(‘front/’, [ IndexController::class, ‘index’])->name(‘home’);

i did it

amir_0787 2021-02-16 21:25:42
amir_0787 2021-02-16 21:24:35
i did it

laravel_discuss-70485.jpg

R 2021-02-16 21:47:52
hey
Roadmap to learn Laravel..
plz help..
agzpresh 2021-02-16 22:10:26
amir_0787 2021-02-16 21:05:39
Target class [TermsController] does not exist.

Check if you have the namespaces right

amir_0787 2021-02-16 22:15:00
stealthSnake 2021-02-16 21:23:37
Screenshot your current route file. Include all the routes

Yes

agzpresh 2021-02-16 22:28:05
amir_0787 2021-02-16 22:15:00
Yes

Could you screenshot the index controller class. It should show the class defination

agzpresh 2021-02-16 22:28:21
And also the namespace definition
agzpresh 2021-02-16 22:29:11
If possible, screenshot the file tree
amir_0787 2021-02-16 22:30:09
agzpresh 2021-02-16 22:28:05
Could you screenshot the index controller class. It should show the class defination

Sure
Give me a minute please

agzpresh 2021-02-16 22:30:46
Ok
black99hard 2021-02-16 22:31:25
Guys what is best paygetway for laravel ecommorce app ?
amir_0787 2021-02-16 22:32:48
agzpresh 2021-02-16 22:28:05
Could you screenshot the index controller class. It should show the class defination

laravel_discuss-70496.jpg
indexcontroller

nazmulpcc 2021-02-16 22:33:36
black99hard 2021-02-16 22:31:25
Guys what is best paygetway for laravel ecommorce app ?

Stripe, if they support your country

agzpresh 2021-02-16 22:33:54
amir_0787 2021-02-16 22:32:48
indexcontroller

Ok I see your problem now

agzpresh 2021-02-16 22:34:11
It has to do with your namespacing. It’s all wrong
black99hard 2021-02-16 22:34:49
nazmulpcc 2021-02-16 22:33:36
Stripe, if they support your country

Is it the best ?

g0kuaDL 2021-02-16 22:34:58
Iam not able to send mail using ssl
amir_0787 2021-02-16 22:35:10
agzpresh 2021-02-16 22:28:21
And also the namespace definition

laravel_discuss-70502.jpg

agzpresh 2021-02-16 22:35:18
amir_0787 2021-02-16 22:32:48
indexcontroller

You didn’t define a namespace in the controller

g0kuaDL 2021-02-16 22:35:51
It showing stream_socket_client unable to connect using SwiftMailer
agzpresh 2021-02-16 22:36:07
You’re welcome. I hope you can take it from here.
amir_0787 2021-02-16 22:36:33
agzpresh 2021-02-16 22:35:18
You didn’t define a namespace in the controller

how should i define one?

black99hard 2021-02-16 22:37:20
Is there is any help for me I have been learning laravel for a while but I have never work in group team and I nead to test my experince is there is any help or u have a team work to share with u ?!
agzpresh 2021-02-16 22:38:08
So at the top of the index controller, you write: namespace AppHttpControllersfront
agzpresh 2021-02-16 22:39:36
Then in the routes.php you import the index controller like so: use AppHttpControllersfrontIndexController
agzpresh 2021-02-16 22:39:50
That should work
|