Skip to content

Tag: cpanel

Blank page issue for Laravel project in Subdomain

I am having a Blank Page issue for Laravel Project in a Sub-domain (cPanel). The root domain (https://ratul.info/) already has a Laravel application. So I was trying to upload another Laravel project in a Sub-domain (https://ecommerce.ratul.info/). Unfortunately, it was showing a White Screen with no error. S…

File not sending via cron job (PHP script)

I’m trying to create a cron job that sends an email with a file attachment once a day. I’m using a simple PHP script to test this and it works fine when I go to the URL and run it. However, when running it via the cron job, the email is sent but not the file attachment. Here’s my PHP

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…

Can’t include js files in php file on cpanel

I am trying to use a JavaScript library (from GitHub) on my website but I can’t get it to work. It works when I set it up in VS code but not when I upload my code to cpanel (along with the required files). The website is a wordpress site so I just create page templates and link the templates