sasr22

Experience

510

0 Best Reply Awards

  • Member Since 6 Months Ago
  • 3 Lessons Completed
  • 0 Favorites

19th January, 2018

sasr22 left a reply on Can't Open Images. • 5 months ago

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

18th January, 2018

sasr22 started a new conversation Can't Open Images. • 5 months ago

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?

29th November, 2017

sasr22 left a reply on Problem With Installing Laravel • 6 months ago

@ejdelmonico Thank you very much, its works now.

sasr22 left a reply on Problem With Installing Laravel • 6 months ago

@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 • 6 months ago

@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?

28th November, 2017

sasr22 left a reply on Problem With Installing Laravel • 6 months ago

@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 • 6 months ago

@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 • 6 months ago

@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 • 6 months ago

@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 • 6 months ago

@satish9323 it didnt work

sasr22 left a reply on Problem With Installing Laravel • 6 months ago

No, I will try it now.

sasr22 left a reply on Problem With Installing Laravel • 6 months ago

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

27th November, 2017

sasr22 started a new conversation Problem With Installing Laravel • 6 months ago

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?

Edit Your Profile
Update

Want to change your profile photo? We pull from gravatar.com.