What free web hosting do you use to host your laravel 8 project?

|
badralwattar 2020-09-14 17:09:23
laravel_discuss-51067.jpg
the code (working on localhost but not working on heroku)
badralwattar 2020-09-14 17:10:23
laravel_discuss-51068.jpg
response from localhost (request is duplicated I just change the url)
imhajiiii 2020-09-14 17:14:43
laravel_discuss-51069.jpg
what is problem
imhajiiii 2020-09-14 17:15:11
laravel_discuss-51070.jpg

smartnathan2020 2020-09-14 17:37:24
badralwattar 2020-09-14 16:49:24
Hey guys
Laravel passport is working fine on my local machine (postman tested)

When I deploy it to heroku I face a problem with returning the access token

Any advices ?

Have you generated the passport key again?

badralwattar 2020-09-14 17:37:52
smartnathan2020 2020-09-14 17:37:24
Have you generated the passport key again?

php artisan passport:install ?

badralwattar 2020-09-14 17:38:13
I did 3 times 🌚💔
smartnathan2020 2020-09-14 17:39:21
badralwattar 2020-09-14 17:37:52
php artisan passport:install ?

Yeah

smartnathan2020 2020-09-14 17:39:33
badralwattar 2020-09-14 17:38:13
I did 3 times 🌚💔

Okay

smartnathan2020 2020-09-14 17:43:00
Run it on heroku and screenshot the response let me see.
aleemont 2020-09-14 18:53:50
parmonov98 2020-09-14 16:29:51
Laravel project after uploading to ubuntu server. it is not working.
“require”: {
“php”: “^7.3”,
“fideloper/proxy”: “^4.2”,
“fruitcake/laravel-cors”: “^2.0”,
“guzzlehttp/guzzle”: “^7.0.1”,
“intervention/image”: “^2.5”,
“laravel/framework”: “^8.0”,
“laravel/tinker”: “^2.0”,
“laravel/ui”: “^3.0”,
“laravelcollective/html”: “^6.2”,
“spatie/laravel-collection-macros”: “^7.0”
},
“require-dev”: {
“facade/ignition”: “^2.3.6”,
“fzaninotto/faker”: “^1.9.1”,
“mockery/mockery”: “^1.3.1”,
“nunomaduro/collision”: “^5.0”,
“phpunit/phpunit”: “^9.3”
},

PHP7.4, on server, on local too.
how can I debug what’s wrong with ubuntu server?

What do you mean with “it’s not working”?
Does it show any error or throws any exception?

aleemont 2020-09-14 18:55:14
badralwattar 2020-09-14 17:10:23
response from localhost (request is duplicated I just change the url)

Look into the log files

aleemont 2020-09-14 18:56:53
imhajiiii 2020-09-14 17:15:11

Put the code on pastebin
It’s difficult to read from screen photos

parmonov98 2020-09-14 18:57:00
aleemont 2020-09-14 18:55:14
Look into the log files

I gave a command to change permissions of root folder of project. it has been setting them up for almost 1 hours.

aleemont 2020-09-14 18:57:42
parmonov98 2020-09-14 18:57:00
I gave a command to change permissions of root folder of project. it has been setting them up for almost 1 hours.

Are you sure that your hosting service supports that?

Bittle 2020-09-14 18:57:54
imhajiiii 2020-09-14 17:15:11

You’re saying $users->id. $users is a collection of items, not just 1 item

parmonov98 2020-09-14 18:58:31
aleemont 2020-09-14 18:57:42
Are you sure that your hosting service supports that?

it is kinda, ubuntu server, VPS. there shouldn’t be problem with changin permissions.

aleemont 2020-09-14 18:59:21
parmonov98 2020-09-14 18:58:31
it is kinda, ubuntu server, VPS. there shouldn’t be problem with changin permissions.

What hosting service are you using?

parmonov98 2020-09-14 18:59:43
hostinger
aleemont 2020-09-14 19:04:33
Try to contact their customer care service
parmonov98 2020-09-14 19:08:45
aleemont 2020-09-14 19:04:33
Try to contact their customer care service

failed to open stream: Operation not permitted in

parmonov98 2020-09-14 19:08:56
error, I got in logs.
aleemont 2020-09-14 19:11:23
parmonov98 2020-09-14 19:08:45
failed to open stream: Operation not permitted in

Google it

yudifaturohman 2020-09-14 19:16:54
parmonov98 2020-09-14 16:29:51
Laravel project after uploading to ubuntu server. it is not working.
“require”: {
“php”: “^7.3”,
“fideloper/proxy”: “^4.2”,
“fruitcake/laravel-cors”: “^2.0”,
“guzzlehttp/guzzle”: “^7.0.1”,
“intervention/image”: “^2.5”,
“laravel/framework”: “^8.0”,
“laravel/tinker”: “^2.0”,
“laravel/ui”: “^3.0”,
“laravelcollective/html”: “^6.2”,
“spatie/laravel-collection-macros”: “^7.0”
},
“require-dev”: {
“facade/ignition”: “^2.3.6”,
“fzaninotto/faker”: “^1.9.1”,
“mockery/mockery”: “^1.3.1”,
“nunomaduro/collision”: “^5.0”,
“phpunit/phpunit”: “^9.3”
},

PHP7.4, on server, on local too.
how can I debug what’s wrong with ubuntu server?

try it https://stackoverflow.com/questions/31543175/getting-a-500-internal-server-error-on-laravel-5-ubuntu-14-04

Getting a 500 Internal Server Error on Laravel 5+ Ubuntu 14.04Stack Overflow
I have installed Laravel many times on Windows OS but it never occurred this type of problem. This 500 internal server usually occurs when your “mod_rewrite” module is not turned on.

However, on …

badralwattar 2020-09-14 19:17:03
aleemont 2020-09-14 18:55:14
Look into the log files

Nothing interesting actually 💔🙄

badralwattar 2020-09-14 19:17:15
The response is not saved in the logs
yudifaturohman 2020-09-14 19:18:15
badralwattar 2020-09-14 17:09:23
the code (working on localhost but not working on heroku)

php artisan passport:install

badralwattar 2020-09-14 19:20:02
What I found until now that I need to require laravel passport again on heroku server

And when I do that it says that the memory is full

Ravi Teja Bhadri 2020-09-14 19:20:43
natghi2010 2020-09-13 19:56:04

Route syntax change in laravel 8

yudifaturohman 2020-09-14 19:23:41
try checking the memory limit in php.ini
DesolatorMagno 2020-09-14 19:37:18
jhayforshort 2020-09-14 09:05:55

Do yourself a big favor, don’t use request all, use the result of validate.

https://laravel.com/docs/7.x/validation#quick-writing-the-validation-logic

2020-09-14 20:30:32
Hey guys,

how to maintain logs of crud,

When I delete update any record
?

AMIT 2020-09-14 20:34:31
Use auditrail package
http://www.laravel-auditing.com/docs/9.0/installation

Installation – Laravel AuditingLaravel-Auditing
Laravel Auditing allows you to record changes to an Eloquent model’s set of data by simply adding its trait to your model.
AMIT 2020-09-14 20:34:58
The best way so far.
AMIT 2020-09-14 21:25:15
Automatic Controller Namespace Prefixing

Likelihood Of Impact: Optional

In previous releases of Laravel, the RouteServiceProvider class contained a $namespace property with a value of AppHttpControllers. This value of this property was used to automatically prefix controller route declarations controller route URL generation such as when calling the action helper.

In Laravel 8, this property is set to null by default. This allows your controller route declarations to use the standard PHP callable syntax, which provides better support for jumping to the controller class in many IDE.

Please refer Routing section:
https://laravel.com/docs/8.x/upgrade

Mikedee 2020-09-14 22:24:44
Hi everyone am trying to add a message component in the main component but when i add “vue.use(…)” in the app.js this causes the screen size to split into half
What could be the issue here
sriniprabu 2020-09-14 23:03:01
Hi, any one with experience in SSO. Can you guide me pls. I need to set up a SSO where multiple domains and sub-domains will login using a passport.domain.com login possible using username, email mobile number and third party social login the process involved is kind of mind boggling!
aleemont 2020-09-15 00:18:54
What free web hosting do you use to host your laravel 8 project?
VimKanzo 2020-09-15 00:28:17
2020-07-16 10:27:05
How to integrate sms gateway in laravel? Please help

Try https://helliomessaging.com

Africa’s Most Trusted and Reliable Enterprise Cloud Messaging Solutions Providerhttps://helliomessaging.com
Africa’s most trusted and reliable Bulk SMS provider in Ghana. Built with software developers in mind. Use our free Java SMS API,PHP SMS API, .NET (C#,VB.NET,C++/CLI) SMS API, Ruby SMS API, Go SMS API, Perl SMS API, Nodejs SMS API, Excel SMS plugin.
2020-09-15 04:47:10
https://youtu.be/mW01pLXnvyk

Laravel Track Model RecordsYouTube
Whenever users are update the record, You can track them by this tutorial.
2020-09-15 05:43:58
Inshorts News App clone

#inshorts #news #app #clone #60words #news

Inshorts News App Clone | Vertical ViewPager | Android Studio TutorialYouTube
In this video series we will make Inshorts news app clone in android studio.
In this video we will make vertical viewpager for news app.

► Timestamps
0:00 Intro
1:06 Create Vertical ViewPager Class
1:52 Implement transformpage
2:40 Check Page Positions
8:28 Swap XY Coordinate
10:27 Implement Intercept Touch Event
11:44 Implement Touch Event

Thanks for watching!
Like & Subscribe For More!

Anu 2020-09-15 07:45:02
laravel_discuss-51125.jpg
what is “238” in answer section ?
FairInaction 2020-09-15 08:12:27
Anu 2020-09-15 07:45:02
what is “238” in answer section ?

That’s TTL

Anu 2020-09-15 08:16:47
FairInaction 2020-09-15 08:12:27
That’s TTL

ok thx

GistOf 2020-09-15 09:02:03
aleemont 2020-09-15 00:18:54
What free web hosting do you use to host your laravel 8 project?

Free hosting will often make you cry. Sacrifice a bit and get VPS

GistOf 2020-09-15 09:02:46
aleemont 2020-09-15 00:18:54
What free web hosting do you use to host your laravel 8 project?

Are you in SA?

Pro 2020-09-15 09:16:02
GistOf 2020-09-15 09:02:03
Free hosting will often make you cry. Sacrifice a bit and get VPS

+10000000

2020-09-15 11:37:33
https://youtu.be/TYyKckOvt-M

use same namespace classesYouTube
Laravel use same namespace classes
….Rr 2020-09-15 12:12:00
need help in updating image public function edit(Post $post)
{
return view(‘admin.posts.edit’,[‘post’=>$post]);
}
public function update(Post $post)
{
$inputs = request()->validate([
‘title’=>’required|min:8|max:255’,
‘post_image’=>’file’,
‘body’=>’required’
]);
if(request(‘post-image’))
{
$inputs[‘post_image’]=request(‘post_image’)->store(‘images’);
$post->post_image=$inputs[‘post_image’];
}
$post->title = $inputs[‘title’];
$post->body=$inputs[‘body’];

$post->update();
// auth()->user()->posts()->save($post);
session()->flash(‘updated-message’,’Post was Updated’ .$inputs[‘title’]);
return redirect()->route(‘post.index’);
} this code only updates the title and body.

Billa_Bongg 2020-09-15 12:25:47
What is a fully fledged user management package that I can use?
|