Skip to main content

error while running Laravel crud app

 1. Fatal error: require(): Failed opening required 'C:\wamp64\www\laravel\Laravel-Vue-First-CRUD-master/vendor/autoload.php' (include_path='.;C:/laragon/etc/php/pear') in C:\wamp64\www\laravel\Laravel-Vue-First-CRUD-master\artisan on line 18

run these two commmands

composer update --no-scripts 
composer update
Use the `composer fund` command to find out more!

With this command, you will re-create the vendor folder in your project and after that your project will start working normally.

2. db migrate error

i was accessing it without creating db. after that i migrated and it worked 


Routing issue: clean installation of Laravel apps

It's nowhere mention either in docs or twitter posts.

Symfony\Component\Routing\Exception\RouteNotFoundException

Route [users.store] not defined. (View: C:\wamp64\www\laravel\crud\resources\views\create.blade.php)

http://localhost/laravel/crud/public/insert

C:\wamp64\www\laravel\crud\vendor\laravel\framework\src\Illuminate\Routing\UrlGenerator.php:431


PS C:\wamp64\www\laravel\account> php artisan serve

Starting Laravel development server: http://127.0.0.1:8000

[Wed Sep 16 13:43:30 2020] PHP 7.4.10 Development Server (http://127.0.0.1:8000) started

[Wed Sep 16 13:43:34 2020] 127.0.0.1:60822 Accepted

[Wed Sep 16 13:43:34 2020] 127.0.0.1:60823 Accepted

[Wed Sep 16 13:43:34 2020] 127.0.0.1:60823 Closing

[Wed Sep 16 13:43:35 2020] 127.0.0.1:60822 [200]: GET /favicon.ico

[Wed Sep 16 13:43:35 2020] 127.0.0.1:60822 Closing

[Wed Sep 16 13:43:38 2020] 127.0.0.1:60827 Accepted

[Wed Sep 16 13:43:38 2020] 127.0.0.1:60828 Accepted

[Wed Sep 16 13:43:38 2020] 127.0.0.1:60827 Closing

[Wed Sep 16 13:43:38 2020] 127.0.0.1:60828 [200]: GET /favicon.ico

[Wed Sep 16 13:43:38 2020] 127.0.0.1:60828 Closing



Comments

Popular posts from this blog

how to solve: nginx Permission denied problem

  *71 connect() to unix:/run/php/php7.4-fpm.sock failed (13: Permission denied) while connecting to upstream, client: <ip here>, server:  <ip here>, request: "GET /iomad/ HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.4-fpm.sock:", host: "<ip here>" just give permission  to  php7.4-fpm.sock i solved it by giving sudo chmod -R 0777     php7.4-fpm.sock Also i tried to open the file but there was again permission denied issue  i visited my website and it was working

Indian HAL Tejas | Touch The Sky With Glory | ShotOnNikonD3500

Indian HAL Tejas | Touch The Sky With Glory | ShotOnNikonD3500

installing Laravel v8.0.1 in Windows 10 Pro x64bit

 Using WAMP for  php - 7.4.10 maraiadb - 10 apache - 2.4 php -i | grep -i ssl  to check registration stream socket transports grep -R "search your word" use this cmd to search in linux directory composer diagnose to see the status of composer check with this link also:  https://github.com/composer/composer/issues/4388 Failed to download tijsverkoyen/css-to-inline-styles from dist: The "https://api.github.com/repos/tijsverkoyen/CssToInlineStyles/zipball/b43b05cf43c1b6d849478965062b6ef73e223bb5" file could not be downloaded: php_network_getaddresses: getaddrinfo failed: No such host is known.     failed to open stream: php_network_getaddresses: getaddrinfo  failed: No such host is known.  Now trying to download from source https://github.com/tijsverkoyen/CssToInlineStyles   install the  composer require tijsverkoyen/css-to-inline-styles ======================================================================= These are final steps: ...