Contents:
what do tap function do?
, what will do?
is set db config in env file?
is file exist in the directory?
Did you try artisan serve?
what do tap function do?
, what will do?
is set db config in env file?
is file exist in the directory?
Did you try artisan serve?
farshidrezaeii 2019-05-16 21:04:39
what do tap function do?
farshidrezaeii 2019-05-16 21:19:54
in:
$photo=Photo::find(1);
return tap($photo, function($photo) {
$photo->validated = true;
$photo->save();
});
, what will do?
farshidrezaeii 2019-05-16 21:29:16
but first $photo will not update?
farshidrezaeii 2019-05-16 21:31:31
thank you bro. 👍
skys215 2019-05-17 22:06:16
The problem is really obvious
skys215 2019-05-17 22:06:27
You don’t have that table
skys215 2019-05-17 22:07:03
or you are connecting to wrong server that uses same username and password which has no Webub table
farshidrezaeii 2019-05-17 22:20:52
is set db config in env file?
2019-05-18 00:22:39
i have one problem with laravel + vue
2019-05-18 00:22:50
can you help me please
2019-05-18 00:22:53
https://laracasts.com/discuss/channels/laravel/ant-find-appjs-in-laravel-using-webpackmixjs-on-fresh-installation?page=1
Can’t find app.js in Laravel using webpackmix.js on fresh installation – Laracasts
Hi, I installed Laravel using composer on my local machine and created a projet. laravel new whatever cd whatever npm install npm run watch The page…
Hi, I installed Laravel using composer on my local machine and created a projet. laravel new whatever cd whatever npm install npm run watch The page…
2019-05-18 00:23:14
i have same problem like this.
farshidrezaeii 2019-05-18 00:32:27
2019-05-18 00:23:14
i have same problem like this.
is file exist in the directory?
2019-05-18 00:33:16

farshidrezaeii 2019-05-18 00:38:58
2019-05-18 00:33:16
please stop artisan serve
then run
php -S localhost:8000 -t public
2019-05-18 00:41:45

farshidrezaeii 2019-05-18 00:47:38
2019-05-18 00:41:45
something wrong with your server
skys215 2019-05-18 01:04:19
I believe that table name is case-insensitive
2019-05-18 01:39:26
farshidrezaeii 2019-05-18 00:47:38
something wrong with your server
2019-05-18 01:40:02
i restarted my comp.
2019-05-18 01:40:43
now, i think server is working but still old problem
farshidrezaeii 2019-05-18 01:48:59
2019-05-18 01:40:43
now, i think server is working but still old problem
try it
public/css/app.css
public/js/app.js
2019-05-18 01:50:32
farshidrezaeii 2019-05-18 01:48:59
try it
public/css/app.css
public/js/app.js
public/css/app.css
public/js/app.js
on the console
2019-05-18 01:50:56
cd public/css/app.css
2019-05-18 01:51:06
or in the asset
farshidrezaeii 2019-05-18 01:52:07
2019-05-18 01:51:06
or in the asset
in the asset
2019-05-18 01:53:19

2019-05-18 01:53:27

2019-05-18 01:56:09
😭😭😭. there isn’t any mistake. but not working
DesolatorMagno 2019-05-18 01:57:59
2019-05-18 01:56:09
😭😭😭. there isn’t any mistake. but not working
Write the direction in the page directly you should see plain text.
DesolatorMagno 2019-05-18 01:58:52
And it is js/app.js
Ahmed Magdi 2019-05-18 01:59:31
DesolatorMagno 2019-05-18 01:57:59
Write the direction in the page directly you should see plain text.
If the file exist in folder
DesolatorMagno 2019-05-18 02:00:10
Obviously it won’t show if it don’t exist.
2019-05-18 02:05:16

2019-05-18 02:05:24

2019-05-18 02:05:42

2019-05-18 02:05:50
did you mean like this
2019-05-18 02:06:12
sory for my bad english
DesolatorMagno 2019-05-18 02:07:23

It should work, it can be that you don’t have the right permission.
DesolatorMagno 2019-05-18 02:09:07
2019-05-18 02:05:42
No, it don’t use “public”, you are already inside public.
2019-05-18 02:10:14
2019-05-18 02:05:24
do not i have permission app.js file
DesolatorMagno 2019-05-18 02:12:00
You are in Windows so i don’t know all the things that can happen there, usually it is about permission.
DesolatorMagno 2019-05-18 02:14:52
Did you try artisan serve?
2019-05-18 02:15:01
yes
DesolatorMagno 2019-05-18 02:15:14
https://laragon.org/
and this?
and this?
2019-05-18 02:16:08
no
DesolatorMagno 2019-05-18 02:16:39
It was pretty usefull to me when i was using windows.
2019-05-18 03:07:03
thanks everyone
2019-05-18 03:07:09
i found mistake
2019-05-18 03:08:53
in windows, my username was writen with russion letters and my project is located in desktop