Skip to content

Tag: laravel

Laravel redirect from index.php and index.html to domain

I am beginner webdeveloper. I have small problem with redirect. I have this htacess: It’s work fine. Now I need redirect from https://domain.pl/index.php and https://domain.pl.html to https://domain.pl I use Laravel 8. How can I make it? Answer The simplest way would be

Laravel query json column array

I am trying to access specific data in a json column using a laravel controller, the DB column is called ‘figuresinorder’. I want to access the “wants” key but it’s not working when there are multiple values stored. {“wants”: [“1”], “trades”: […

Laravel controller function times out, 50000 users

In my controller I have a have a function to check subscription status and update it in my database. The problem is with 50000 users, it takes too long to finish and times out. I’m sure I shouldn’t even process that many at a time but I kinda got stuck here and am not sure how exactly to approach …

laravel project on cpanel subdomain error: HTTP ERROR 500

I have a confusing error with laravel 7 project. This project when I uploaded it into the main directory It worked successfully. but when I uploaded it into a subdomain it gives me 500 error. I did steps that mentioned in this answer but it didn’t work also How to set up a laravel project on cPanel subd…