sasr22

sasr22

Member Since 11 Months Ago

Experience Points 560
Experience
Level
Lessons Completed 3
Lessons
Completed
Best Reply Awards 0
Best Answer
Awards
  • Start Your Engines Achievement

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • First Thousand Achievement

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • One Year Member Achievement

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • Two Year Member Achievement

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • Three Year Member Achievement

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • Four Year Member Achievement

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • Five Year Member Achievement

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • School In Session Achievement

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • Welcome To The Community Achievement

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • Full Time Learner Achievement

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • Pay It Forward Achievement

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • Subscriber Achievement

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • Lifer Achievement

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • Laracasts Evangelist Achievement

    Laracasts Evangelist

    Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.

  • Chatty Cathy Achievement

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • Laracasts Veteran Achievement

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • Ten Thousand Strong Achievement

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • Laracasts Master Achievement

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • Laracasts Tutor Achievement

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • Laracasts Sensei Achievement

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • Top 50 Achievement

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

17 Aug
2 months ago

sasr22 started a new conversation Overriding /storage/ URL

I have a site that serves images that users uploaded, I want to add a view counter but the problem is when someone view the Image from its URL it serves the file from the public dictionary and a view wont be registered. My question is, when someone views a image from (for example) example.com/storage/images/1.jpg to take the request and serve him a page with the image and to register a view.

Basically i want to override the /storage/ URL and serve my own page.

19 Jan
9 months ago

sasr22 left a reply on Can't Open Images.

@ejdelmonico @Snapey Thanks both of you, did what both of you said and it is now working.

18 Jan
9 months ago

sasr22 started a new conversation Can't Open Images.

I made a script to save a image to the file system and save some information into the database. When i try to open it using

<img src="">

it fails to open the image although everything is fine, I read about the public-disk and I think something is wrong, can someone instruct me how to do [public-disk](https://laravel.com/docs/5.5/filesystem#the-public-disk?

29 Nov
11 months ago

sasr22 left a reply on Problem With Installing Laravel

@ejdelmonico Thank you very much, its works now.

sasr22 left a reply on Problem With Installing Laravel

@ejdelmonico I made copied .env manually and ran "php artisan key:generate" does it mean the app is ready?

sasr22 left a reply on Problem With Installing Laravel

@Jaytee @ejdelmonico @jlrdw @burlresearch When I run "composer create-project laravel/laravel test" the full output is like this https://pastebin.com/80dxL0Nr, can ant of you help me?

28 Nov
11 months ago

sasr22 left a reply on Problem With Installing Laravel

@Jaytee @ejdelmonico I will try it. And another question is it possible that the problem is because I run php through chi and not cli? Every time I rum composer it says "Warning: Composer should be invoked via the CLI version of PHP, not the cgi-fcgi SAPI"

sasr22 left a reply on Problem With Installing Laravel

@burlresearch The file is there and is the same just like you provided, but when I run "composer dump-autoload" it gives the same error just like before: "[RuntimeException] Could not scan for classes inside "database/seeds" which does not appear to be a file nor a folder".

sasr22 left a reply on Problem With Installing Laravel

@ejdelmonico I have the latest composer and will make sure that I have laravel, its linux centos 6.

sasr22 left a reply on Problem With Installing Laravel

@nanadjei2 I am using the composer.json from the laravel github. Look at the autoload part:

{ "name": "laravel/laravel", "description": "The Laravel Framework.", "keywords": ["framework", "laravel"], "license": "MIT", "type": "project", "require": { "php": ">=7.0.0", "fideloper/proxy": "~3.3", "laravel/framework": "5.5.*", "laravel/tinker": "~1.0" }, "require-dev": { "filp/whoops": "~2.0", "fzaninotto/faker": "~1.4", "mockery/mockery": "~1.0", "phpunit/phpunit": "~6.0" }, "autoload": { "classmap": [ "database/seeds", "database/factories" ], "psr-4": { "App\": "app/" } }, "autoload-dev": { "psr-4": { "Tests\": "tests/" } }, "extra": { "laravel": { "dont-discover": [ ] } }, "scripts": { "post-root-package-install": [ "@php -r "file_exists('.env') || copy('.env.example', '.env');"" ], "post-create-project-cmd": [ "@php artisan key:generate" ], "post-autoload-dump": [ "Illuminate\Foundation\ComposerScripts::postAutoloadDump", "@php artisan package:discover" ] }, "config": { "preferred-install": "dist", "sort-packages": true, "optimize-autoloader": true } }

sasr22 left a reply on Problem With Installing Laravel

No, I will try it now.

sasr22 left a reply on Problem With Installing Laravel

No, but I tried to create a folder named database and inside a folder named seeds and it didn't work too.

27 Nov
11 months ago

sasr22 started a new conversation Problem With Installing Laravel

Every time I try to install laravel i get the error "[RuntimeException] Could not scan for classes inside "database/seeds" which does not appear to be a file nor a folder". Does anyone know what's the problem?