What is the format of the file you wanna include?

|
Joshteek 2019-03-26 22:02:23
You can as well trigger a query to either update or delete row when something is triggered.
nikhil_ev 2019-03-26 22:12:05
nikhil_ev 2019-03-24 08:16:14
Hi guy i some how managed to set up laravel api and working fine with postman get.. but when i request api from angular it gives this.. i know the issue is with cross domain request and tried cors middle ware still issue.. Any help😭😭
Laravel 5.8
Angular 7

Hello guys i was got stuck in this.. i have configured and done as per the https://github.com/barryvdh/laravel-cors
It didn’t helped me.. the same error repeating any help is appreciated

GitHub – fruitcake/laravel-cors: Adds CORS (Cross-Origin Resource Sharing) headers support in your Laravel applicationGitHub
Adds CORS (Cross-Origin Resource Sharing) headers support in your Laravel application – GitHub – fruitcake/laravel-cors: Adds CORS (Cross-Origin Resource Sharing) headers support in your Laravel ap…
nikhil_ev 2019-03-26 22:13:29
Post man get is working fine.. I just dd() a value to test
nikhil_ev 2019-03-26 22:13:48
laravel_discuss-4030.jpg

nikhil_ev 2019-03-26 22:14:38
But when i request through angular
nikhil_ev 2019-03-26 22:15:01
laravel_discuss-4032.jpg

nikhil_ev 2019-03-26 22:15:28
laravel_discuss-4033.jpg

nikhil_ev 2019-03-26 22:15:36
Gives this error.. Anh help please
nikhil_ev 2019-03-26 22:17:00
Is this issue with angular?. I guss its the laravel side issue
T_r_a_p_s_o_u_l 2019-03-27 00:08:41
please am starting laravel please which site or YouTube channel do u recommend
hazhir 2019-03-27 00:15:08
T_r_a_p_s_o_u_l 2019-03-27 00:08:41
please am starting laravel please which site or YouTube channel do u recommend

You watch free courses on laracasts.com

T_r_a_p_s_o_u_l 2019-03-27 00:17:53
hazhir 2019-03-27 00:15:08
You watch free courses on laracasts.com

Thanks man

rafaellaurindo 2019-03-27 05:41:55
Send the server error log
rafaellaurindo 2019-03-27 05:43:11
nikhil_ev 2019-03-26 22:15:28

You need enable the CORS in you Laravel app

nikhil_ev 2019-03-27 05:44:11
I did
rafaellaurindo 2019-03-27 05:53:57
Hnm..
rafaellaurindo 2019-03-27 05:54:08
How have you enabled it ?
nikhil_ev 2019-03-27 06:50:54
nikhil_ev 2019-03-26 22:12:05
Hello guys i was got stuck in this.. i have configured and done as per the https://github.com/barryvdh/laravel-cors
It didn’t helped me.. the same error repeating any help is appreciated

Followed this

nikhil_ev 2019-03-27 06:53:50
Or this is issue with angular header or something
Harrisdtt 2019-03-27 07:11:19
laravel_discuss-4052.jpg
https://medium.com/binarcode/laravel-5-6-custom-monolog-channel-to-store-logs-in-mariadb-23da52f537e7
i copy it form here and my laravel is 5.7
i don’t know what is need to configure.
not show me errors and also not insert data to the db. Please.
razaririr 2019-03-27 08:06:21
Hello.
Help help help
Who is that work with
Ngrok
(For Connect to server telegram)
Norieka 2019-03-28 08:12:12
Hello Team member
May I know in Laravel
in blade can we include file from folder public?

for example in folder public i put file abc.html
& in view index.blade.php
i put include(‘public/abc.html’)

RajkotRocks 2019-03-28 08:21:35
You use {{ asset(‘abc.html’)}}
RajkotRocks 2019-03-28 08:21:41
In blade file
Norieka 2019-03-28 08:23:17
ok i try
Norieka 2019-03-28 08:27:40
local.ERROR: View [public.
RajkotRocks 2019-03-28 08:28:27
Send screen shot please
Hfally 2019-03-28 08:28:44
What is the format of the file you wanna include?
RajkotRocks 2019-03-28 08:29:02
Hfally 2019-03-28 08:28:44
What is the format of the file you wanna include?

.html

Norieka 2019-03-28 08:29:29
htmlreceipt.php?argument1=1donut.bin
Hfally 2019-03-28 08:30:31
Try using raw php there.

<?php include url(”file.html”); ?>

2019-03-28 18:12:57
Fatal error: require(): Failed opening required ‘/var/home/public_html/../bootstrap/autoload.php’ (include_path=’.:/opt/alt/php72/usr/share/pear’) in /var/home/public_html/index.php on line 23
2019-03-28 18:12:57
i deploy laravel project to shared host and change index.php and add folder name but show this πŸ‘‡πŸ»πŸ‘‡πŸ»πŸ‘‡πŸ»error β€”change php version
vasanthamohan 2019-03-28 19:37:09
Incorrect folder path
2019-03-28 20:31:57
vasanthamohan 2019-03-28 19:37:09
Incorrect folder path

how find correct path folder

2019-03-28 20:35:49
/
β€”-project/
β€”β€”β€”β€”–app
β€”β€”β€”β€”–bootstrap
β€”-public_html/
β€”β€”β€”β€”–index.php
2019-03-28 20:36:15
πŸ‘†πŸ»my folder
vasanthamohan 2019-03-29 03:59:05
2019-03-28 18:12:57
Fatal error: require(): Failed opening required ‘/var/home/public_html/../bootstrap/autoload.php’ (include_path=’.:/opt/alt/php72/usr/share/pear’) in /var/home/public_html/index.php on line 23

Remove ../ before the botstrap

Leetump 2019-03-29 07:53:46
I have everything all set up and I see the url of the image if I inspect the image url http://localhost/storage/1/conversions/Jeery-thumb.jpg but this url is returning 404 on my browser when i navigate to this path. I then tried it with the port my laravel project was running on 8000 and then it showed localhost:8000/storage/1/conversions/Jeery-thumb.jpg How should this be handled ?
Leetump 2019-03-29 07:58:39
In spatie media library
scaryMC 2019-03-29 11:28:11
prabhjd 2019-02-21 01:59:38

Before the β€œorderBy()” put β€œquery()” and it will be ok.
The problem, I think, is because Laravel is based on static call and IDE are sometimes lost

ErgashevXurshid 2019-03-29 12:40:48
Hello guys, in my computer installed php 7.3 and my laravel project php 7.1.3
ErgashevXurshid 2019-03-29 12:42:30
laravel_discuss-4087.jpg

ErgashevXurshid 2019-03-29 12:42:30
I wanna use Image::make(‘ but I get this error
ErgashevXurshid 2019-03-29 12:43:23
Help me plz
Mnikoei 2019-03-29 12:44:54
ErgashevXurshid 2019-03-29 12:42:30

this package uses GD library , your web server has not this library , you should install it

ErgashevXurshid 2019-03-29 12:59:44
Mnikoei 2019-03-29 12:44:54
this package uses GD library , your web server has not this library , you should install it

Thanks bro

ErgashevXurshid 2019-03-29 12:59:50
Work it
Testuserid 2019-03-29 13:40:41
Hi gyz
I want to get uploaded image’s real path. I have tried getRealPath() but its not wprking…
Do you have any solution for that?
PHP Begginer 2019-03-29 15:04:02
I am having some problem with implementing ACL ,Please find the errors on this link https://pastebin.com/mGVm6Py3

$ php artisan migrate PHP Fatal error: Cannot declare class CreateRoleUserTabl – Pastebin.comPastebin
|