Laravel – Nginx 404 page on production on every exception
I have no idea why in my staging server kept showing Nginx 404 Not Found where there is a crash while locally, I can see perfectly fine Even if it show 404 not found, I can go to the log…
I have no idea why in my staging server kept showing Nginx 404 Not Found where there is a crash while locally, I can see perfectly fine Even if it show 404 not found, I can go to the log…
I want to create unique slug for same title. Example - www.xcv.com/ght-ghy/ Example 1 - www.xcv.com/ght-ghy-1/ Here is my controller code: public function addPostDetails(Request $request) { $postTitle = $request->postTitle; $postDesc = $request->postDesc; $postCat = $request->postCat; $postTags = $request->tagid; $tags =…
In my job there's a Codeingiter 2.x project running in an obsolete version of PHP. Therefore as an upgrade we want to migrate into Laravel. But due to manpower starvation and time starvation I though I could reuse the codeingiter's…
I'm running a laravel-5.8-application and I want to install the spatie/laravel-query-builder, but for some reason, when I run composer require spatie/laravel-query-builder I get some errors: Your requirements could not be resolved to an installable set of packages. Problem 1 -…
Every time I do an ajax request the Laravel always return the JSON response with so many whitespaces in front of the response text so the response always executed in error, not in the success section of ajax request, and…
I have been googling and reading on this for several days. I am unable to update my Laravel project from 5.7 to 5.8, due to dependencies. When I update the dependency package version values in composer.json and try to perform…
I Created one Project in Laravel 5.8. In my Local Environment(PHP 7.2) its working good. when i hosted this project in to my server(PHP 7.1) using cpanel after login its return 419 Page Expired Error. Mylogin Form Code : <form…
I uploaded a laravel-5.8 project to a shared hosting cpanel. The problem is when I access index.php it gives me an error 500. Here is my project directory I didn't transfer the public folder yet. but it should work when…
Everything works perfectly okay on localhost but when migrated to godaddy live server(cpanel) I keep getting this error (Undefined offset: 0) on my blade view I have tested the application on my localhost using XAMPP running PHP 7.2.12 and it…
I upgrade laravel to 5.8 from 5.3 using laravelshift one step at a time and tested each upgrade e.g Upgrade to 5.4, tested Upgrade to 5.5, tested ... Upgrade to 5.8, tested but when I deploy it on the server,…