Giter VIP home page Giter VIP logo

laravel-multiauth's Introduction

I'm Sano

a software engineer based in LA

I write tech articles, run regularly, listen to TOOL, and love turning ideas into things.

Website

BoolFalse

Me on the Net:

boolfalse @boolfalse boolfalse 7574023 boolfalse

Tech stack I use:

appwrite aws bash docker elasticsearch firebase git graphql javascript jenkins laravel linux mongodb mysql nestjs nextjs nginx nodejs php postgresql postman python react reactnative redis redux spring typescript vuejs

Feel free to open an issue on my repositories โญ
or reach out to me on any of the media platforms above. ๐Ÿ˜‡

laravel-multiauth's People

Contributors

boolfalse avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

laravel-multiauth's Issues

Seeder doesn't like $filepath

I have created this in Laravel 7.4 and it mostly works, but when trying to seed the database with users it shows the following error:
getimagesize(): read of 8192 bytes failed with errno=21 Is a directory

If I die and dump $filepath just before the $getImageSize = getimagesize($filepath); I get the correct file path with the faker image shown at the end as a .jpg image:
"/home/vagrant/code/car_app/storage/app/public/user-images/2020/6/23/24541ee1986411e54cbcb0c8b80482a9.jpg"

Taking out the getimagesize() section and replacing with fixed data shows an error on the next call to $filepath which is '$img = Image::make($filepath)' and the error says 'Image source not readable'

I have tried replaced $filepath with the value of $filepath (storage_path('app' . DIRECTORY_SEPARATOR .
'public' . DIRECTORY_SEPARATOR .
config('project.user.images_folder') . DIRECTORY_SEPARATOR .
$date->year . DIRECTORY_SEPARATOR .
$date->month . DIRECTORY_SEPARATOR .
$date->day . DIRECTORY_SEPARATOR .
$main_image_name)) directly and then it shows the issue as being the $main_image_name part.

When I run the seeder it does create some images in the correct sub folder in storage and also creates the three sizes in the correct sub folders in public/uploads. Sometimes there is one image created and sometimes 2 or 3 but it gets no further than this.

Maybe this is a timeout issue?

Laravel 8

for laravel 8 edit routes and edit ActivateController.php

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.