Blog

Page 257 of my articles, tutorials, and thoughts

Latest Articles

Cover Image for There is no existing directory at /storage/logs and its not buildable: Permission denied

There is no existing directory at /storage/logs and its not buildable: Permission denied

Published on September 2, 2023

Title: 🚫💼 Solving the "Permission Denied" Issue in Laravel Deployment: No Directory at /storage/logs Introduction: Hey there, tech enthusiasts! 👋 Are you facing the dreaded "Permission Denied" error while deploying your Laravel application on an OVH we

Cover Image for Laravel Mix "sh: 1: cross-env: not found error"

Laravel Mix "sh: 1: cross-env: not found error"

Published on September 2, 2023

🔥 **Fixing the "cross-env: not found" error in Laravel Mix** So you've been working on setting up Laravel Mix in your project, following the install guide on the Laravel website, but you keep running into a frustrating error: "sh: 1: cross-env: not found

Cover Image for MassAssignmentException in Laravel

MassAssignmentException in Laravel

Published on September 2, 2023

# 🌟 Unraveling the MassAssignmentException in Laravel 🌟 Hey there, Laravel newbie! 👋 Are you baffled by an exception that's disrupting your attempts to seed your database? Fear not, as I'm here to shed some light on the mysterious MassAssignmentExcepti

Cover Image for Laravel: PDOException: could not find driver
mysql

Laravel: PDOException: could not find driver

Published on September 2, 2023

# 🚀 Laravel: PDOException: could not find driver 🚀 So you're developing a website using Laravel, but you're facing a pesky issue: `PDOException: could not find driver`. Don't worry, I've got your back! 🤓 ## Understanding the Error This error commonly

Cover Image for How to install PHP composer inside a docker container

How to install PHP composer inside a docker container

Published on September 2, 2023

# How to Install PHP Composer Inside a Docker Container If you're working on a Laravel project using Docker, you might encounter the need to have PHP Composer inside your Docker container. This becomes essential when working with database migration, as La

Cover Image for Installing specific laravel version with composer create-project

Installing specific laravel version with composer create-project

Published on September 2, 2023

📝 **Title: Installing a Specific Laravel Version with Composer Create-Project Made Easy** Hey there, tech-savvy readers! 👋 So, you want to install a specific version of Laravel using the `composer create-project` command? We've got you covered! 🎉 Inst

Cover Image for "The page has expired due to inactivity" - Laravel 5.5

"The page has expired due to inactivity" - Laravel 5.5

Published on September 2, 2023

# The page has expired due to inactivity - Laravel 5.5: Common Issues and Easy Solutions Do you find yourself encountering the error message "The page has expired due to inactivity" when using Laravel 5.5? Fear not, because in this blog post, we'll explor

Cover Image for Composer: file_put_contents(./composer.json): failed to open stream: Permission denied

Composer: file_put_contents(./composer.json): failed to open stream: Permission denied

Published on September 2, 2023

# 🎵 Solving "Permission Denied" Error When Installing Prestissimo in Ubuntu 16.04 Server 🎵 So, you're trying to install [Prestissimo](https://github.com/hirak/prestissimo) on your Ubuntu 16.04 server, but you keep encountering the dreaded "Permission de

Cover Image for eloquent laravel: How to get a row count from a ->get()

eloquent laravel: How to get a row count from a ->get()

Published on September 2, 2023

## How to Get a Row Count from a `->get()` in Eloquent Laravel So, you're using Laravel's Eloquent ORM and you're facing a problem when trying to get a row count from a `->get()` query result. Don't worry, you're not alone! Many developers struggle with t

Cover Image for Error in exception handler. - Laravel

Error in exception handler. - Laravel

Published on September 2, 2023

# 🚨 Error in Exception Handler - Laravel! 🚨 So, you've encountered the dreaded "Error in exception handler" message in your Laravel application, huh? Don't worry, we've got your back! In this blog post, we'll address common issues that cause this error