What was the last you did?

|
YashGhantala 2019-05-22 08:22:49
php artisan dump-autoload
YashGhantala 2019-05-22 08:23:24
OR composer dump-autoload
YashGhantala 2019-05-22 08:25:36
once check your item model
YashGhantala 2019-05-22 08:27:01
it in correct directory?
DesolatorMagno 2019-05-22 08:27:44
Did you delete recently a package from composer?
DesolatorMagno 2019-05-22 08:31:11
What was the last you did? You could comment the item migration a delete temporally the item.php to see if the error continue.
DesolatorMagno 2019-05-22 08:31:44
I guess you tried downloading the protect again, in case it got corrupted.
YashGhantala 2019-05-22 08:31:45
try on diffrent PC
YashGhantala 2019-05-22 08:32:32
and also check laravel version of your project
DesolatorMagno 2019-05-22 08:32:52
Show the migration(just for items).
StanleyMasinde 2019-05-22 08:33:24
Please confirm you have a table called items
DesolatorMagno 2019-05-22 08:35:09
I trust more the code, that’s why I told you to share the migration.
YashGhantala 2019-05-22 08:38:28
try to delete and recreate it.
StanleyMasinde 2019-05-22 08:40:24
Try clearing all application cache
StanleyMasinde 2019-05-22 08:43:52
The migrations table tracks all your migrations. So if it’s not there laravel won’t know it
DesolatorMagno 2019-05-22 08:45:43
When you try artisan migrate it give a error, it don’t even create tables?
DesolatorMagno 2019-05-22 08:46:23
You tried deleting the table (dropping or whatever) and creating it again?
DesolatorMagno 2019-05-22 08:47:34
Create those migration files again and delete the old, and try dump-autoload
DesolatorMagno 2019-05-22 08:48:06
Create new, copy from old, delete old, dump-autoload.
DesolatorMagno 2019-05-22 08:50:53
If that don’t work you could try taking out those migrations and checking if it work only with user, remember to dump-autoload always, if that don’t work, you should search Holly water or something XD.
StanleyMasinde 2019-05-22 09:08:28
πŸ˜‚πŸ˜‚ only you could figure that out
DesolatorMagno 2019-05-22 09:12:47
Plop
Manoj Mehta 2019-05-22 14:59:45
Can I create routes automatically using admin
ErgashevXurshid 2019-05-22 15:05:23
Manoj Mehta 2019-05-22 14:59:45
Can I create routes automatically using admin

After login?

Manoj Mehta 2019-05-22 15:06:27
Yes I want to generate routes through admin
PHP Begginer 2019-05-23 13:43:02
hi guys , i am trying to connect via api but I get a long url .can someone assist
PHP Begginer 2019-05-23 13:43:14
laravel_discuss-6377.jpg

PHP Begginer 2019-05-23 13:45:32
“https://laravelapi.juandmegon.com/oauth/authorize?client_id=21&redirect_uri=http%3A%2F%2Fhttp-client-application.test%3A8081%2Fauthorization&response_type=code&scope=purchase-product+manage-products+manage-account+read-general ◀️”
skys215 2019-05-23 15:26:10
I think the token was expired, and u r not request as api, so it redirects you to the login page
2019-05-23 15:36:05
PHP Begginer 2019-05-23 13:43:02
hi guys , i am trying to connect via api but I get a long url .can someone assist

If you are redirecting to login page it could be 2 situations:

1 – your token expired
2 – or the credentials (what could be the same of the 1 but not means the same) is wrong.

2019-05-23 23:31:29
Hey fellas can anyone help me on migration
Error β€œ users table already exists β€œ please ASAP
2019-05-23 23:31:59
MySQL database
DesolatorMagno 2019-05-23 23:37:34
Maybe, it already exists?
ErgashevXurshid 2019-05-23 23:52:31
php artisan migrate:fresh
ErgashevXurshid 2019-05-23 23:53:21
Clean migration table and migrate again
2019-05-24 00:19:46
2019-05-23 23:31:29
Hey fellas can anyone help me on migration
Error β€œ users table already exists β€œ please ASAP

this is means the table is already exists….

2019-05-24 00:24:14
Yes it’s the fit table I have created but now I have created other migrations I can’t execute them because of this error
2019-05-24 00:24:56
because you’re probably trying do the same migration
2019-05-24 00:25:14
If they execute the the migration do not have schema with have timestamp and Id
2019-05-24 00:25:38
2019-05-24 00:24:56
because you’re probably trying do the same migration

So how do I migrate a new one

2019-05-24 00:25:52
Or how do I do my second migration
2019-05-24 00:26:36
Sorry, but i don’t understand what you trying to do
2019-05-24 00:26:45
it’ll be better if you give a example to us
2019-05-24 00:26:51
so every one can help you with that
2019-05-24 00:28:04
Okay let me give you one
2019-05-24 00:33:27
php artisan make:auth
πŸ‘† this is my first migration
Now I want to creat table called companies
2. Php artisan make: migration create_componies_table
2019-05-24 00:34:01
Wen I try to run the second migration it will tell me an error
2019-05-24 00:34:27
change the order.
2019-05-24 00:38:10
The first migration is to create an login and registration page

Then the second one if for application features depending on the users table

How would I do that now ?

2019-05-24 00:40:56
Or is there other command am missing ? Am a new bie
|